1 2007-06-06 Ben Elliston <bje@au.ibm.com>
3 * doc/binutils.texi (objdump): Fix capitalisation of "PowerPC".
5 007-06-05 Kai Tietz <Kai.Tietz@onevision.com>
7 * Makefile.am: Add LIBICONV to windres.
8 * acinclude.m4: Added missing "lib-*.m4" and "lt*.m4" files.
9 * configure.in: Add AC_CHECK_HEADER for iconv.h and use AM_ICONV.
10 * config.in: Add ICONV defines.
11 * aclocal: Regenerate.
12 * confugure: Regenerate.
13 * winduni.c: (local_iconv_map codepages, wind_language_t
14 languages, unicode_is_valid_codepage, wind_find_language_by_id,
15 wind_find_language_by_codepage, wind_find_codepage_info,
16 unicode_from_codepage, codepage_from_unicode, iconv_onechar,
17 wind_iconv_cp, wind_MultiByteToWideChar wind_WideCharToMultiByte):
19 (ascii_from_unicode): Use codepage_from_unicode.
20 (ascii_from_unicode): Use unicode_from_codepage.
21 Use for cygwin windows API for unicode transformation.
22 * winduni.h: (CP_ACP, CP_UTF7, CP_UTF8, CP_OEM, CP_UTF16): New
24 (wind_language_t, local_iconv_map): New types.
25 (wind_find_language_by_id, wind_find_language_by_codepage,
26 unicode_is_valid_codepage, wind_find_codepage_info,
27 unicode_from_codepage, codepage_from_unicode): New
30 2007-06-05 Alan Modra <amodra@bigpond.net.au>
32 * embedspu.sh: Handle R_SPU_PPU* relocs with no symbol.
34 2007-05-30 Alan Modra <amodra@bigpond.net.au>
36 * objcopy.c (copy_object): Revert 2007-05-11 change. Don't
37 avoid calling bfd_copy_private_bfd_data for ELF STRIP_NONDEBUG.
38 (setup_section): Don't modify flags, and don't avoid calling
39 bfd_copy_private_section_data for ELF STRIP_NONDEBUG.
40 * readelf.c (process_program_headers): Ignore .dynamic of type
43 2007-05-29 Alan Modra <amodra@bigpond.net.au>
45 * embedspu.sh: Emit SPU ELF image to .data.rel.ro.speelf if
46 pic or pie and image needs relocs.
48 2007-05-24 Steve Ellcey <sje@cup.hp.com>
50 * Makefile.in: Regenerate.
51 * configure: Regenerate.
52 * aclocal.m4: Regenerate.
53 * doc/Makefile.in: Regenerate.
55 2007-05-24 Kai Tietz <Kai.Tietz@onevision.com>
57 * rcparse.y: Join strings for elements having no side-effects in
60 2007-05-23 Kai Tietz <Kai.Tietz@onevision.com>
62 * rclex.c: New file replacing rclex.l.
64 * windint.h: New file holding common structure and type
66 * Makefile.am: Added new header windint.h and exchanged rclex.l by
68 * Makefile.in: Regenerate.
69 * rcparse.y: Renamed some structures.
70 Use in internal representation always bfd_vma instead of long or
72 Removed from %union unused stringtable.
73 Added to %union suni structure for unicode strings.
74 Added new tokens for ANICURSOR, ANIICON, DLGINCLUDE,
75 DLGINIT, FONTDIR, HTML, MANIFEST, PLUGPLAY, VXD,
76 TOOLBAR, BUTTON, QUOTEDUNISTRING, and SIZEDUNISTRING.
77 Added support for these new rc file tokens.
78 * resbin.c: Rewrote using bfd and binary structures, and support
80 * rescoff.c: Likewise.
82 * resrc.c: Likewise. Dumps as RC are now recompilable.
83 * windres.c: As above. Using bfd for res and provide target
84 specific endianess support.
85 * windres.h: Use windint.h as include. Additionally removed K&R
87 * winduni.c: New printing and unichar support routines.
88 * winduni.h: Prototypes for new unichar helpers.
89 * windint.h: New file.
91 2007-05-22 Paul Brook <paul@codesourcery.com>
93 * objdump.c (find_symbol_for_address): Merge section and target
94 specific filtering code.
96 2007-05-22 Nick Clifton <nickc@redhat.com>
98 * doc/binutils.texi: Use @copying around the copyright notice.
100 2007-05-21 Richard Sandiford <richard@codesourcery.com>
102 * objdump.c (disassemble_bytes): Ignore disassembler_needs_relocs
103 for executables and shared libraries.
105 2007-05-18 Nathan Sidwell <nathan@codesourcery.com>
107 * objcopy.c (strip_main): Detect identical input and output file
109 (copy_main): Refactor tempname detection and use.
111 2007-05-17 Nick Clifton <nickc@redhat.com>
113 * objdump.c (load_debug_section): Select bias for DWARF debug
114 addresses based on the flavour of the bfd.
116 2007-05-11 Alan Modra <amodra@bigpond.net.au>
119 * objcopy.c (copy_object): Don't copy ELF program headers for
122 2007-05-11 Alan Modra <amodra@bigpond.net.au>
124 * embedspu.sh (find_prog): Prefer prog in same dir as embedspu
125 over one found on the users path.
126 (main): Generate .reloc for each R_SPU_PPU* reloc.
128 2007-04-28 Alan Modra <amodra@bigpond.net.au>
130 * prdbg.c (tg_variable): Adjust for changed demangler.
131 (tg_start_function): Likewise.
133 2007-04-27 Alan Modra <amodra@bigpond.net.au>
135 * bucumm.h: Split off host dependencies to..
137 Many files: Include sysdep.h. Remove duplicate headers and reorder.
138 * Makefile.am: Run "make dep-am".
139 * Makefile.in: Regenerate.
141 2007-04-24 Nick Clifton <nickc@redhat.com>
143 * srconv.c (walk_tree_type_1): Initialise dpt.dunno.
145 2007-04-24 Nathan Froyd <froydnj@codesourcery.com>
146 Phil Edwards <phil@codesourcery.com>
148 * objcopy.c (filter_symbols): Explicitly stripping a symbol
149 used in relocations is an error.
150 Retype 'keep' to bfd_boolean.
152 2007-04-24 Alan Modra <amodra@bigpond.net.au>
154 * Makefile.in: Regenerate.
155 * doc/Makefile.in: Regenerate.
157 2007-04-20 Nathan Froyd <froydnj@codesourcery.com>
158 Phil Edwards <phil@codesourcery.com>
159 Thomas de Lellis <tdel@windriver.com>
161 * objcopy.c (reverse_bytes): New variable.
162 (command_line_switch, copy_main): Add OPTION_REVERSE_ENDIAN.
163 (copy_options, copy_usage): Add "reverse-bytes" entry.
164 (copy_section): Reverse bytes within output sections.
165 * doc/binutils.texi: Document new objcopy option.
167 2007-04-20 Nick Clifton <nickc@redhat.com>
169 * rclex.l: Allow underscores at the start of identifiers.
171 2007-04-19 Alan Modra <amodra@bigpond.net.au>
173 * budemang.c: Delete.
174 * budemang.h: Delete.
175 * addr2line.c (translate_addresses): Call bfd_demangle rather than
177 * nm.c (print_symname): Likewise.
178 * objdump.c (objdump_print_symname, dump_symbols): Likewise.
179 (dump_bfd): Likewise.
180 * prdbg.c (struct pr_handle <demangler>): Add int param.
181 (tg_variable, tg_start_function): Adjust demangler calls.
182 * Makefile.am: Remove mention of budemang.[ch]. Run "make dep-am".
183 * Makefile.in: Regenerate.
184 * po/POTFILES.in: Regenerate.
186 2007-04-14 Steve Ellcey <sje@cup.hp.com>
188 * Makefile.am: Add ACLOCAL_AMFLAGS.
189 * configure.in: Change macro call order.
190 * Makefile.in: Regenerate.
191 * configure: Regenerate.
193 2007-04-13 Nathan Sidwell <nathan@codesourcery.com>
195 * Makefile.am (TOOL_PROGS): Add objcopy.
196 * Makefile.in: Rebuilt.
198 2007-04-12 H.J. Lu <hongjiu.lu@intel.com>
201 * objcopy.c (copy_object): Don't stop when there are no
202 sections to be copied.
204 2007-04-10 Vladimir Prus <vladimir@codesourcery.com>
206 * NEWS: Mention disjoint histograms support in
209 2007-04-09 Daniel Jacobowitz <dan@codesourcery.com>
211 * dwarf.c (process_debug_info): Do not require DW_AT_frame_base for
212 DW_TAG_inlined_subroutine.
214 2007-04-06 Matt Thomas <matt@netbsd.org>
216 * MAINTAINERS: Add myself as VAX and NetBSD support maintainer.
218 2007-04-05 Alan Modra <amodra@bigpond.net.au>
221 * nm.c (print_value): Cast bfd_vma to unsigned long to suit
224 2007-04-02 Nick Clifton <nickc@redhat.com>
227 * nm.c (value_format): Replace with value_format_32bit and
229 (set_radix): Update setting of value_format.
230 (set_print_width): New function. Compute the address size of a
231 given bfd and set the print_width global appropriately.
232 (display_archive): Use set_print_width.
233 (display_file): Likewise,
234 (print_object_filename_sysv): Update use of print_width.
235 (print_archive_member_sysv): Likewise.
236 (print_symbol_filename_posix): Likewise.
237 (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.
239 2007-03-28 Richard Sandiford <richard@codesourcery.com>
240 Phil Edwards <phil@codesourcery.com>
242 * doc/binutils.texi: Put the contents after the title page rather
243 than at the end of the document.
245 2007-03-28 Nick Clifton <nickc@redhat.com>
247 * readelf.c (slurp_rela_relocs): Add newline to end of error
249 (slurp_rel_relocs, request_dump, request_dump_byname,
250 process_program_headers, process_dynamic_section,
251 process_symbol_table, process_mips_specific, main): Likewise.
253 2007-03-28 Alan Modra <amodra@bigpond.net.au>
255 * MAINTAINERS: Update mailing list addresses. Add myself
258 2007-03-27 Alan Modra <amodra@bigpond.net.au>
260 * embedspu.sh: Correct toe_addr quoting.
262 2007-03-27 Alan Modra <amodra@bigpond.net.au>
264 * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns. Tighten
265 .toe section and .toe address checks. Use .reloc for _EAR*
266 symbols defined in non-BSS sections. Build table for _SPUEAR_
269 2007-03-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
272 * readelf.c (debug_apply_rela_addends): Do nothing for SH.
274 2007-03-22 Joseph Myers <joseph@codesourcery.com>
276 * doc/binutils.texi: Include VERSION_PACKAGE when reporting
279 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
281 * dlltool.c (make_one_lib_file): Use pc-relative relocation
282 instead of an absolute relocation for x86_64-pc-mingw32 target.
284 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
286 * Makefile.am (REPORT_BUGS_TO): Removed.
287 (INCLUDES): Remove -DREPORT_BUGS_TO.
288 * Makefile.in: Regenerated.
290 * bucomm.c: Don't include bfdver.h.
291 * objdump.c: Likewise.
292 * version.c: Likewise.
294 * bucomm.h: Include bfdver.h.
296 * configure.in (--with-bugurl): Removed.
297 * configure: Regenerated.
299 * doc/Makefile.am (binutils_TEXINFOS): Removed.
300 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
301 (TEXI2DVI): Likewise.
302 (config.texi): Removed.
303 (MOSTLYCLEANFILES): Remove config.texi.
304 * doc/Makefile.in: Regenerated.
306 * doc/binutils.texi: Include bfdver.texi instead of
309 2007-03-13 Nick Clifton <nickc@redhat.com>
311 * readelf.c (dump_section): Also test for SHT_REL sections when
312 producing the warning about unapplied relocs.
314 2007-03-07 Joseph Myers <joseph@codesourcery.com>
316 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
318 * doc/Makefile.am (config.texi): Define BUGURL.
319 * doc/binutils.texi: Use BUGURL. Remove text about large files
321 * Makefile.in, configure, doc/Makefile.in: Regenerate.
323 2007-03-01 Phil Edwards <phil@codesourcery.com>
324 Richard Sandiford <richard@codesourcery.com>
326 * NEWS: Mention addition of --extract-symbol.
327 * doc/binutils.texi: Document it.
328 * objcopy.c (extract_symbol): New variable.
329 (OPTION_EXTRACT_SYMBOLS): New command_line_switch.
330 (copy_options): Add an entry for --extract-symbol.
331 (copy_usage): Mention --extract-symbol.
332 (copy_object): Set the start address to zero for --extract-symbol.
333 Do not copy private BFD data in that case.
334 (setup_section): Set the size, LMA and VMA to zero for
335 --extract-symbol. Do not copy private BFD data in that case.
336 (copy_section): Do not copy section contents if --extract-symbol
338 (copy_main): Set extract_symbol to TRUE if --extract-symbol
341 2007-03-01 Paul Brook <paul@codesourcery.com>
343 * MAINTAINERS: Update my entry.
345 2007-03-01 Joseph Myers <joseph@codesourcery.com>
347 * version.c: Update copyright date.
349 2007-03-01 Daniel Jacobowitz <dan@codesourcery.com>
351 * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
352 Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
353 * Makefile.in, doc/Makefile.in: Regenerate.
355 2007-03-01 Alan Modra <amodra@bigpond.net.au>
357 * embedspu.sh: Set type and size of global program handle symbol.
359 2007-02-28 Alan Modra <amodra@bigpond.net.au>
361 * Makefile.am (PROGS): Delete.
362 (RENAMED_PROGS): Define. Extracted from..
363 (noinst_PROGRAMS): ..here. Add BUILD_MISC.
364 (install-exec-local): Adjust.
365 * Makefile.in: Regenerate.
367 2007-02-28 Alan Modra <amodra@bigpond.net.au>
369 * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
370 (bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC.
371 (EXTRA_PROGRAMS): Remove bin2c.
372 (bin2c$(EXEEXT_FOR_BUILD)): New rule.
373 (bin2c_SOURCES): Delete.
374 (DISTCLEANFILES): Remove sysinfo.
375 (MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and
376 bin2c$(EXEEXT_FOR_BUILD).
377 * configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c.
379 (BUILD_INSTALL_MISC): ..here.
380 * Makefile.in: Regenerate.
381 * configure: Regenerate.
383 2007-02-27 Alan Modra <amodra@bigpond.net.au>
386 * Makefile.am (EXTRA_PROGRAMS): Add bin2c.
387 (CFILES): Add bin2c.c.
388 (bin2c_SOURCES): Define.
389 (bin2c.o): Dependencies from "make dep-am".
390 * configure.in (BUILD_MISC): Add bin2c.
391 * version.c: Update year.
392 * po/POTFILES.in: Regenerate.
393 * Makefile.in: Regenerate.
394 * configure: Regenerate.
396 2007-02-17 Mark Mitchell <mark@codesourcery.com>
397 Nathan Sidwell <nathan@codesourcery.com>
398 Vladimir Prus <vladimir@codesourcery.com
399 Joseph Myers <joseph@codesourcery.com>
401 * configure.in (--with-bugurl): New option.
402 * configure: Regenerate.
403 * Makefile.am (REPORT_BUGS_TO): Define.
404 (INCLUDES): Define REPORT_BUGS_TO.
405 Regenerate dependencies.
406 * Makefile.in: Regenerate.
407 * doc/Makefile.in: Regenerate.
408 * bucomm.h: Remove include of bin-bugs.h.
409 * addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
410 * ar.c (usage): Pass s to list_supported_targets. Don't print
411 empty REPORT_BUGS_TO.
412 * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
413 * cxxfilt.c (usage): Print bug url when giving help.
414 * dlltool.c (usage): Likewise.
415 * dllwrap.c (usage): Likewise.
416 * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
417 * nm.c (usage): Likewise.
418 * objcopy.c (copy_usage, strip_usage): Likewise.
419 * objdump.c (usage): Likewise.
420 * readelf.c ((usage): Likewise. Add STREAM argument. Adjust
422 * size.c (usage): Don't print empty REPORT_BUGS_TO.
423 * srconv.c (show_usage): Likewise.
424 * strings.c (usage): Likewise.
425 * sysdymp.c (show_usage): Likewise.
426 * windres.c (usage): Likewise.
428 2007-02-13 Alan Modra <amodra@bigpond.net.au>
430 * embedspu.sh: Add -W to readelf invocation.
432 2007-02-06 Dave Brolley <brolley@redhat.com>
434 * MAINTAINERS: Add myself as the maintainer of the MeP port.
436 2007-02-06 Nick Clifton <nickc@redhat.com>
439 * readelf.c: Include elf/h8.h twice. The first time in order to
440 get the reloc numbers, the second time in order to get the reloc
442 (dump_section): Tell the user if the section being displayed has
443 unprocessed relocs associated with it.
444 (get_reloc_size): New function - returns the size of a reloc.
445 (debug_apply_rela_addends): Use get_reloc_size().
446 * dwarf.c (read_and_display_attr_value): Extend number of
447 languages known for the DW_AT_language attribute.
448 (process_debug_info): Display the attribute offset before decoding
449 the attribute, in case there are problems.
451 2007-02-05 Dave Brolley <brolley@redhat.com>
453 * readelf.c (dump_relocations): Don't check for
454 (rtype == NULL && type == R_RELC).
456 2007-02-05 Dave Brolley <brolley@redhat.com>
458 * Makefile.am (readelf.o): Depends on $(INCDIR)/elf/mep.h.
459 * Makefile.in: Regenerated.
460 * Contribute the following changes:
461 2003-10-29 Dave Brolley <brolley@redhat.com>
463 * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
464 * configure: Regenerated.
466 2001-04-03 Ben Elliston <bje@redhat.com>
468 * readelf.c: Include "elf/mep.h".
469 (guess_is_rela): Handle EM_CYGNUS_MEP.
470 (get_machine_name): Ditto.
471 (dump_relocations): Ditto.
473 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
475 * MAINTAINERS: Add a space between H.J. and Lu.
477 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
479 * doc/binutils.texi (objdump): Document the new addr64 option
480 for i386 disassembler.
482 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
485 * configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
487 (DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
488 * configure: Regenerated.
490 * dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.
492 2007-02-02 Nick Clifton <nickc@redhat.com>
494 * doc/binutils.texi (objdump): Document support for disassembling
495 the 440 PowerPC architecture.
497 2007-01-31 Nathan Sidwell <nathan@codesourcery.com>
499 * dwarf.c (process_debug_info): Protect against bogus length and
502 2007-01-25 Kazu Hirata <kazu@codesourcery.com>
504 * ar.c (print_contents, extract_file): Cast the return value
507 2007-01-12 Alan Modra <amodra@bigpond.net.au>
509 * ar.c (open_inarch): Check fwrite return. Use size_t.
510 (extract_file): Likewise. Remove test for "negative" file size.
511 * readelf.c (process_program_headers): Check fscanf return.
513 2007-01-11 H.J. Lu <hongjiu.lu@intel.com>
515 * bucomm.c (template_in_dir): Fix typo.
517 2007-01-11 Alan Modra <amodra@bigpond.net.au>
519 * embedspu.sh: New file.
520 * Makefile.am (embedspu): Add rule.
521 * configure.in (BUILD_MISC): Add embedspu for powerpc-linux.
522 * Makefile.in: Regenerate.
523 * configure: Regenerate.
525 2007-01-11 Alan Modra <amodra@bigpond.net.au>
527 * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
528 * bucomm.c (template_in_dir): New function, split out from..
529 (make_tempname): ..here. Open the file with O_EXCL if !HAVE_MKSTEMP.
530 (make_tempdir): Use template_in_dir. Handle directory creation
532 * objcopy.c (MKDIR): Don't define.
533 (copy_archive): Use make_tempdir when !HAVE_MKDTEMP too. Fix
536 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
538 * readelf.c (get_machine_flags): Treat Fido as an architecture
541 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
543 * configure.in: Renamed target x86_64-*-mingw64 to
545 * configure: Regenerated.
547 2007-01-05 Alan Modra <amodra@bigpond.net.au>
549 * readelf.c (dump_section): Don't print 32-bit values, which
550 were done incorrectly for little-endian. Instead print bytes.
552 For older changes see ChangeLog-2006
558 version-control: never