ChangeLog-2008 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880
  1. 2008-12-23 Jon Beniston <jon@beniston.com>
  2. * MAINTAINERS: Added Jon Beniston as maintainer for LM32 port.
  3. * readelf.c: Add support for LM32 machine number.
  4. 2008-12-23 Kai Tietz <kai.tietz@onevision.com>
  5. * rcparse.y (rcdata_data): Allow empty comma elements.
  6. 2008-12-23 Nick Clifton <nickc@redhat.com>
  7. * objdump.c (dump_reloc_set): Remove STT_IFUNC support.
  8. * readelf.c (dump_relocations): Likewise.
  9. (get_symbol_type): Likewise.
  10. * doc/binutils.texi: Likewise.
  11. 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  12. * configure: Regenerate.
  13. 2008-12-09 Tom Tromey <tromey@redhat.com>
  14. * srconv.c (wr_hd): Add parens to placate gcc 4.4.
  15. 2008-12-09 Andrew Stubbs <ams@codesourcery.com>
  16. * readelf.c (arm_attr_tag_CPU_arch): Add "v6-M" and "v6S-M".
  17. (arm_attr_tag_WMMX_arch): Add "WMMXv2".
  18. (arm_attr_tag_NEON_arch): Rename to ...
  19. (arm_attr_tag_Advanced_SIMD_arch): ... official name.
  20. (arm_attr_tag_ABI_PCS_config): Rename to ...
  21. (arm_attr_tag_PCS_config): ... official name.
  22. (arm_attr_tag_ABI_PCS_RO_DATA): Rename to ...
  23. (arm_attr_tag_ABI_PCS_RO_data): ... official name.
  24. (arm_attr_tag_ABI_FP_denormal): Add "Sign only".
  25. (arm_attr_tag_CPU_unaligned_access): New array.
  26. (arm_attr_tag_T2EE_use): New array.
  27. (arm_attr_tag_Virtualization_use): New array.
  28. (arm_attr_tag_MPextension_use): New array.
  29. (arm_attr_publ): NEON_arch -> Advanced_SIMD_arch.
  30. ABI_PCS_config -> PCS_config.
  31. ABI_PCS_RO_DATA -> ABI_PCS_RO_data.
  32. Add CPU_unaligned_access, nodefaults, also_compatible_with,
  33. T2EE_use, conformance, Virtualization_use and MPextension_use.
  34. (display_arm_attribute): Handle Tag_nodefaults and
  35. Tag_also_compatible_with.
  36. 2008-12-04 Ben Elliston <bje@au.ibm.com>
  37. * doc/binutils.texi (objdump): Update booke documentation.
  38. * NEWS: Document user-visible changes to command line options.
  39. 2008-12-04 Nick Clifton <nickc@redhat.com>
  40. * objdump.c (dump_reloc_set): Append "()" to symbol names which
  41. have the BSF_INDIRECT_FUNCTION type.
  42. * readelf.c (print_symbol): Fix handling of negative widths.
  43. (dump_relocations): Append "()" to symbol names which have the
  44. STT_IFUNC type. Display negative offsets as a positive number with
  45. a "-" prefix.
  46. (get_symbol_type): Return "IFUNC" for STT_IFUNC symbols.
  47. * doc/binutils.texi: Document 'i' symbol type.
  48. 2008-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
  49. * strings.c (main): New variable `s'. Have string_min parsing
  50. call fatal for invalid input strings.
  51. 2008-11-25 Nick Clifton <nickc@redhat.com>
  52. PR7044
  53. * dlltool.c (run): Use formatting string to avoid compile time
  54. warning.
  55. (gen_exp_file): Check return value from fread.
  56. * windmc.c (main): Check return value from fread.
  57. 2008-11-21 Sterling Augustine <sterling@tensilica.com>
  58. * MAINTAINERS: Take over from Bob Wilson as Xtensa maintainer.
  59. 2008-11-19 Nick Clifton <nickc@redhat.com>
  60. * doc/fdl.texi: Update to v1.3
  61. * doc/binutils.texinfo: Change license to v1.3.
  62. 2008-11-18 Catherine Moore <clm@codesourcery.com>
  63. * readelf.c (arm_attr_tag_ABI_FP_16bit_format): New.
  64. (arm_attr_tag_VFP_HP_extension): New.
  65. (arm_attr_public_tag arm_attr_public_tags): Support
  66. new attributes.
  67. 2008-11-17 Nick Clifton <nickc@redhat.com>
  68. * version.c (print_version): Update copyright year.
  69. 2008-11-16 Danny Smith <dannysmith@usesr.sourceforge.net>
  70. * dlltool.c (identify_search_section): Cast argument, not return
  71. value, of xstrdup to 'char*'.
  72. 2008-11-15 Charles Wilson <cygwin@cwilson.fastmail.fm>
  73. Added --identify option to dlltool.
  74. * binutils/dlltool.c: Add new global variables
  75. identify_imp_name and identify_dll_name.
  76. (identify_dll_for_implib, identify_search_archive,
  77. identify_search_member, identify_process_section_p,
  78. identify_search_section): New functions.
  79. (usage): Added --identify.
  80. (long_options): Added --identify.
  81. (main): Handle --identify option.
  82. * binutils/doc/binutils.texi: Document --identify.
  83. 2008-11-14 Tristan Gingold <gingold@adacore.com>
  84. Remove outdated mach-o specific tests.
  85. * objdump.c (load_debug_section): Remove mach-o specific test.
  86. (mach_o_uncompressed_dwarf_sections): Removed.
  87. (mach_o_compressed_dwarf_sections): Removed.
  88. (generic_uncompressed_dwarf_sections): Removed.
  89. (generic_compressed_dwarf_sections): Removed.
  90. (check_mach_o_dwarf): Removed.
  91. (dump_dwarf): Remove call to check_mach_o_dwarf.
  92. 2008-11-14 Tristan Gingold <gingold@adacore.com>
  93. * configure.com: Get version from configure.in of bfd.
  94. * makefile.vms-in (DEBUG_OBJS): Add dwarf.obj.
  95. (CFLAGS): Update flags.
  96. 2008-11-13 Hans-Peter Nilsson <hp@axis.com>
  97. Alan Modra <amodra@bigpond.net.au>
  98. * nm.c (filter_symbols): Only call memcpy when from != to.
  99. 2008-11-10 Tristan Gingold <gingold@adacore.com>
  100. Alan Modra <amodra@bigpond.net.au>
  101. * objdump.c (disassemble_bytes): Don't skip leading zeros when
  102. end of section calculation overflows.
  103. 2008-11-07 Prafulla Thakare <prafulla.thakare@kpitcummins.com>
  104. * MAINTAINERS: Take over from Anil Paranjpe as H8300 maintainer.
  105. 2008-10-31 Alan Modra <amodra@bigpond.net.au>
  106. * po/id.po: New file.
  107. * configure.in (ALL_LINGUAS): Add id.
  108. * configure: Regenerate.
  109. 2008-10-21 Alan Modra <amodra@bigpond.net.au>
  110. * windmc.c (res_alloc): Remove unnecessary cast.
  111. * windres.c (res_alloc, reswr_alloc): Likewise.
  112. 2008-10-20 Nick Clifton <nickc@redhat.com>
  113. * readelf.c: Tidy up code formatting.
  114. 2008-10-10 Nathan Froyd <froydnj@codesourcery.com>
  115. * readelf.c (display_power_gnu_attribute): Decode
  116. Tag_GNU_Power_ABI_Struct_Return.
  117. 2008-10-10 Alan Modra <amodra@bigpond.net.au>
  118. * embedspu.sh: Pass -Wa,-noexecstack to $CC.
  119. 2008-10-09 Kai Tietz <kai.tietz@onevision.com>
  120. * dlltool.c (PAGE_SIZE): Make sure it has bfd_vma type.
  121. (PAGE_MASK): Likewise.
  122. (sfunc): Change to address size of bfd_vma for base-file.
  123. (flush_page): Likewise.
  124. (gen_exp_file): Likewise.
  125. 2008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
  126. * readelf.c (process_section_headers): Do not cut the section names and
  127. types if running with --wide.
  128. 2008-10-06 Tom Tromey <tromey@redhat.com>
  129. * dwarf.c (display_debug_frames): Change text for uniformity.
  130. (process_debug_info): Likewise.
  131. (display_debug_aranges): Likewise. Indent address output.
  132. (display_debug_pubnames): Print offset in hex.
  133. 2008-10-02 Andrew Paprocki <andrew@ishiboo.com>
  134. PR 6934
  135. * stabs.c (parse_stab_string): Parse and ignore =Y<name> strings
  136. generated by the SUNPro C++ compiler.
  137. 2008-09-30 Andrew Paprocki <andrew@ishiboo.com>
  138. PR 6922
  139. * stabs.c (parse_stab_sun_builtin_type): Parse, but ignore SUN's
  140. 'b' and 'v' extensions.
  141. 2008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
  142. Steve Ellcey <sje@cup.hp.com>
  143. * configure: Regenerate for new libtool.
  144. * aclocal.m4: Ditto.
  145. * Makefile.in: Ditto.
  146. * doc/Makefile.in: Ditto.
  147. 2008-09-28 Alan Modra <amodra@bigpond.net.au>
  148. * objcopy.c (setup_section): Set elf_group_id.
  149. 2008-09-24 Richard Henderson <rth@redhat.com>
  150. * dwarf.c (size_of_encoded_value, get_encoded_value): Move up.
  151. (decode_location_expression): Add section parameter. Handle
  152. DW_OP_GNU_encoded_addr.
  153. (read_and_display_attr_value): Update decode_location_expression call.
  154. (display_debug_loc, display_debug_frames): Likewise.
  155. 2008-09-25 Alan Modra <amodra@bigpond.net.au>
  156. PR 6913
  157. * dwarf.c (print_dwarf_vma): Don't call printf without format string.
  158. 2008-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
  159. Suppress warnings on NONE relocations to discarded sections.
  160. * readelf.c (is_none_reloc): New function.
  161. (debug_apply_relocations): Ignore is_none_reloc() relocations.
  162. 2008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
  163. Fix loading large elf64 binaries on 32bit hosts.
  164. * configure.in: Call AC_SYS_LARGEFILE.
  165. * config.in: Regenerate.
  166. * configure: Regenerate.
  167. 2008-09-11 Alan Modra <amodra@bigpond.net.au>
  168. * po/sv.po: Update.
  169. 2008-09-08 Tristan Gingold <gingold@adacore.com>
  170. * BRANCHES: Add 2.18 and 2.19 release branches.
  171. 2008-09-08 Tristan Gingold <gingold@adacore.com>
  172. * NEWS: Add a marker for the 2.19 features.
  173. 2008-09-05 Daniel Jacobowitz <dan@codesourcery.com>
  174. * readelf.c (load_specific_debug_section): New function, from
  175. load_debug_section.
  176. (load_debug_section): Use load_specific_debug_section.
  177. (display_debug_section): Use load_specific_debug_section. Check for
  178. multiple sections with the same name.
  179. 2008-08-28 Tristan Gingold <gingold@adacore.com>
  180. * objdump.c (dump_stabs): Add sections for Darwin.
  181. 2008-08-25 Alan Modra <amodra@bigpond.net.au>
  182. * sysdep.h: Include "binary-io.h".
  183. (O_BINARY): Don't define here.
  184. * bin2c.c (O_BINARY, O_TEXT, SET_BINARY): Don't define here.
  185. * strings.c: Likewise.
  186. (main): Remove #ifdef SET_BINARY.
  187. * Makefile.am: Run "make dep-am"
  188. * Makefile.in: Regenerate.
  189. 2008-08-24 Alan Modra <amodra@bigpond.net.au>
  190. * configure.in: Update a number of obsolete autoconf macros.
  191. * configure: Regenerate.
  192. * aclocal.m4: Regenerate.
  193. 2008-08-21 Richard Henderson <rth@redhat.com>
  194. * readelf.c (is_32bit_pcrel_reloc): Fix hppa entry.
  195. (is_64bit_pcrel_reloc): New.
  196. (debug_apply_relocations): Use it. Handle hppa pcrel bias.
  197. 2008-08-15 Alan Modra <amodra@bigpond.net.au>
  198. PR 6526
  199. * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
  200. * Makefile.in: Regenerate.
  201. * aclocal.m4: Regenerate.
  202. * config.in: Regenerate.
  203. * configure: Regenerate.
  204. * doc/Makefile.in: Regenerate.
  205. 2008-08-09 Alan Modra <amodra@bigpond.net.au>
  206. PR 6615
  207. * rename.c (smart_rename): Punctuate error messages.
  208. 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
  209. Daniel Jacobowitz <dan@codesourcery.com>
  210. Catherine Moore <clm@codesourcery.com>
  211. Mark Shinwell <shinwell@codesourcery.com>
  212. * readelf.c (get_mips_symbol_other): Handle STO_MIPS_PLT and
  213. STO_MIPS_PIC.
  214. (slurp_rela_relocs, slurp_rel_relocs): Handle MIPS ELF64 here.
  215. (dump_relocations, debug_apply_relocations): Don't handle it here.
  216. (get_mips_dynamic_type): Handle DT_MIPS_PLTGOT and DT_MIPS_RWPLT.
  217. (print_mips_pltgot_entry): New function.
  218. (process_mips_specific): Dump the PLT GOT.
  219. 2008-08-08 Alan Modra <amodra@bigpond.net.au>
  220. * readelf.c (is_64bit_abs_reloc): Return true for R_MIPS_64.
  221. 2008-08-06 Alan Modra <amodra@bigpond.net.au>
  222. PR 6774
  223. * objcopy.c (copy_object): Don't setup_bfd_headers when extract_symbol.
  224. (setup_section): Don't zero vma and lma when extract_symbol.
  225. (copy_section): Discard relocations when extract_symbol.
  226. * doc/binutils.texi: Update --extract-symbol description.
  227. 2008-08-04 Alan Modra <amodra@bigpond.net.au>
  228. * Makefile.am (POTFILES.in): Set LC_ALL=C.
  229. * Makefile.in: Regenerate.
  230. 2008-08-04 Markus Weiss <weissms@aros.org>
  231. * readelf.c (get_osabi_name <ELFOSABI_AROS>): Change name.
  232. 2008-08-01 H.J. Lu <hongjiu.lu@intel.com>
  233. * dwarf.c (dwarf_regnames_i386): Remove AVX registers.
  234. (dwarf_regnames_x86_64): Likewise.
  235. 2008-07-30 Alan Modra <amodra@bigpond.net.au>
  236. * dlltool.c, dwarf.c, objdump.c, readelf.c, resrc.c, resres.c,
  237. windmc.c: Silence gcc warnings.
  238. 2008-07-28 Alan Modra <amodra@bigpond.net.au>
  239. * readelf.c (print_vma): Typo fix.
  240. 2008-07-28 Alan Modra <amodra@bigpond.net.au>
  241. PR 6769
  242. * readelf.c (print_dec_vma, print_hex_vma): Delete.
  243. (print_vma): Use BFD_VMA_FMT.
  244. * size.c (size_number, rprint_number): Likewise.
  245. 2008-07-26 Michael Eager <eager@eagercon.com>
  246. * readelf.c (display_power_gnu_attribute): Display
  247. single-precision hard float.
  248. 2008-07-21 Luis Machado <luisgpm@br.ibm.com>
  249. * readelf.c (get_note_type): Handle VSX notes.
  250. 2008-07-15 H.J. Lu <hongjiu.lu@intel.com>
  251. * objdump.c (load_debug_section): Initialize section_is_compressed
  252. for gcc 3.4/ia64.
  253. * readelf.c (load_debug_section): Likewise.
  254. 2008-07-12 Jie Zhang <jie.zhang@analog.com>
  255. Revert
  256. 2008-07-12 Jie Zhang <jie.zhang@analog.com>
  257. * readelf.c (get_machine_flags): Deal with Blackfin specific
  258. flags.
  259. 2008-07-12 Jie Zhang <jie.zhang@analog.com>
  260. * readelf.c (get_machine_flags): Deal with Blackfin specific
  261. flags.
  262. 2008-07-09 Craig Silverstein <csilvers@google.com>
  263. * config.in: Add HAVE_ZLIB_H
  264. * configure.in: Add test for libz and zlib.h
  265. * configure: Regenerate.
  266. * dwarf.c (debug_displays): Add .zdebug_* strings.
  267. * dwarf.h (struct dwarf_section): Add fields uncompressed_namd
  268. and compressed_name.
  269. * objdump.c (load_debug_section): Call
  270. bfd_uncompress_section_contents when loading a compressed
  271. section.
  272. (dump_dwarf_section): Recognize compressed section name.
  273. (mach_o_dwarf_sections): Rename as
  274. mach_o_uncompressed_dwarf_sections.
  275. (mach_o_compressed_dwarf_sections): New variable.
  276. (generic_dwarf_section): Rename as
  277. generic_uncompressed_dwarf_sections.
  278. (generic_compressed_dwarf_sections): New variable.
  279. (check_mach_o_dwarf): Save and restore
  280. mach_o_compressed_dwarf_sections.
  281. * readelf.c: Add #include for config.h and zlib.h
  282. (process_section_headers): Recognize compressed section name.
  283. (uncompress_section_contents): New function.
  284. (load_debug_section): Call uncompress_section_contents when
  285. loading a compressed section.
  286. (display_debug_section): Recognize compressed section name.
  287. 2008-07-07 Alan Modra <amodra@bigpond.net.au>
  288. * objdump.c (find_symbol_for_address): Prefer symbols in current
  289. section.
  290. 2008-07-07 Alan Modra <amodra@bigpond.net.au>
  291. * ieee.c (write_ieee_debugging_info): Use bfd_make_section_with_flags.
  292. * nlmconv.c (main, powerpc_build_stubs): Likewise.
  293. * rescoff.c (write_coff_file): Likewise.
  294. * resres.c (write_res_file): Likewise.
  295. * windmc.c (windmc_write_bin): Likewise.
  296. 2008-06-18 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
  297. * readelf.c (guess_is_rela): Add EM_CR16_OLD.
  298. (dump_relocations): Likewise.
  299. (get_machine_name): Likewise.
  300. (is_32bit_abs_reloc): Likewise.
  301. 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  302. * configure: Regenerate.
  303. 2008-06-12 DJ Delorie <dj@redhat.com>
  304. * readelf.c (guess_is_rela): Add EM_M32C_OLD.
  305. (dump_relocations): Likewise.
  306. (process_section_headers): Likewise.
  307. (is_32bit_abs_reloc): Likewise.
  308. (is_16bit_abs_reloc): Likewise.
  309. 2008-06-12 Nick Clifton <nickc@redhat.com>
  310. PR binutils/6483
  311. * objdump.c (dump_bfd): If the -g option found no STABS or IEEE
  312. debug information to display, try dumping DWARF information
  313. instead.
  314. * rddbg.c (read_debugging_info): Add a parameter to suppress the
  315. display of a warning message when no debug information is found.
  316. * budbg.h (read_debugging_info): Update prototype.
  317. * objcopy.c (copy_object): Continue to allow read_debugging_info
  318. to produce warning messages.
  319. * doc/binutils.texi (--debugging): Document new behaviour of the
  320. -g/--debugging option.
  321. 2008-06-10 Ben Elliston <bje@gnu.org>
  322. * MAINTAINERS: Remove myself as m68k maintainer.
  323. 2008-05-14 Alan Modra <amodra@bigpond.net.au>
  324. * Makefile.in: Regenerate.
  325. * doc/Makefile.in: Regenerate.
  326. 2008-05-12 Alan Modra <amodra@bigpond.net.au>
  327. * embedspu.sh: Test for presence of ._ea by looking at section
  328. table rather than looking at relocs. Correct toe_addr substitution.
  329. 2008-05-08 Alan Modra <amodra@bigpond.net.au>
  330. * embedspu.sh: Take note of R_SPU_PPU32/64 relocs without a symbol,
  331. and if present, put image in ".data.speelf". Put program handle
  332. in ".data.spehandle".
  333. 2008-05-01 Nick Clifton <nickc@redhat.com>
  334. * readelf.c (print_symbol): Add code to display non-printing
  335. characters.
  336. 2008-04-30 John Heidemann <johnh@isi.edu>
  337. * doc/binutils.texi (strings): Add "unicode" to the documentation
  338. of strings in order to make explicit that it supports this
  339. feature.
  340. 2008-04-30 Alan Modra <amodra@bigpond.net.au>
  341. * readelf.c (process_program_headers): Correct section in segment
  342. display.
  343. 2008-04-28 M Thomas <mthomas@rhrk.uni-kl.de>
  344. Nick Clifton <nickc@redhat.com>
  345. PR binutils/6449
  346. * objdump.c (slurp_file): Open the file in binary mode.
  347. * ar.c: Remove conditional definition of O_BINARY.
  348. * bin2.c: Likewise.
  349. * rename.c: Likewise.
  350. * strings.c: Likewise.
  351. * sysdep.h: Add conditional definition of O_BINARY.
  352. 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
  353. * aclocal.m4: Regenerate.
  354. * configure: Regenerate.
  355. 2008-04-16 Jean-Yves Lefort <jylefort@brutele.be>
  356. PR binutils/6034
  357. * objcopy.c (stuct symlist): Rename to
  358. is_specified_symbol_predicate_data.
  359. (strip_specific_list): Rename to strip_specific_htab.
  360. (strip_unneeded_list): Rename to strip_unneeded_htab.
  361. (keep_specific_list): Rename to keep_specific_htab.
  362. (localize_specific_list): Rename to localize_specific_htab.
  363. (globalize_specific_list): Rename to globalize_specific_htab.
  364. (keepglobal_specific_list): Rename to keepglobal_specific_htab.
  365. (weaken_specific_list): Rename to weaken_specific_htab.
  366. (eq_string): New function.
  367. (create_symbol_htab): New function.
  368. (create_symbol_htabs): New function.
  369. (add_specific_symbol): Change to use hash tables.
  370. (is_specified_symbol_predicate): New function.
  371. (is_specified_symbol): Use hash table lookup.
  372. (is_strip_section): Update to use new functions and hash tables.
  373. (filter_symbols): Likewise.
  374. (copy_object): Likewise.
  375. (copy_section): Likewise.
  376. (strip_main): Likewise.
  377. (copy_main): Likewise.
  378. (main): Likewise.
  379. 2008-04-14 David S. Miller <davem@davemloft.net>
  380. * readelf.c (get_gnu_elf_note_type): Recognize NT_GNU_GOLD_VERSION.
  381. 2008-04-11 Torleif Sandnes <torleif.sandnes@gmail.com>
  382. * dwarf.c (display_debug_lines): Rename to
  383. display_debug_lines_raw.
  384. (display_debug_lines_decoded): New function. Displays the
  385. interpreted contents of a .debug_line section.
  386. (display_debug_lines): New function: Selects either a raw dump or
  387. a decoded dump (or both) as requested by the user.
  388. * dwarf.h (do_debug_lines_decoded): New extern.
  389. * readelf.c: Add support for -wL or --debug-dump=decodedline
  390. option to display the decoded contents of a .debug_line section.
  391. * doc/binutils.texi: Document the new option.
  392. * NEWS: Mention the new feature.
  393. 2008-04-08 Alan Modra <amodra@bigpond.net.au>
  394. * dwarf.c: Remove trailing whitespace throughout file.
  395. 2008-04-04 Nick Clifton <nickc@redhat.com>
  396. * po/sk.po: Updated Slovak translation.
  397. 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
  398. * dwarf.c (dwarf_regnames_i386): Add AVX registers.
  399. (dwarf_regnames_x86_64): Likewise.
  400. 2008-03-27 Cary Coutant <ccoutant@google.com>
  401. Add support for thin archives.
  402. * ar.c (make_thin_archive): New global flag.
  403. (map_over_members): Deal with full pathnames in thin archives.
  404. (usage, main): Add 'T' option for building thin archives.
  405. (replace_members): Pass thin archive flag to ar_emul_append.
  406. * arsup.c (ar_open): Initialize new flag.
  407. * binemul.c (ar_emul_append): Add new parameter for
  408. flattening nested archives.
  409. (do_ar_emul_default_append): New function.
  410. (ar_emul_default_append): Factored out recursive code.
  411. * binutils/binemul.h (ar_emul_default_append): Add new parameter.
  412. (struct bin_emulation_xfer_struct): New parameter for ar_append.
  413. * dlltool.c (gen_lib_file): Initialize thin archive flag.
  414. * emul_aix.c (ar_emul_aix_internal): Add new flatten
  415. parameter, currently unimplemented.
  416. All callers changed.
  417. * objcopy.c (copy_archive): Preserve thin archive flag.
  418. * doc/binutils.texi: Update ar documentation.
  419. * NEWS: Mention the new feature.
  420. 2008-03-20 H.J. Lu <hongjiu.lu@intel.com>
  421. * readelf.c (process_mips_specific): Declare addr_size as int.
  422. 2008-03-20 Richard Sandiford <rsandifo@nildram.co.uk>
  423. * readelf.c (print_mips_got_entry): New function.
  424. (process_mips_specific): Print GOT information.
  425. 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  426. * aclocal.m4: Regenerate.
  427. * configure: Likewise.
  428. * Makefile.in: Likewise.
  429. * doc/Makefile.in: Likewise.
  430. 2008-03-16 Brian Dessent <brian@dessent.net>
  431. * rcparse.y (resid): Allow control text to span multiple lines.
  432. 2008-03-13 Alan Modra <amodra@bigpond.net.au>
  433. * readelf.c: Use %u throughout when printing sh_link or sh_info,
  434. %lu when printing sh_addralign.
  435. (process_version_sections): Use identical formats when printing
  436. all offset and sh_link fields.
  437. 2008-03-13 Alan Modra <amodra@bigpond.net.au>
  438. * Makefile.am: Run "make dep-am".
  439. * Makefile.in: Regenerate.
  440. * doc/Makefile.in: Regenerate.
  441. * configure: Regenerate.
  442. 2008-03-12 Alan Modra <amodra@bigpond.net.au>
  443. PR 5900
  444. * readelf.c (SECTION_HEADER_INDEX, SECTION_HEADER_NUM): Delete.
  445. Remove use throughout file.
  446. (SECTION_HEADER): Likewise.
  447. (dump_relocations): Don't adjust st_shndx for reserved range.
  448. (process_file_header): Mask SHN_XINDEX to values seen in external
  449. elf structs. Simplify valid section index tests.
  450. (get_32bit_elf_symbols, get_64bit_elf_symbols): Mask SHN_XINDEX.
  451. Map reserved st_shndx to internal form.
  452. (process_section_groups): Test that group symbol st_shndx is in
  453. range, not just non-zero. Delete reserved range check.
  454. (get_symbol_index_type): Mask "type" to 16 bits when printing PRC,
  455. OS or RSV.
  456. 2008-03-09 Paul Brook <paul@codesourcery.com>
  457. * readelf.c (arm_attr_tag_VFP_arch): Add "VFPv3-D16".
  458. 2008-03-03 James E. Wilson <wilson@tuliptree.org>
  459. * MAINTAINERS: Update my email address.
  460. 2008-03-03 Nick Clifton <nickc@redhat.com>
  461. * dwarf.c (decode_location_expression): Handle
  462. DW_OP_PGI_omp_thread_num.
  463. 2008-03-01 Alan Modra <amodra@bigpond.net.au>
  464. * objdump.c (objdump_print_addr): Initialise "sym".
  465. 2008-02-27 Justin Pryzby <justinpryzby@users.sourceforge.net>
  466. Nick Clifton <nickc@redhat.com>
  467. * ar.c (usage): Mention -t command line switch.
  468. * doc/binutils.texi (ranlib): Document -t command line switch.
  469. 2008-02-26 Nick Clifton <nickc@redhat.com>
  470. * objdump.c (objdump_print_addr): If displaying file offsets, show
  471. the offset even if there are no symbols available.
  472. (dump_section): Display nothing if none of the section is going to
  473. be dumped. Display the file offset, if requested, of the location
  474. from where the dump starts.
  475. * doc/binutils.texi (objdump): Mention that dumping via the -s
  476. switch is also affected by the -F option.
  477. 2008-02-26 Nick Clifton <nickc@redhat.com>
  478. Re-apply this patch which was accidentally deleted:
  479. 2006-05-16 Carlos O'Donell <carlos@codesourcery.com>
  480. * doc/binutils.texi: Use "Binutils Index" for index name.
  481. 2008-02-22 Nick Clifton <nickc@redhat.com>
  482. * objdump.c (display_file_offsets): New variable.
  483. (long_options): Add -F/--file-offsets.
  484. (objdump_print_addr_with_sym): If displaying file offsets, print
  485. the offset of the given address.
  486. (disassemble_bytes): If displaying file offsets, tell the user how
  487. many zeroes are skipped and the file offset of the point where
  488. dumping resumes.
  489. (disassemble_section): Only display the name of the section if
  490. data is going to be dumped from it.
  491. (main): Handle new option. Produce error messages if the start or
  492. stop addresses do not make sense.
  493. * doc/binutils.texi: Document the new feature.
  494. * NEWS: Mention the new feature.
  495. 2008-02-15 Chu Li <chul@cn.fujitsu.com>
  496. Nick Clifton <nickc@redhat.com>
  497. PR binutils/5713
  498. * strings.c (integer_arg): Delete function.
  499. (string_min): Initialise to 4.
  500. (main): Use strtoul to parse integer arguments.
  501. Move check for an invalid string length to after all the arguments
  502. have been parsed.
  503. (usage): Use indentation to indicate that -<n> is a another form
  504. of the --bytes= command line option.
  505. 2008-02-12 Nick Clifton <nickc@redhat.com>
  506. * dlltool.c (mcore_elf_cache_filename): Add a const qualifier to
  507. the argument.
  508. (scan_obj_filename): Do not drop the const qualifier when calling
  509. mcore_elf_cache_filename.
  510. (struct fname_cache): Add const qualifier to filename field.
  511. 2008-02-08 H.J. Lu <hongjiu.lu@intel.com>
  512. PR binutils/5713
  513. * strings.c (main): Set string_min to 4 if it is <= 0.
  514. 2008-02-07 Alan Modra <amodra@bigpond.net.au>
  515. * objdump.c (main): Don't pass unadorned NULL to concat.
  516. 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
  517. PR 5715
  518. * configure: Regenerated.
  519. 2008-02-03 Adam Nemet <anemet@caviumnetworks.com>
  520. * readelf.c (get_machine_flags): Handle Octeon.
  521. 2008-01-30 Tristan Gingold <gingold@adacore.com>
  522. * readelf.c (dump_relocations): Decode OpenVMS-specific sections.
  523. (get_ia64_dynamic_type): Decode OpenVMS-specific tags.
  524. (get_dynamic_type): Handle IA64-specific tags.
  525. (get_ia64_section_type_name): Handle OpenVMS-specific sections.
  526. (get_section_type_name): Handle OS-specific sections (and
  527. particularly IA64 OpenVMS one).
  528. (get_elf_section_flags): Makes flags static. Add entries for IA64 and
  529. decode them.
  530. 2008-01-29 Nick Clifton <nickc@redhat.com>
  531. * dwarf.c (print_dwarf_vma): New function. Display the value of a
  532. dwarf_vma type at a specified precision. Use mingw field type
  533. specifier if necessary.
  534. (display_debug_loc): Use dwarf_vma type for begin and end values.
  535. Use print_dwarf_vma to display their values. Use byte_get_signed
  536. in order to correctly detect the -1 escape value.
  537. (display_debug_aranges): Likewise.
  538. (display_debug_ranges): Likewise.
  539. 2008-01-29 Alan Modra <amodra@bigpond.net.au>
  540. * dwarf.c (display_debug_loc): Correct test for base address
  541. entry when 64-bit host dumping 32-bit object.
  542. 2008-01-29 Alan Modra <amodra@bigpond.net.au>
  543. * MAINTAINERS: Remove myself as ix86 maintainer. Add for SPU.
  544. 2008-01-28 Nick Clifton <nickc@redhat.com>
  545. PR binutils/5529
  546. * rclex.c (yylex): Also allow the hypen character.
  547. 2008-01-28 H.J. Lu <hongjiu.lu@intel.com>
  548. * dwarf.c: Include "elf/common.h".
  549. (eh_addr_size): Changed to int.
  550. (dwarf_regnames_i386): New.
  551. (dwarf_regnames_x86_64): Likewise.
  552. (dwarf_regnames): Likewise.
  553. (dwarf_regnames_count): Likewise.
  554. (init_dwarf_regnames): Likewise.
  555. (regname): Likewise.
  556. (frame_display_row): Properly support different address size.
  557. Call regname to get register name.
  558. (display_debug_frames): Call regname to get register name.
  559. Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register
  560. instead of DW_CFA_def_cfa_reg.
  561. * dwarf.h (init_dwarf_regnames): New.
  562. * objdump.c: Include "elf-bfd.h".
  563. (dump_dwarf): Call init_dwarf_regnames on ELF input.
  564. * readelf.c (guess_is_rela): Change argument to int.
  565. (parse_args): Remove the undocumented upper case options for
  566. -wX.
  567. (process_file_header): Call init_dwarf_regnames.
  568. 2008-01-25 DJ Delorie <dj@redhat.com>
  569. * readelf.c (process_section_headers): Add m16c handler.
  570. (is_16bit_abs_reloc): Recognize R_M32C_16.
  571. 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
  572. * prdbg.c: Correct formatter style use.
  573. * readelf.c: Likewise.
  574. * strings.c: Likewise.
  575. 2008-01-25 Nick Clifton <nickc@redhat.com>
  576. * po/ru.po: Updated Russian translation.
  577. 2008-01-17 H.J. Lu <hjl.tools@gmail.com>
  578. * MAINTAINERS: Update my email address.
  579. 2008-01-14 Nick Clifton <nickc@redhat.com>
  580. * dwarf.c (process_debug_info): Include the CU offset and corrupt
  581. version value when reporting unrecognised DWARF version numbers.
  582. (load_debug_info): Remember a failed attempt to load and parse the
  583. .debug_info section and do not repeat such attempts.
  584. (display_debug_lines): Check the return value from load_debug_info
  585. and return whilst displaying a warning message if the load failed.
  586. (display_debug_loc): Likewise.
  587. (display_debug_ranges): Likewise.
  588. (DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries
  589. when the .debug_info section could not be loaded/parsed.
  590. (process_debug_info): Display the length of the compilation unit
  591. in hex, so that it corresponds with the offsets that will follow.
  592. Tell the user if the length was 32-bit or 64-bit.
  593. If a DIE abbreviation could not be found, tell the user the offset
  594. of the DIE.
  595. (free_debug_memory): Do not attempt to free any entries in the
  596. debug_information array if num_debug_info_entries is set to
  597. DEBUG_INFO_UNAVAILABLE.
  598. 2008-01-10 Andreas Schwab <schwab@suse.de>
  599. * readelf.c (is_64bit_abs_reloc): Handle R_S390_64.
  600. 2008-01-09 Jakub Zawadzki <darkjames@darkjames.ath.cx>
  601. PR binutils/55326
  602. * bucomm.c (list_supported_architectures): Free architecture list
  603. after use.
  604. * windres.c (set_endianess): Likewise.
  605. * windmc.c (set_endianess): Likewise.
  606. 2008-01-08 Kai Tietz <kai.tietz@onevision.com>
  607. PR binutils/5529
  608. * binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post
  609. characters for name tokens.
  610. 2008-01-04 Greg McGary <greg@mcgary.org>
  611. * prdbg.c (print_vma): Print as long long, if host supports it.
  612. 2008-01-03 Nick Clifton <nickc@redhat.com>
  613. * dwarf.c (read_and_display_attr_value): Prefix values that are
  614. displayed in hexadecimal with 0x.
  615. For the DW_AT_import attribute display the abbreviation number and
  616. tag of the imported DIE.
  617. (process_debug_info): Warn about lengths that reserved by the
  618. DWARF3 specification.
  619. Provide more information when corrupted DIEs are detected.
  620. Warn if DIE corruption makes the sibling level negative.
  621. For older changes see ChangeLog-2007
  622. Copyright (C) 2008 Free Software Foundation, Inc.
  623. Copying and distribution of this file, with or without modification,
  624. are permitted in any medium without royalty provided the copyright
  625. notice and this notice are preserved.
  626. Local Variables:
  627. mode: change-log
  628. left-margin: 8
  629. fill-column: 74
  630. version-control: never
  631. End: