1 2008-11-25 Nick Clifton <nickc@redhat.com>
4 * dlltool.c (run): Use formatting string to avoid compile time
6 (gen_exp_file): Check return value from fread.
7 * windmc.c (main): Check return value from fread.
9 2008-11-21 Sterling Augustine <sterling@tensilica.com>
11 * MAINTAINERS: Take over from Bob Wilson as Xtensa maintainer.
13 2008-11-19 Nick Clifton <nickc@redhat.com>
15 * doc/fdl.texi: Update to v1.3
16 * doc/binutils.texinfo: Change license to v1.3.
18 2008-11-18 Catherine Moore <clm@codesourcery.com>
20 * readelf.c (arm_attr_tag_ABI_FP_16bit_format): New.
21 (arm_attr_tag_VFP_HP_extension): New.
22 (arm_attr_public_tag arm_attr_public_tags): Support
25 2008-11-17 Nick Clifton <nickc@redhat.com>
27 * version.c (print_version): Update copyright year.
29 2008-11-16 Danny Smith <dannysmith@usesr.sourceforge.net>
31 * dlltool.c (identify_search_section): Cast argument, not return
32 value, of xstrdup to 'char*'.
34 2008-11-15 Charles Wilson <cygwin@cwilson.fastmail.fm>
36 Added --identify option to dlltool.
37 * binutils/dlltool.c: Add new global variables
38 identify_imp_name and identify_dll_name.
39 (identify_dll_for_implib, identify_search_archive,
40 identify_search_member, identify_process_section_p,
41 identify_search_section): New functions.
42 (usage): Added --identify.
43 (long_options): Added --identify.
44 (main): Handle --identify option.
45 * binutils/doc/binutils.texi: Document --identify.
47 2008-11-14 Tristan Gingold <gingold@adacore.com>
49 Remove outdated mach-o specific tests.
50 * objdump.c (load_debug_section): Remove mach-o specific test.
51 (mach_o_uncompressed_dwarf_sections): Removed.
52 (mach_o_compressed_dwarf_sections): Removed.
53 (generic_uncompressed_dwarf_sections): Removed.
54 (generic_compressed_dwarf_sections): Removed.
55 (check_mach_o_dwarf): Removed.
56 (dump_dwarf): Remove call to check_mach_o_dwarf.
58 2008-11-14 Tristan Gingold <gingold@adacore.com>
60 * configure.com: Get version from configure.in of bfd.
61 * makefile.vms-in (DEBUG_OBJS): Add dwarf.obj.
62 (CFLAGS): Update flags.
64 2008-11-13 Hans-Peter Nilsson <hp@axis.com>
65 Alan Modra <amodra@bigpond.net.au>
67 * nm.c (filter_symbols): Only call memcpy when from != to.
69 2008-11-10 Tristan Gingold <gingold@adacore.com>
70 Alan Modra <amodra@bigpond.net.au>
72 * objdump.c (disassemble_bytes): Don't skip leading zeros when
73 end of section calculation overflows.
75 2008-11-07 Prafulla Thakare <prafulla.thakare@kpitcummins.com>
77 * MAINTAINERS: Take over from Anil Paranjpe as H8300 maintainer.
79 2008-10-31 Alan Modra <amodra@bigpond.net.au>
82 * configure.in (ALL_LINGUAS): Add id.
83 * configure: Regenerate.
85 2008-10-21 Alan Modra <amodra@bigpond.net.au>
87 * windmc.c (res_alloc): Remove unnecessary cast.
88 * windres.c (res_alloc, reswr_alloc): Likewise.
90 2008-10-20 Nick Clifton <nickc@redhat.com>
92 * readelf.c: Tidy up code formatting.
94 2008-10-10 Nathan Froyd <froydnj@codesourcery.com>
96 * readelf.c (display_power_gnu_attribute): Decode
97 Tag_GNU_Power_ABI_Struct_Return.
99 2008-10-10 Alan Modra <amodra@bigpond.net.au>
101 * embedspu.sh: Pass -Wa,-noexecstack to $CC.
103 2008-10-09 Kai Tietz <kai.tietz@onevision.com>
105 * dlltool.c (PAGE_SIZE): Make sure it has bfd_vma type.
106 (PAGE_MASK): Likewise.
107 (sfunc): Change to address size of bfd_vma for base-file.
108 (flush_page): Likewise.
109 (gen_exp_file): Likewise.
111 2008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
113 * readelf.c (process_section_headers): Do not cut the section names and
114 types if running with --wide.
116 2008-10-06 Tom Tromey <tromey@redhat.com>
118 * dwarf.c (display_debug_frames): Change text for uniformity.
119 (process_debug_info): Likewise.
120 (display_debug_aranges): Likewise. Indent address output.
121 (display_debug_pubnames): Print offset in hex.
123 2008-10-02 Andrew Paprocki <andrew@ishiboo.com>
126 * stabs.c (parse_stab_string): Parse and ignore =Y<name> strings
127 generated by the SUNPro C++ compiler.
129 2008-09-30 Andrew Paprocki <andrew@ishiboo.com>
132 * stabs.c (parse_stab_sun_builtin_type): Parse, but ignore SUN's
133 'b' and 'v' extensions.
135 2008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
136 Steve Ellcey <sje@cup.hp.com>
138 * configure: Regenerate for new libtool.
140 * Makefile.in: Ditto.
141 * doc/Makefile.in: Ditto.
143 2008-09-28 Alan Modra <amodra@bigpond.net.au>
145 * objcopy.c (setup_section): Set elf_group_id.
147 2008-09-24 Richard Henderson <rth@redhat.com>
149 * dwarf.c (size_of_encoded_value, get_encoded_value): Move up.
150 (decode_location_expression): Add section parameter. Handle
151 DW_OP_GNU_encoded_addr.
152 (read_and_display_attr_value): Update decode_location_expression call.
153 (display_debug_loc, display_debug_frames): Likewise.
155 2008-09-25 Alan Modra <amodra@bigpond.net.au>
158 * dwarf.c (print_dwarf_vma): Don't call printf without format string.
160 2008-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
162 Suppress warnings on NONE relocations to discarded sections.
163 * readelf.c (is_none_reloc): New function.
164 (debug_apply_relocations): Ignore is_none_reloc() relocations.
166 2008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
168 Fix loading large elf64 binaries on 32bit hosts.
169 * configure.in: Call AC_SYS_LARGEFILE.
170 * config.in: Regenerate.
171 * configure: Regenerate.
173 2008-09-11 Alan Modra <amodra@bigpond.net.au>
177 2008-09-08 Tristan Gingold <gingold@adacore.com>
179 * BRANCHES: Add 2.18 and 2.19 release branches.
181 2008-09-08 Tristan Gingold <gingold@adacore.com>
183 * NEWS: Add a marker for the 2.19 features.
185 2008-09-05 Daniel Jacobowitz <dan@codesourcery.com>
187 * readelf.c (load_specific_debug_section): New function, from
189 (load_debug_section): Use load_specific_debug_section.
190 (display_debug_section): Use load_specific_debug_section. Check for
191 multiple sections with the same name.
193 2008-08-28 Tristan Gingold <gingold@adacore.com>
195 * objdump.c (dump_stabs): Add sections for Darwin.
197 2008-08-25 Alan Modra <amodra@bigpond.net.au>
199 * sysdep.h: Include "binary-io.h".
200 (O_BINARY): Don't define here.
201 * bin2c.c (O_BINARY, O_TEXT, SET_BINARY): Don't define here.
202 * strings.c: Likewise.
203 (main): Remove #ifdef SET_BINARY.
204 * Makefile.am: Run "make dep-am"
205 * Makefile.in: Regenerate.
207 2008-08-24 Alan Modra <amodra@bigpond.net.au>
209 * configure.in: Update a number of obsolete autoconf macros.
210 * configure: Regenerate.
211 * aclocal.m4: Regenerate.
213 2008-08-21 Richard Henderson <rth@redhat.com>
215 * readelf.c (is_32bit_pcrel_reloc): Fix hppa entry.
216 (is_64bit_pcrel_reloc): New.
217 (debug_apply_relocations): Use it. Handle hppa pcrel bias.
219 2008-08-15 Alan Modra <amodra@bigpond.net.au>
222 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
223 * Makefile.in: Regenerate.
224 * aclocal.m4: Regenerate.
225 * config.in: Regenerate.
226 * configure: Regenerate.
227 * doc/Makefile.in: Regenerate.
229 2008-08-09 Alan Modra <amodra@bigpond.net.au>
232 * rename.c (smart_rename): Punctuate error messages.
234 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
235 Daniel Jacobowitz <dan@codesourcery.com>
236 Catherine Moore <clm@codesourcery.com>
237 Mark Shinwell <shinwell@codesourcery.com>
239 * readelf.c (get_mips_symbol_other): Handle STO_MIPS_PLT and
241 (slurp_rela_relocs, slurp_rel_relocs): Handle MIPS ELF64 here.
242 (dump_relocations, debug_apply_relocations): Don't handle it here.
243 (get_mips_dynamic_type): Handle DT_MIPS_PLTGOT and DT_MIPS_RWPLT.
244 (print_mips_pltgot_entry): New function.
245 (process_mips_specific): Dump the PLT GOT.
247 2008-08-08 Alan Modra <amodra@bigpond.net.au>
249 * readelf.c (is_64bit_abs_reloc): Return true for R_MIPS_64.
251 2008-08-06 Alan Modra <amodra@bigpond.net.au>
254 * objcopy.c (copy_object): Don't setup_bfd_headers when extract_symbol.
255 (setup_section): Don't zero vma and lma when extract_symbol.
256 (copy_section): Discard relocations when extract_symbol.
257 * doc/binutils.texi: Update --extract-symbol description.
259 2008-08-04 Alan Modra <amodra@bigpond.net.au>
261 * Makefile.am (POTFILES.in): Set LC_ALL=C.
262 * Makefile.in: Regenerate.
264 2008-08-04 Markus Weiss <weissms@aros.org>
266 * readelf.c (get_osabi_name <ELFOSABI_AROS>): Change name.
268 2008-08-01 H.J. Lu <hongjiu.lu@intel.com>
270 * dwarf.c (dwarf_regnames_i386): Remove AVX registers.
271 (dwarf_regnames_x86_64): Likewise.
273 2008-07-30 Alan Modra <amodra@bigpond.net.au>
275 * dlltool.c, dwarf.c, objdump.c, readelf.c, resrc.c, resres.c,
276 windmc.c: Silence gcc warnings.
278 2008-07-28 Alan Modra <amodra@bigpond.net.au>
280 * readelf.c (print_vma): Typo fix.
282 2008-07-28 Alan Modra <amodra@bigpond.net.au>
285 * readelf.c (print_dec_vma, print_hex_vma): Delete.
286 (print_vma): Use BFD_VMA_FMT.
287 * size.c (size_number, rprint_number): Likewise.
289 2008-07-26 Michael Eager <eager@eagercon.com>
291 * readelf.c (display_power_gnu_attribute): Display
292 single-precision hard float.
294 2008-07-21 Luis Machado <luisgpm@br.ibm.com>
296 * readelf.c (get_note_type): Handle VSX notes.
298 2008-07-15 H.J. Lu <hongjiu.lu@intel.com>
300 * objdump.c (load_debug_section): Initialize section_is_compressed
302 * readelf.c (load_debug_section): Likewise.
304 2008-07-12 Jie Zhang <jie.zhang@analog.com>
307 2008-07-12 Jie Zhang <jie.zhang@analog.com>
308 * readelf.c (get_machine_flags): Deal with Blackfin specific
311 2008-07-12 Jie Zhang <jie.zhang@analog.com>
313 * readelf.c (get_machine_flags): Deal with Blackfin specific
316 2008-07-09 Craig Silverstein <csilvers@google.com>
318 * config.in: Add HAVE_ZLIB_H
319 * configure.in: Add test for libz and zlib.h
320 * configure: Regenerate.
321 * dwarf.c (debug_displays): Add .zdebug_* strings.
322 * dwarf.h (struct dwarf_section): Add fields uncompressed_namd
324 * objdump.c (load_debug_section): Call
325 bfd_uncompress_section_contents when loading a compressed
327 (dump_dwarf_section): Recognize compressed section name.
328 (mach_o_dwarf_sections): Rename as
329 mach_o_uncompressed_dwarf_sections.
330 (mach_o_compressed_dwarf_sections): New variable.
331 (generic_dwarf_section): Rename as
332 generic_uncompressed_dwarf_sections.
333 (generic_compressed_dwarf_sections): New variable.
334 (check_mach_o_dwarf): Save and restore
335 mach_o_compressed_dwarf_sections.
336 * readelf.c: Add #include for config.h and zlib.h
337 (process_section_headers): Recognize compressed section name.
338 (uncompress_section_contents): New function.
339 (load_debug_section): Call uncompress_section_contents when
340 loading a compressed section.
341 (display_debug_section): Recognize compressed section name.
343 2008-07-07 Alan Modra <amodra@bigpond.net.au>
345 * objdump.c (find_symbol_for_address): Prefer symbols in current
348 2008-07-07 Alan Modra <amodra@bigpond.net.au>
350 * ieee.c (write_ieee_debugging_info): Use bfd_make_section_with_flags.
351 * nlmconv.c (main, powerpc_build_stubs): Likewise.
352 * rescoff.c (write_coff_file): Likewise.
353 * resres.c (write_res_file): Likewise.
354 * windmc.c (windmc_write_bin): Likewise.
356 2008-06-18 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
358 * readelf.c (guess_is_rela): Add EM_CR16_OLD.
359 (dump_relocations): Likewise.
360 (get_machine_name): Likewise.
361 (is_32bit_abs_reloc): Likewise.
363 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
365 * configure: Regenerate.
367 2008-06-12 DJ Delorie <dj@redhat.com>
369 * readelf.c (guess_is_rela): Add EM_M32C_OLD.
370 (dump_relocations): Likewise.
371 (process_section_headers): Likewise.
372 (is_32bit_abs_reloc): Likewise.
373 (is_16bit_abs_reloc): Likewise.
375 2008-06-12 Nick Clifton <nickc@redhat.com>
378 * objdump.c (dump_bfd): If the -g option found no STABS or IEEE
379 debug information to display, try dumping DWARF information
381 * rddbg.c (read_debugging_info): Add a parameter to suppress the
382 display of a warning message when no debug information is found.
383 * budbg.h (read_debugging_info): Update prototype.
384 * objcopy.c (copy_object): Continue to allow read_debugging_info
385 to produce warning messages.
386 * doc/binutils.texi (--debugging): Document new behaviour of the
387 -g/--debugging option.
389 2008-06-10 Ben Elliston <bje@gnu.org>
391 * MAINTAINERS: Remove myself as m68k maintainer.
393 2008-05-14 Alan Modra <amodra@bigpond.net.au>
395 * Makefile.in: Regenerate.
396 * doc/Makefile.in: Regenerate.
398 2008-05-12 Alan Modra <amodra@bigpond.net.au>
400 * embedspu.sh: Test for presence of ._ea by looking at section
401 table rather than looking at relocs. Correct toe_addr substitution.
403 2008-05-08 Alan Modra <amodra@bigpond.net.au>
405 * embedspu.sh: Take note of R_SPU_PPU32/64 relocs without a symbol,
406 and if present, put image in ".data.speelf". Put program handle
407 in ".data.spehandle".
409 2008-05-01 Nick Clifton <nickc@redhat.com>
411 * readelf.c (print_symbol): Add code to display non-printing
414 2008-04-30 John Heidemann <johnh@isi.edu>
416 * doc/binutils.texi (strings): Add "unicode" to the documentation
417 of strings in order to make explicit that it supports this
420 2008-04-30 Alan Modra <amodra@bigpond.net.au>
422 * readelf.c (process_program_headers): Correct section in segment
425 2008-04-28 M Thomas <mthomas@rhrk.uni-kl.de>
426 Nick Clifton <nickc@redhat.com>
429 * objdump.c (slurp_file): Open the file in binary mode.
430 * ar.c: Remove conditional definition of O_BINARY.
432 * rename.c: Likewise.
433 * strings.c: Likewise.
434 * sysdep.h: Add conditional definition of O_BINARY.
436 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
438 * aclocal.m4: Regenerate.
439 * configure: Regenerate.
441 2008-04-16 Jean-Yves Lefort <jylefort@brutele.be>
444 * objcopy.c (stuct symlist): Rename to
445 is_specified_symbol_predicate_data.
446 (strip_specific_list): Rename to strip_specific_htab.
447 (strip_unneeded_list): Rename to strip_unneeded_htab.
448 (keep_specific_list): Rename to keep_specific_htab.
449 (localize_specific_list): Rename to localize_specific_htab.
450 (globalize_specific_list): Rename to globalize_specific_htab.
451 (keepglobal_specific_list): Rename to keepglobal_specific_htab.
452 (weaken_specific_list): Rename to weaken_specific_htab.
453 (eq_string): New function.
454 (create_symbol_htab): New function.
455 (create_symbol_htabs): New function.
456 (add_specific_symbol): Change to use hash tables.
457 (is_specified_symbol_predicate): New function.
458 (is_specified_symbol): Use hash table lookup.
459 (is_strip_section): Update to use new functions and hash tables.
460 (filter_symbols): Likewise.
461 (copy_object): Likewise.
462 (copy_section): Likewise.
463 (strip_main): Likewise.
464 (copy_main): Likewise.
467 2008-04-14 David S. Miller <davem@davemloft.net>
469 * readelf.c (get_gnu_elf_note_type): Recognize NT_GNU_GOLD_VERSION.
471 2008-04-11 Torleif Sandnes <torleif.sandnes@gmail.com>
473 * dwarf.c (display_debug_lines): Rename to
474 display_debug_lines_raw.
475 (display_debug_lines_decoded): New function. Displays the
476 interpreted contents of a .debug_line section.
477 (display_debug_lines): New function: Selects either a raw dump or
478 a decoded dump (or both) as requested by the user.
479 * dwarf.h (do_debug_lines_decoded): New extern.
480 * readelf.c: Add support for -wL or --debug-dump=decodedline
481 option to display the decoded contents of a .debug_line section.
482 * doc/binutils.texi: Document the new option.
483 * NEWS: Mention the new feature.
485 2008-04-08 Alan Modra <amodra@bigpond.net.au>
487 * dwarf.c: Remove trailing whitespace throughout file.
489 2008-04-04 Nick Clifton <nickc@redhat.com>
491 * po/sk.po: Updated Slovak translation.
493 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
495 * dwarf.c (dwarf_regnames_i386): Add AVX registers.
496 (dwarf_regnames_x86_64): Likewise.
498 2008-03-27 Cary Coutant <ccoutant@google.com>
500 Add support for thin archives.
501 * ar.c (make_thin_archive): New global flag.
502 (map_over_members): Deal with full pathnames in thin archives.
503 (usage, main): Add 'T' option for building thin archives.
504 (replace_members): Pass thin archive flag to ar_emul_append.
505 * arsup.c (ar_open): Initialize new flag.
506 * binemul.c (ar_emul_append): Add new parameter for
507 flattening nested archives.
508 (do_ar_emul_default_append): New function.
509 (ar_emul_default_append): Factored out recursive code.
510 * binutils/binemul.h (ar_emul_default_append): Add new parameter.
511 (struct bin_emulation_xfer_struct): New parameter for ar_append.
512 * dlltool.c (gen_lib_file): Initialize thin archive flag.
513 * emul_aix.c (ar_emul_aix_internal): Add new flatten
514 parameter, currently unimplemented.
516 * objcopy.c (copy_archive): Preserve thin archive flag.
517 * doc/binutils.texi: Update ar documentation.
518 * NEWS: Mention the new feature.
520 2008-03-20 H.J. Lu <hongjiu.lu@intel.com>
522 * readelf.c (process_mips_specific): Declare addr_size as int.
524 2008-03-20 Richard Sandiford <rsandifo@nildram.co.uk>
526 * readelf.c (print_mips_got_entry): New function.
527 (process_mips_specific): Print GOT information.
529 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
531 * aclocal.m4: Regenerate.
532 * configure: Likewise.
533 * Makefile.in: Likewise.
534 * doc/Makefile.in: Likewise.
536 2008-03-16 Brian Dessent <brian@dessent.net>
538 * rcparse.y (resid): Allow control text to span multiple lines.
540 2008-03-13 Alan Modra <amodra@bigpond.net.au>
542 * readelf.c: Use %u throughout when printing sh_link or sh_info,
543 %lu when printing sh_addralign.
544 (process_version_sections): Use identical formats when printing
545 all offset and sh_link fields.
547 2008-03-13 Alan Modra <amodra@bigpond.net.au>
549 * Makefile.am: Run "make dep-am".
550 * Makefile.in: Regenerate.
551 * doc/Makefile.in: Regenerate.
552 * configure: Regenerate.
554 2008-03-12 Alan Modra <amodra@bigpond.net.au>
557 * readelf.c (SECTION_HEADER_INDEX, SECTION_HEADER_NUM): Delete.
558 Remove use throughout file.
559 (SECTION_HEADER): Likewise.
560 (dump_relocations): Don't adjust st_shndx for reserved range.
561 (process_file_header): Mask SHN_XINDEX to values seen in external
562 elf structs. Simplify valid section index tests.
563 (get_32bit_elf_symbols, get_64bit_elf_symbols): Mask SHN_XINDEX.
564 Map reserved st_shndx to internal form.
565 (process_section_groups): Test that group symbol st_shndx is in
566 range, not just non-zero. Delete reserved range check.
567 (get_symbol_index_type): Mask "type" to 16 bits when printing PRC,
570 2008-03-09 Paul Brook <paul@codesourcery.com>
572 * readelf.c (arm_attr_tag_VFP_arch): Add "VFPv3-D16".
574 2008-03-03 James E. Wilson <wilson@tuliptree.org>
576 * MAINTAINERS: Update my email address.
578 2008-03-03 Nick Clifton <nickc@redhat.com>
580 * dwarf.c (decode_location_expression): Handle
581 DW_OP_PGI_omp_thread_num.
583 2008-03-01 Alan Modra <amodra@bigpond.net.au>
585 * objdump.c (objdump_print_addr): Initialise "sym".
587 2008-02-27 Justin Pryzby <justinpryzby@users.sourceforge.net>
588 Nick Clifton <nickc@redhat.com>
590 * ar.c (usage): Mention -t command line switch.
591 * doc/binutils.texi (ranlib): Document -t command line switch.
593 2008-02-26 Nick Clifton <nickc@redhat.com>
595 * objdump.c (objdump_print_addr): If displaying file offsets, show
596 the offset even if there are no symbols available.
597 (dump_section): Display nothing if none of the section is going to
598 be dumped. Display the file offset, if requested, of the location
599 from where the dump starts.
600 * doc/binutils.texi (objdump): Mention that dumping via the -s
601 switch is also affected by the -F option.
603 2008-02-26 Nick Clifton <nickc@redhat.com>
605 Re-apply this patch which was accidentally deleted:
606 2006-05-16 Carlos O'Donell <carlos@codesourcery.com>
608 * doc/binutils.texi: Use "Binutils Index" for index name.
610 2008-02-22 Nick Clifton <nickc@redhat.com>
612 * objdump.c (display_file_offsets): New variable.
613 (long_options): Add -F/--file-offsets.
614 (objdump_print_addr_with_sym): If displaying file offsets, print
615 the offset of the given address.
616 (disassemble_bytes): If displaying file offsets, tell the user how
617 many zeroes are skipped and the file offset of the point where
619 (disassemble_section): Only display the name of the section if
620 data is going to be dumped from it.
621 (main): Handle new option. Produce error messages if the start or
622 stop addresses do not make sense.
623 * doc/binutils.texi: Document the new feature.
624 * NEWS: Mention the new feature.
626 2008-02-15 Chu Li <chul@cn.fujitsu.com>
627 Nick Clifton <nickc@redhat.com>
630 * strings.c (integer_arg): Delete function.
631 (string_min): Initialise to 4.
632 (main): Use strtoul to parse integer arguments.
633 Move check for an invalid string length to after all the arguments
635 (usage): Use indentation to indicate that -<n> is a another form
636 of the --bytes= command line option.
638 2008-02-12 Nick Clifton <nickc@redhat.com>
640 * dlltool.c (mcore_elf_cache_filename): Add a const qualifier to
642 (scan_obj_filename): Do not drop the const qualifier when calling
643 mcore_elf_cache_filename.
644 (struct fname_cache): Add const qualifier to filename field.
646 2008-02-08 H.J. Lu <hongjiu.lu@intel.com>
649 * strings.c (main): Set string_min to 4 if it is <= 0.
651 2008-02-07 Alan Modra <amodra@bigpond.net.au>
653 * objdump.c (main): Don't pass unadorned NULL to concat.
655 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
658 * configure: Regenerated.
660 2008-02-03 Adam Nemet <anemet@caviumnetworks.com>
662 * readelf.c (get_machine_flags): Handle Octeon.
664 2008-01-30 Tristan Gingold <gingold@adacore.com>
666 * readelf.c (dump_relocations): Decode OpenVMS-specific sections.
667 (get_ia64_dynamic_type): Decode OpenVMS-specific tags.
668 (get_dynamic_type): Handle IA64-specific tags.
669 (get_ia64_section_type_name): Handle OpenVMS-specific sections.
670 (get_section_type_name): Handle OS-specific sections (and
671 particularly IA64 OpenVMS one).
672 (get_elf_section_flags): Makes flags static. Add entries for IA64 and
675 2008-01-29 Nick Clifton <nickc@redhat.com>
677 * dwarf.c (print_dwarf_vma): New function. Display the value of a
678 dwarf_vma type at a specified precision. Use mingw field type
679 specifier if necessary.
680 (display_debug_loc): Use dwarf_vma type for begin and end values.
681 Use print_dwarf_vma to display their values. Use byte_get_signed
682 in order to correctly detect the -1 escape value.
683 (display_debug_aranges): Likewise.
684 (display_debug_ranges): Likewise.
686 2008-01-29 Alan Modra <amodra@bigpond.net.au>
688 * dwarf.c (display_debug_loc): Correct test for base address
689 entry when 64-bit host dumping 32-bit object.
691 2008-01-29 Alan Modra <amodra@bigpond.net.au>
693 * MAINTAINERS: Remove myself as ix86 maintainer. Add for SPU.
695 2008-01-28 Nick Clifton <nickc@redhat.com>
698 * rclex.c (yylex): Also allow the hypen character.
700 2008-01-28 H.J. Lu <hongjiu.lu@intel.com>
702 * dwarf.c: Include "elf/common.h".
703 (eh_addr_size): Changed to int.
704 (dwarf_regnames_i386): New.
705 (dwarf_regnames_x86_64): Likewise.
706 (dwarf_regnames): Likewise.
707 (dwarf_regnames_count): Likewise.
708 (init_dwarf_regnames): Likewise.
710 (frame_display_row): Properly support different address size.
711 Call regname to get register name.
712 (display_debug_frames): Call regname to get register name.
713 Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register
714 instead of DW_CFA_def_cfa_reg.
716 * dwarf.h (init_dwarf_regnames): New.
718 * objdump.c: Include "elf-bfd.h".
719 (dump_dwarf): Call init_dwarf_regnames on ELF input.
721 * readelf.c (guess_is_rela): Change argument to int.
722 (parse_args): Remove the undocumented upper case options for
724 (process_file_header): Call init_dwarf_regnames.
726 2008-01-25 DJ Delorie <dj@redhat.com>
728 * readelf.c (process_section_headers): Add m16c handler.
729 (is_16bit_abs_reloc): Recognize R_M32C_16.
731 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
733 * prdbg.c: Correct formatter style use.
734 * readelf.c: Likewise.
735 * strings.c: Likewise.
737 2008-01-25 Nick Clifton <nickc@redhat.com>
739 * po/ru.po: Updated Russian translation.
741 2008-01-17 H.J. Lu <hjl.tools@gmail.com>
743 * MAINTAINERS: Update my email address.
745 2008-01-14 Nick Clifton <nickc@redhat.com>
747 * dwarf.c (process_debug_info): Include the CU offset and corrupt
748 version value when reporting unrecognised DWARF version numbers.
749 (load_debug_info): Remember a failed attempt to load and parse the
750 .debug_info section and do not repeat such attempts.
751 (display_debug_lines): Check the return value from load_debug_info
752 and return whilst displaying a warning message if the load failed.
753 (display_debug_loc): Likewise.
754 (display_debug_ranges): Likewise.
755 (DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries
756 when the .debug_info section could not be loaded/parsed.
757 (process_debug_info): Display the length of the compilation unit
758 in hex, so that it corresponds with the offsets that will follow.
759 Tell the user if the length was 32-bit or 64-bit.
760 If a DIE abbreviation could not be found, tell the user the offset
762 (free_debug_memory): Do not attempt to free any entries in the
763 debug_information array if num_debug_info_entries is set to
764 DEBUG_INFO_UNAVAILABLE.
766 2008-01-10 Andreas Schwab <schwab@suse.de>
768 * readelf.c (is_64bit_abs_reloc): Handle R_S390_64.
770 2008-01-09 Jakub Zawadzki <darkjames@darkjames.ath.cx>
773 * bucomm.c (list_supported_architectures): Free architecture list
775 * windres.c (set_endianess): Likewise.
776 * windmc.c (set_endianess): Likewise.
778 2008-01-08 Kai Tietz <kai.tietz@onevision.com>
781 * binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post
782 characters for name tokens.
784 2008-01-04 Greg McGary <greg@mcgary.org>
786 * prdbg.c (print_vma): Print as long long, if host supports it.
788 2008-01-03 Nick Clifton <nickc@redhat.com>
790 * dwarf.c (read_and_display_attr_value): Prefix values that are
791 displayed in hexadecimal with 0x.
792 For the DW_AT_import attribute display the abbreviation number and
793 tag of the imported DIE.
794 (process_debug_info): Warn about lengths that reserved by the
795 DWARF3 specification.
796 Provide more information when corrupted DIEs are detected.
797 Warn if DIE corruption makes the sibling level negative.
799 For older changes see ChangeLog-2007
805 version-control: never