1 2008-08-15 Alan Modra <amodra@bigpond.net.au>
4 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
5 * Makefile.in: Regenerate.
6 * aclocal.m4: Regenerate.
7 * config.in: Regenerate.
8 * configure: Regenerate.
9 * doc/Makefile.in: Regenerate.
11 2008-08-09 Alan Modra <amodra@bigpond.net.au>
14 * rename.c (smart_rename): Punctuate error messages.
16 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
17 Daniel Jacobowitz <dan@codesourcery.com>
18 Catherine Moore <clm@codesourcery.com>
19 Mark Shinwell <shinwell@codesourcery.com>
21 * readelf.c (get_mips_symbol_other): Handle STO_MIPS_PLT and
23 (slurp_rela_relocs, slurp_rel_relocs): Handle MIPS ELF64 here.
24 (dump_relocations, debug_apply_relocations): Don't handle it here.
25 (get_mips_dynamic_type): Handle DT_MIPS_PLTGOT and DT_MIPS_RWPLT.
26 (print_mips_pltgot_entry): New function.
27 (process_mips_specific): Dump the PLT GOT.
29 2008-08-08 Alan Modra <amodra@bigpond.net.au>
31 * readelf.c (is_64bit_abs_reloc): Return true for R_MIPS_64.
33 2008-08-06 Alan Modra <amodra@bigpond.net.au>
36 * objcopy.c (copy_object): Don't setup_bfd_headers when extract_symbol.
37 (setup_section): Don't zero vma and lma when extract_symbol.
38 (copy_section): Discard relocations when extract_symbol.
39 * doc/binutils.texi: Update --extract-symbol description.
41 2008-08-04 Alan Modra <amodra@bigpond.net.au>
43 * Makefile.am (POTFILES.in): Set LC_ALL=C.
44 * Makefile.in: Regenerate.
46 2008-08-04 Markus Weiss <weissms@aros.org>
48 * readelf.c (get_osabi_name <ELFOSABI_AROS>): Change name.
50 2008-08-01 H.J. Lu <hongjiu.lu@intel.com>
52 * dwarf.c (dwarf_regnames_i386): Remove AVX registers.
53 (dwarf_regnames_x86_64): Likewise.
55 2008-07-30 Alan Modra <amodra@bigpond.net.au>
57 * dlltool.c, dwarf.c, objdump.c, readelf.c, resrc.c, resres.c,
58 windmc.c: Silence gcc warnings.
60 2008-07-28 Alan Modra <amodra@bigpond.net.au>
62 * readelf.c (print_vma): Typo fix.
64 2008-07-28 Alan Modra <amodra@bigpond.net.au>
67 * readelf.c (print_dec_vma, print_hex_vma): Delete.
68 (print_vma): Use BFD_VMA_FMT.
69 * size.c (size_number, rprint_number): Likewise.
71 2008-07-26 Michael Eager <eager@eagercon.com>
73 * readelf.c (display_power_gnu_attribute): Display
74 single-precision hard float.
76 2008-07-21 Luis Machado <luisgpm@br.ibm.com>
78 * readelf.c (get_note_type): Handle VSX notes.
80 2008-07-15 H.J. Lu <hongjiu.lu@intel.com>
82 * objdump.c (load_debug_section): Initialize section_is_compressed
84 * readelf.c (load_debug_section): Likewise.
86 2008-07-12 Jie Zhang <jie.zhang@analog.com>
89 2008-07-12 Jie Zhang <jie.zhang@analog.com>
90 * readelf.c (get_machine_flags): Deal with Blackfin specific
93 2008-07-12 Jie Zhang <jie.zhang@analog.com>
95 * readelf.c (get_machine_flags): Deal with Blackfin specific
98 2008-07-09 Craig Silverstein <csilvers@google.com>
100 * config.in: Add HAVE_ZLIB_H
101 * configure.in: Add test for libz and zlib.h
102 * configure: Regenerate.
103 * dwarf.c (debug_displays): Add .zdebug_* strings.
104 * dwarf.h (struct dwarf_section): Add fields uncompressed_namd
106 * objdump.c (load_debug_section): Call
107 bfd_uncompress_section_contents when loading a compressed
109 (dump_dwarf_section): Recognize compressed section name.
110 (mach_o_dwarf_sections): Rename as
111 mach_o_uncompressed_dwarf_sections.
112 (mach_o_compressed_dwarf_sections): New variable.
113 (generic_dwarf_section): Rename as
114 generic_uncompressed_dwarf_sections.
115 (generic_compressed_dwarf_sections): New variable.
116 (check_mach_o_dwarf): Save and restore
117 mach_o_compressed_dwarf_sections.
118 * readelf.c: Add #include for config.h and zlib.h
119 (process_section_headers): Recognize compressed section name.
120 (uncompress_section_contents): New function.
121 (load_debug_section): Call uncompress_section_contents when
122 loading a compressed section.
123 (display_debug_section): Recognize compressed section name.
125 2008-07-07 Alan Modra <amodra@bigpond.net.au>
127 * objdump.c (find_symbol_for_address): Prefer symbols in current
130 2008-07-07 Alan Modra <amodra@bigpond.net.au>
132 * ieee.c (write_ieee_debugging_info): Use bfd_make_section_with_flags.
133 * nlmconv.c (main, powerpc_build_stubs): Likewise.
134 * rescoff.c (write_coff_file): Likewise.
135 * resres.c (write_res_file): Likewise.
136 * windmc.c (windmc_write_bin): Likewise.
138 2008-06-18 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
140 * readelf.c (guess_is_rela): Add EM_CR16_OLD.
141 (dump_relocations): Likewise.
142 (get_machine_name): Likewise.
143 (is_32bit_abs_reloc): Likewise.
145 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
147 * configure: Regenerate.
149 2008-06-12 DJ Delorie <dj@redhat.com>
151 * readelf.c (guess_is_rela): Add EM_M32C_OLD.
152 (dump_relocations): Likewise.
153 (process_section_headers): Likewise.
154 (is_32bit_abs_reloc): Likewise.
155 (is_16bit_abs_reloc): Likewise.
157 2008-06-12 Nick Clifton <nickc@redhat.com>
160 * objdump.c (dump_bfd): If the -g option found no STABS or IEEE
161 debug information to display, try dumping DWARF information
163 * rddbg.c (read_debugging_info): Add a parameter to suppress the
164 display of a warning message when no debug information is found.
165 * budbg.h (read_debugging_info): Update prototype.
166 * objcopy.c (copy_object): Continue to allow read_debugging_info
167 to produce warning messages.
168 * doc/binutils.texi (--debugging): Document new behaviour of the
169 -g/--debugging option.
171 2008-06-10 Ben Elliston <bje@gnu.org>
173 * MAINTAINERS: Remove myself as m68k maintainer.
175 2008-05-14 Alan Modra <amodra@bigpond.net.au>
177 * Makefile.in: Regenerate.
178 * doc/Makefile.in: Regenerate.
180 2008-05-12 Alan Modra <amodra@bigpond.net.au>
182 * embedspu.sh: Test for presence of ._ea by looking at section
183 table rather than looking at relocs. Correct toe_addr substitution.
185 2008-05-08 Alan Modra <amodra@bigpond.net.au>
187 * embedspu.sh: Take note of R_SPU_PPU32/64 relocs without a symbol,
188 and if present, put image in ".data.speelf". Put program handle
189 in ".data.spehandle".
191 2008-05-01 Nick Clifton <nickc@redhat.com>
193 * readelf.c (print_symbol): Add code to display non-printing
196 2008-04-30 John Heidemann <johnh@isi.edu>
198 * doc/binutils.texi (strings): Add "unicode" to the documentation
199 of strings in order to make explicit that it supports this
202 2008-04-30 Alan Modra <amodra@bigpond.net.au>
204 * readelf.c (process_program_headers): Correct section in segment
207 2008-04-28 M Thomas <mthomas@rhrk.uni-kl.de>
208 Nick Clifton <nickc@redhat.com>
211 * objdump.c (slurp_file): Open the file in binary mode.
212 * ar.c: Remove conditional definition of O_BINARY.
214 * rename.c: Likewise.
215 * strings.c: Likewise.
216 * sysdep.h: Add conditional definition of O_BINARY.
218 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
220 * aclocal.m4: Regenerate.
221 * configure: Regenerate.
223 2008-04-16 Jean-Yves Lefort <jylefort@brutele.be>
226 * objcopy.c (stuct symlist): Rename to
227 is_specified_symbol_predicate_data.
228 (strip_specific_list): Rename to strip_specific_htab.
229 (strip_unneeded_list): Rename to strip_unneeded_htab.
230 (keep_specific_list): Rename to keep_specific_htab.
231 (localize_specific_list): Rename to localize_specific_htab.
232 (globalize_specific_list): Rename to globalize_specific_htab.
233 (keepglobal_specific_list): Rename to keepglobal_specific_htab.
234 (weaken_specific_list): Rename to weaken_specific_htab.
235 (eq_string): New function.
236 (create_symbol_htab): New function.
237 (create_symbol_htabs): New function.
238 (add_specific_symbol): Change to use hash tables.
239 (is_specified_symbol_predicate): New function.
240 (is_specified_symbol): Use hash table lookup.
241 (is_strip_section): Update to use new functions and hash tables.
242 (filter_symbols): Likewise.
243 (copy_object): Likewise.
244 (copy_section): Likewise.
245 (strip_main): Likewise.
246 (copy_main): Likewise.
249 2008-04-14 David S. Miller <davem@davemloft.net>
251 * readelf.c (get_gnu_elf_note_type): Recognize NT_GNU_GOLD_VERSION.
253 2008-04-11 Torleif Sandnes <torleif.sandnes@gmail.com>
255 * dwarf.c (display_debug_lines): Rename to
256 display_debug_lines_raw.
257 (display_debug_lines_decoded): New function. Displays the
258 interpreted contents of a .debug_line section.
259 (display_debug_lines): New function: Selects either a raw dump or
260 a decoded dump (or both) as requested by the user.
261 * dwarf.h (do_debug_lines_decoded): New extern.
262 * readelf.c: Add support for -wL or --debug-dump=decodedline
263 option to display the decoded contents of a .debug_line section.
264 * doc/binutils.texi: Document the new option.
265 * NEWS: Mention the new feature.
267 2008-04-08 Alan Modra <amodra@bigpond.net.au>
269 * dwarf.c: Remove trailing whitespace throughout file.
271 2008-04-04 Nick Clifton <nickc@redhat.com>
273 * po/sk.po: Updated Slovak translation.
275 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
277 * dwarf.c (dwarf_regnames_i386): Add AVX registers.
278 (dwarf_regnames_x86_64): Likewise.
280 2008-03-27 Cary Coutant <ccoutant@google.com>
282 Add support for thin archives.
283 * ar.c (make_thin_archive): New global flag.
284 (map_over_members): Deal with full pathnames in thin archives.
285 (usage, main): Add 'T' option for building thin archives.
286 (replace_members): Pass thin archive flag to ar_emul_append.
287 * arsup.c (ar_open): Initialize new flag.
288 * binemul.c (ar_emul_append): Add new parameter for
289 flattening nested archives.
290 (do_ar_emul_default_append): New function.
291 (ar_emul_default_append): Factored out recursive code.
292 * binutils/binemul.h (ar_emul_default_append): Add new parameter.
293 (struct bin_emulation_xfer_struct): New parameter for ar_append.
294 * dlltool.c (gen_lib_file): Initialize thin archive flag.
295 * emul_aix.c (ar_emul_aix_internal): Add new flatten
296 parameter, currently unimplemented.
298 * objcopy.c (copy_archive): Preserve thin archive flag.
299 * doc/binutils.texi: Update ar documentation.
300 * NEWS: Mention the new feature.
302 2008-03-20 H.J. Lu <hongjiu.lu@intel.com>
304 * readelf.c (process_mips_specific): Declare addr_size as int.
306 2008-03-20 Richard Sandiford <rsandifo@nildram.co.uk>
308 * readelf.c (print_mips_got_entry): New function.
309 (process_mips_specific): Print GOT information.
311 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
313 * aclocal.m4: Regenerate.
314 * configure: Likewise.
315 * Makefile.in: Likewise.
316 * doc/Makefile.in: Likewise.
318 2008-03-16 Brian Dessent <brian@dessent.net>
320 * rcparse.y (resid): Allow control text to span multiple lines.
322 2008-03-13 Alan Modra <amodra@bigpond.net.au>
324 * readelf.c: Use %u throughout when printing sh_link or sh_info,
325 %lu when printing sh_addralign.
326 (process_version_sections): Use identical formats when printing
327 all offset and sh_link fields.
329 2008-03-13 Alan Modra <amodra@bigpond.net.au>
331 * Makefile.am: Run "make dep-am".
332 * Makefile.in: Regenerate.
333 * doc/Makefile.in: Regenerate.
334 * configure: Regenerate.
336 2008-03-12 Alan Modra <amodra@bigpond.net.au>
339 * readelf.c (SECTION_HEADER_INDEX, SECTION_HEADER_NUM): Delete.
340 Remove use throughout file.
341 (SECTION_HEADER): Likewise.
342 (dump_relocations): Don't adjust st_shndx for reserved range.
343 (process_file_header): Mask SHN_XINDEX to values seen in external
344 elf structs. Simplify valid section index tests.
345 (get_32bit_elf_symbols, get_64bit_elf_symbols): Mask SHN_XINDEX.
346 Map reserved st_shndx to internal form.
347 (process_section_groups): Test that group symbol st_shndx is in
348 range, not just non-zero. Delete reserved range check.
349 (get_symbol_index_type): Mask "type" to 16 bits when printing PRC,
352 2008-03-09 Paul Brook <paul@codesourcery.com>
354 * readelf.c (arm_attr_tag_VFP_arch): Add "VFPv3-D16".
356 2008-03-03 James E. Wilson <wilson@tuliptree.org>
358 * MAINTAINERS: Update my email address.
360 2008-03-03 Nick Clifton <nickc@redhat.com>
362 * dwarf.c (decode_location_expression): Handle
363 DW_OP_PGI_omp_thread_num.
365 2008-03-01 Alan Modra <amodra@bigpond.net.au>
367 * objdump.c (objdump_print_addr): Initialise "sym".
369 2008-02-27 Justin Pryzby <justinpryzby@users.sourceforge.net>
370 Nick Clifton <nickc@redhat.com>
372 * ar.c (usage): Mention -t command line switch.
373 * doc/binutils.texi (ranlib): Document -t command line switch.
375 2008-02-26 Nick Clifton <nickc@redhat.com>
377 * objdump.c (objdump_print_addr): If displaying file offsets, show
378 the offset even if there are no symbols available.
379 (dump_section): Display nothing if none of the section is going to
380 be dumped. Display the file offset, if requested, of the location
381 from where the dump starts.
382 * doc/binutils.texi (objdump): Mention that dumping via the -s
383 switch is also affected by the -F option.
385 2008-02-26 Nick Clifton <nickc@redhat.com>
387 Re-apply this patch which was accidentally deleted:
388 2006-05-16 Carlos O'Donell <carlos@codesourcery.com>
390 * doc/binutils.texi: Use "Binutils Index" for index name.
392 2008-02-22 Nick Clifton <nickc@redhat.com>
394 * objdump.c (display_file_offsets): New variable.
395 (long_options): Add -F/--file-offsets.
396 (objdump_print_addr_with_sym): If displaying file offsets, print
397 the offset of the given address.
398 (disassemble_bytes): If displaying file offsets, tell the user how
399 many zeroes are skipped and the file offset of the point where
401 (disassemble_section): Only display the name of the section if
402 data is going to be dumped from it.
403 (main): Handle new option. Produce error messages if the start or
404 stop addresses do not make sense.
405 * doc/binutils.texi: Document the new feature.
406 * NEWS: Mention the new feature.
408 2008-02-15 Chu Li <chul@cn.fujitsu.com>
409 Nick Clifton <nickc@redhat.com>
412 * strings.c (integer_arg): Delete function.
413 (string_min): Initialise to 4.
414 (main): Use strtoul to parse integer arguments.
415 Move check for an invalid string length to after all the arguments
417 (usage): Use indentation to indicate that -<n> is a another form
418 of the --bytes= command line option.
420 2008-02-12 Nick Clifton <nickc@redhat.com>
422 * dlltool.c (mcore_elf_cache_filename): Add a const qualifier to
424 (scan_obj_filename): Do not drop the const qualifier when calling
425 mcore_elf_cache_filename.
426 (struct fname_cache): Add const qualifier to filename field.
428 2008-02-08 H.J. Lu <hongjiu.lu@intel.com>
431 * strings.c (main): Set string_min to 4 if it is <= 0.
433 2008-02-07 Alan Modra <amodra@bigpond.net.au>
435 * objdump.c (main): Don't pass unadorned NULL to concat.
437 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
440 * configure: Regenerated.
442 2008-02-03 Adam Nemet <anemet@caviumnetworks.com>
444 * readelf.c (get_machine_flags): Handle Octeon.
446 2008-01-30 Tristan Gingold <gingold@adacore.com>
448 * readelf.c (dump_relocations): Decode OpenVMS-specific sections.
449 (get_ia64_dynamic_type): Decode OpenVMS-specific tags.
450 (get_dynamic_type): Handle IA64-specific tags.
451 (get_ia64_section_type_name): Handle OpenVMS-specific sections.
452 (get_section_type_name): Handle OS-specific sections (and
453 particularly IA64 OpenVMS one).
454 (get_elf_section_flags): Makes flags static. Add entries for IA64 and
457 2008-01-29 Nick Clifton <nickc@redhat.com>
459 * dwarf.c (print_dwarf_vma): New function. Display the value of a
460 dwarf_vma type at a specified precision. Use mingw field type
461 specifier if necessary.
462 (display_debug_loc): Use dwarf_vma type for begin and end values.
463 Use print_dwarf_vma to display their values. Use byte_get_signed
464 in order to correctly detect the -1 escape value.
465 (display_debug_aranges): Likewise.
466 (display_debug_ranges): Likewise.
468 2008-01-29 Alan Modra <amodra@bigpond.net.au>
470 * dwarf.c (display_debug_loc): Correct test for base address
471 entry when 64-bit host dumping 32-bit object.
473 2008-01-29 Alan Modra <amodra@bigpond.net.au>
475 * MAINTAINERS: Remove myself as ix86 maintainer. Add for SPU.
477 2008-01-28 Nick Clifton <nickc@redhat.com>
480 * rclex.c (yylex): Also allow the hypen character.
482 2008-01-28 H.J. Lu <hongjiu.lu@intel.com>
484 * dwarf.c: Include "elf/common.h".
485 (eh_addr_size): Changed to int.
486 (dwarf_regnames_i386): New.
487 (dwarf_regnames_x86_64): Likewise.
488 (dwarf_regnames): Likewise.
489 (dwarf_regnames_count): Likewise.
490 (init_dwarf_regnames): Likewise.
492 (frame_display_row): Properly support different address size.
493 Call regname to get register name.
494 (display_debug_frames): Call regname to get register name.
495 Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register
496 instead of DW_CFA_def_cfa_reg.
498 * dwarf.h (init_dwarf_regnames): New.
500 * objdump.c: Include "elf-bfd.h".
501 (dump_dwarf): Call init_dwarf_regnames on ELF input.
503 * readelf.c (guess_is_rela): Change argument to int.
504 (parse_args): Remove the undocumented upper case options for
506 (process_file_header): Call init_dwarf_regnames.
508 2008-01-25 DJ Delorie <dj@redhat.com>
510 * readelf.c (process_section_headers): Add m16c handler.
511 (is_16bit_abs_reloc): Recognize R_M32C_16.
513 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
515 * prdbg.c: Correct formatter style use.
516 * readelf.c: Likewise.
517 * strings.c: Likewise.
519 2008-01-25 Nick Clifton <nickc@redhat.com>
521 * po/ru.po: Updated Russian translation.
523 2008-01-17 H.J. Lu <hjl.tools@gmail.com>
525 * MAINTAINERS: Update my email address.
527 2008-01-14 Nick Clifton <nickc@redhat.com>
529 * dwarf.c (process_debug_info): Include the CU offset and corrupt
530 version value when reporting unrecognised DWARF version numbers.
531 (load_debug_info): Remember a failed attempt to load and parse the
532 .debug_info section and do not repeat such attempts.
533 (display_debug_lines): Check the return value from load_debug_info
534 and return whilst displaying a warning message if the load failed.
535 (display_debug_loc): Likewise.
536 (display_debug_ranges): Likewise.
537 (DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries
538 when the .debug_info section could not be loaded/parsed.
539 (process_debug_info): Display the length of the compilation unit
540 in hex, so that it corresponds with the offsets that will follow.
541 Tell the user if the length was 32-bit or 64-bit.
542 If a DIE abbreviation could not be found, tell the user the offset
544 (free_debug_memory): Do not attempt to free any entries in the
545 debug_information array if num_debug_info_entries is set to
546 DEBUG_INFO_UNAVAILABLE.
548 2008-01-10 Andreas Schwab <schwab@suse.de>
550 * readelf.c (is_64bit_abs_reloc): Handle R_S390_64.
552 2008-01-09 Jakub Zawadzki <darkjames@darkjames.ath.cx>
555 * bucomm.c (list_supported_architectures): Free architecture list
557 * windres.c (set_endianess): Likewise.
558 * windmc.c (set_endianess): Likewise.
560 2008-01-08 Kai Tietz <kai.tietz@onevision.com>
563 * binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post
564 characters for name tokens.
566 2008-01-04 Greg McGary <greg@mcgary.org>
568 * prdbg.c (print_vma): Print as long long, if host supports it.
570 2008-01-03 Nick Clifton <nickc@redhat.com>
572 * dwarf.c (read_and_display_attr_value): Prefix values that are
573 displayed in hexadecimal with 0x.
574 For the DW_AT_import attribute display the abbreviation number and
575 tag of the imported DIE.
576 (process_debug_info): Warn about lengths that reserved by the
577 DWARF3 specification.
578 Provide more information when corrupted DIEs are detected.
579 Warn if DIE corruption makes the sibling level negative.
581 For older changes see ChangeLog-2007
587 version-control: never