ChangeLog-2011 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936
  1. 2011-12-28 Ian Lance Taylor <iant@google.com>
  2. * dwarf.c (read_and_display_attr_value): Handle DW_LANG_Go.
  3. 2011-12-20 Roland McGrath <mcgrathr@google.com>
  4. * configure.in (--enable-deterministic-archives): Grok new
  5. argument. Set DEFAULT_AR_DETERMINISTIC to 1 or 0 accordingly.
  6. * configure: Regenerated.
  7. * config.in: Regenerated.
  8. * ar.c (deterministic): Initialize to -1.
  9. (decode_options, ranlib_main): Grok U option.
  10. (usage, ranlib_usage): Mention U; say for D and U which is the default.
  11. (default_deterministic): New function.
  12. (ranlib_main): Call it.
  13. (main): Likewise. Make newer_only && deterministic error
  14. non-fatal if it was just DEFAULT_AR_DETERMINISTIC and not the D option.
  15. * doc/binutils.texi (ar cmdline, ranlib): Document U modifier and
  16. --enable-deterministic-archives behavior.
  17. 2011-12-16 Tristan Gingold <gingold@adacore.com>
  18. * od-macho.c: Include mach-o/codesign.h
  19. (OPT_CODESIGN): Define.
  20. (options): Add an entry for codesign.
  21. (mach_o_help): Likewise.
  22. (dump_header): Fix indentation.
  23. (dump_thread): Do not test result of xmalloc.
  24. (bfd_mach_o_cs_magic, bfd_mach_o_cs_hash_type): New.
  25. (dump_code_signature_superblob): New function.
  26. (swap_code_codedirectory_v1_in): Likewise.
  27. (hexdump): Likewise.
  28. (dump_code_signature_codedirectory): Likewise.
  29. (dump_code_signature_blob, dump_code_signature): Likewise.
  30. (dump_load_command): Dump code signature.
  31. (mach_o_dump): Likewise.
  32. 2011-12-15 Andreas Tobler <andreast@fgznet.ch>
  33. * readelf.c (get_symbol_type): Add ELFOSABI_FREEBSD to the
  34. supported abi's.
  35. 2011-12-13 Tristan Gingold <gingold@adacore.com>
  36. * od-macho.c: New file.
  37. * objdump.h (objdump_private_desc_mach_o): Add.
  38. * configure.in: Add Mach-O od_vectors.
  39. * Makefile.am (CFILES): Add od-macho.c
  40. * configure: Regenerate.
  41. * Makefile.in: Regenerate.
  42. 2011-12-06 David Daney <david.daney@cavium.com>
  43. * readelf.c (dynamic_section_mips_val): Factor out trailing '\n'
  44. from printed strings and move it to the end of the function.
  45. Use BFD_VMA_FMT for printf format specifier for dynamic tag value.
  46. Use print_vma() to print dynamic tag values.
  47. 2011-12-02 Nick Clifton <nickc@redhat.com>
  48. * readelf.c (ia64_process_unwind): Turn into a void funtion.
  49. (hppa_process_unwind): Likewise.
  50. (arm_process_unwind): Likewise.
  51. (process_unwind): Likewise.
  52. (arm_get_section_word): Rename to get_unwind_section_word.
  53. Add sym_name parameter to return the offset into the string table
  54. of the symbol associated with the reloc applied to the word.
  55. (decode_tic6x_unwind_regmask): Add NULL argument to invocation of
  56. get_unwind_section_word.
  57. (dump_arm_unwind): Likewise.
  58. (decode_arm_unwind_bytecode): Prepend a comma when *not* the first
  59. register in a list.
  60. (decode_arm_unwind): If the returned function address is 0 and a
  61. valid symname offset is provided use that to compute the name
  62. associated with the entry.
  63. Add extra checks of the compact model index entry.
  64. 2011-11-29 Roland McGrath <mcgrathr@google.com>
  65. * ar.c (ranlib_usage): Describe -D.
  66. (ranlib_main): Parse -D.
  67. (ranlib_touch): Set BFD_DETERMINISTIC_OUTPUT under -D.
  68. * doc/binutils.texi (ranlib): Describe -D, and also --help/-h/-H.
  69. 2011-11-28 Nick Clifton <nickc@redhat.com>
  70. PR binutils/13421
  71. * readelf.c (arm_section_get_word): Add descriptive comments.
  72. Initliase the rel_type field of the arm_sec structure.
  73. (expand_prel31): Rename to arm_expand_prel31.
  74. (dump_arm_unwind): Use new name.
  75. Print the function name based on the function address entry.
  76. 2011-11-11 Andreas Schwab <schwab@linux-m68k.org>
  77. * readelf.c (process_program_headers): Fix typo printing p_memsz
  78. field.
  79. 2011-11-01 DJ Delorie <dj@redhat.com>
  80. * readelf.c: Include elf/rl78.h
  81. (guess_is_rela): Handle EM_RL78.
  82. (dump_relocations): Likewise.
  83. (get_machine_name): Likewise.
  84. (is_32bit_abs_reloc): Likewise.
  85. * NEWS: Mention addition of RL78 support.
  86. * MAINTAINERS: Add myself as RL78 port maintainer.
  87. 2011-10-28 Ian Lance Taylor <iant@google.com>
  88. * dwarf.c (display_debug_frames): If do_debug_frames_interp,
  89. DW_CFA_restore goes to DW_CFA_undefined, not DW_CFA_unreferenced.
  90. 2011-10-28 Walter Lee <walt@tilera.com>
  91. * NEWS: Mention addition of TILEPro and TILE-Gx support.
  92. * MAINTAINERS: Add myself as TILEPro and TILE-Gx port maintainer.
  93. 2011-10-27 Joern Rennecke <joern.rennecke@embecosm.com>
  94. * MAINTAINERS: Add myself as EPIPHANY port maintainer.
  95. 2011-10-25 Mike Frysinger <vapier@gentoo.org>
  96. * Makefile.am (syslex.@OBJEXT@): Add -I$(srcdir).
  97. * Makefile.in: Regen.
  98. 2011-10-25 Joern Rennecke <joern.rennecke@embecosm.com>
  99. * readelf.c: Include "elf/epiphany.h".
  100. (guess_is_rela, dump_relocation): Handle EM_ADAPTEVA_EPIPHANY.
  101. (get_machine_name, is_32bit_abs_reloc, is_32bit_pcrel_reloc): Likewise.
  102. (is_16bit_abs_reloc, is_none_reloc): Likewise.
  103. * po/binutils.pot: Regenerate.
  104. 2011-10-25 Kai Tietz <ktietz@redhat.com>
  105. * winduni.h (unicode_from_ascii_len): New prototype.
  106. * winduni.c (unicode_from_ascii_len): New function.
  107. * windres.h (define_stringtable): Add additional length argument.
  108. * windres.c (define_stringtable): Add length argument for string.
  109. * rcparse.y (res_unicode_sizedstring): New rule.
  110. (res_unicode_sizedstring_concat): Likewise.
  111. (string_data): Adjust rule.
  112. 2011-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
  113. * dwarf.c (read_and_display_attr_value) <DW_AT_import>: Add CU_OFFSET
  114. also for DW_FORM_ref_udata.
  115. 2011-10-24 Nick Clifton <nickc@redhat.com>
  116. * po/ja.po: Updated Japanese translation.
  117. 2011-10-16 H.J. Lu <hongjiu.lu@intel.com>
  118. PR binutils/13278
  119. * ar.c (open_inarch): Set the target from the first object
  120. on the list only if it isn't set.
  121. 2011-10-13 Nick Clifton <nickc@redhat.com>
  122. Fixes to aid translation:
  123. * addr2line.c (translate_address): Add comments describing context
  124. of a couple of printf statements.
  125. * ar.c (write_archive): Allow translation of error message.
  126. * bucomm.c (endian_string): Allow translation of strings.
  127. (display_target_list): Allow translation.
  128. * coffdump.c (dump_coff_type): Allow translation of output.
  129. (dump_coff_where): Likewise.
  130. (dump_coff_symbol): Likewise.
  131. (dump_coff_scope): Likewise.
  132. (dump_coff_sfile): Likewise.
  133. (dump_coff_section): Likewise.
  134. (coff_dump): Likewise.
  135. * dlltool (def_version): Allow translation of output.
  136. (run): Likewise.
  137. * dllwrap.c (run): Allow translation of output.
  138. * dwarf.c (print_dwarf_vma): Allow translation of output.
  139. (process_extended_line_op): Remove spurious translation.
  140. Add translation for strings that can be translated.
  141. (decode_location_exression): Allow translation of output.
  142. (read_and_display_attr_value): Allow translation of output.
  143. * readelf.c (slurp_rela_relocs): Add translation for error
  144. messages when failing to get data.
  145. (slurp_rel_relocs): Likewise.
  146. (get_32bit_elf_symbols): Likewise.
  147. (get_64bit_elf_symbols): Likewise.
  148. (dump_ia64_vms_dynamic_relocs): Replace abbreviation with full
  149. word.
  150. (process_relocs): Remove spurious translation.
  151. (decode_tic6x_unwind_bytecode): Likewise.
  152. (process_version_section): Improve error messages.
  153. (process_mips_specific): Likewise.
  154. (print_gnu_note): Remove spurious translation.
  155. (print_stapsdt_note): Likewise.
  156. (get_ia64_vms_note_type): Likewise.
  157. * sysdump.c (getCHARS): Allow translation.
  158. (fillup): Allow translation of output.
  159. (getone): Likewise.
  160. (must): Likewise.
  161. (derived_type): Likewise.
  162. * doc/binutils.doc (addr2line): Extend description of command line
  163. options.
  164. * po/binutils.pot: Regenerate.
  165. 2011-10-13 Nick Clifton <nickc@redhat.com>
  166. PR binutils/13219
  167. * readelf.c (GET_ELF_SYMBOLS): Add sym_count parameter.
  168. (get_32bit_elf_symbols): Add num_syms_return argument.
  169. Return the number of symbols loaded into the symbol table.
  170. (get_64bit_elf_symbols): Likewise.
  171. (process_section_headers): Use GET_ELF_SYMBOLS to initialise
  172. symbol count.
  173. (proces_relocs): Likewise.
  174. (ia64_process_unwind): Likewise.
  175. (hppa_process_unwind): Likewise.
  176. (arm_process_unwind): Likewise.
  177. (process_dynamic_section): Likewise.
  178. (process_version_sections): Likewise.
  179. (process_symbol_table): Likewise.
  180. (process_section_groups): Likewise.
  181. Add check before indexing into the symbol table.
  182. (apply_relocations): Likewise.
  183. 2011-10-11 Chris <player1@onet.eu>
  184. PR binutils/13051
  185. Fix a syntax error bug when compiling rc files with the VERSIONINFO resource
  186. containing more than one language block inside a single StringFileInfo block.
  187. * windint.h (rc_ver_stringtable): New structure definition.
  188. (rc_ver_info): Use it.
  189. * rcparse.y (verstringtable): New variable.
  190. (verstringtables): New type.
  191. (verstringtables:): New rule declaration.
  192. (verblocks:): Use it.
  193. * resrc.c (append_ver_stringtable): New function.
  194. (append_ver_stringfileinfo): Update to use stringtables.
  195. * windres.h (append_ver_stringfileinfo): Update declaration.
  196. (append_ver_stringtable): New declaration.
  197. * resrc.c (write_rc_versioninfo): Update to support multiple blocks.
  198. * resbin.c (bin_to_res_version): Likewise.
  199. (res_to_bin_versioninfo): Likewise.
  200. 2011-10-10 Nick Clifton <nickc@redhat.com>
  201. * po/bg.po: Updated Bulgarian translation.
  202. * po/es.po: Updated Spansih translation.
  203. * po/fi.po: Updated Finnish translation.
  204. * po/fr.po: Updated French translation.
  205. 2011-10-05 DJ Delorie <dj@redhat.com>
  206. Nick Clifton <nickc@redhat.com>
  207. * readelf.c (get_machine_dlags): Add support for RX's PID mode.
  208. 2011-10-04 Paul Woegerer <paul_woegerer@mentor.com>
  209. Carlos O'Donell <carlos@codesourcery.com>
  210. * dwarf.c (display_debug_lines_decoded): Index directory_table with
  211. directory_index from file_table entry.
  212. 2011-09-30 Cary Coutant <ccoutant@google.com>
  213. * binutils/dwarf.h (dwarf_section_display_enum): Add missing enum
  214. constant.
  215. 2011-09-28 Tristan Gingold <gingold@adacore.com>
  216. * od-xcoff.c (dump_xcoff32_aout_header): Fix typo.
  217. 2011-09-27 Tristan Gingold <gingold@adacore.com>
  218. * od-xcoff.c (dump_xcoff32_aout_header): Remove some gettext macros.
  219. (dump_xcoff32_sections_header): Likewise.
  220. (dump_xcoff32_symbols, dump_xcoff32_relocs): Likewise.
  221. (dump_xcoff32_lineno, dump_xcoff32_loader): Likewise.
  222. (dump_xcoff32_except): Likewise.
  223. (dump_xcoff32_typchk, dump_xcoff32_tbtags): Likewise.
  224. 2011-09-27 Tristan Gingold <gingold@adacore.com>
  225. * readelf.c (print_ia64_vms_note): Fix xgettext warnings.
  226. 2011-09-22 Tristan Gingold <gingold@adacore.com>
  227. * NEWS: Add marker for 2.22.
  228. 2011-09-21 David S. Miller <davem@davemloft.net>
  229. * MAINTAINER: Take over from Jakub Jalinek as SPARC maintainer.
  230. * readelf.c (display_sparc_hwcaps): New.
  231. (display_sparc_gnu_attribute): New.
  232. (process_sparc_specific): New.
  233. (process_arch_specific): When EM_SPARC, EM_SPARC32PLUS,
  234. or EM_SPARCV9 invoke process_sparc_specific.
  235. 2011-09-18 H.J. Lu <hongjiu.lu@intel.com>
  236. PR binutils/13196
  237. * dwarf.c (display_debug_aranges): Check zero address size.
  238. 2011-09-15 H.J. Lu <hongjiu.lu@intel.com>
  239. PR binutils/13180
  240. * objcopy.c (is_strip_section_1): New.
  241. (is_strip_section): Use it. Remove the group section if all
  242. members are removed.
  243. 2011-09-08 Nick Clifton <nickc@redhat.com>
  244. * po/ja.po: Updated Japanese translation.
  245. 2011-08-26 Nick Clifton <nickc@redhat.com>
  246. * po/es.po: Updated Spanish translation.
  247. 2011-08-08 Marcus Comstedt <marcus@mc.pp.se>
  248. PR binutils/12964
  249. * Makefile.am (embedspu): Use awk rather than sed.
  250. * Makefile.in: Regenerate.
  251. 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
  252. * dwarf.c (read_and_display_attr_value): Recognize DW_FORM_data4 and
  253. DW_FORM_data8 as location list pointers only for DWARF < 4.
  254. 2011-07-26 Jakub Jelinek <jakub@redhat.com>
  255. * NEWS: Mention .debug_macro support.
  256. * dwarf.c (read_and_display_attr_value): Don't print a tab
  257. if attribute is 0.
  258. (get_AT_name): Handle DW_AT_GNU_macros.
  259. (get_line_filename_and_dirname, display_debug_macro): New
  260. functions.
  261. (debug_displays): Add an entry for .debug_macro and .zdebug_macro.
  262. * readelf.c (process_section_headers): With do_debug_macinfo
  263. handle also .debug_macro sections.
  264. * dwarf.h (dwarf_section_display_enum): Add macro.
  265. 2011-07-24 Chao-ying Fu <fu@mips.com>
  266. Maciej W. Rozycki <macro@codesourcery.com>
  267. * readelf.c (get_machine_flags): Handle microMIPS ASE.
  268. (get_mips_symbol_other): Likewise.
  269. 2011-07-22 H.J. Lu <hongjiu.lu@intel.com>
  270. * dwarf.c (init_dwarf_regnames): Handle EM_K1OM.
  271. * elfedit.c (elf_machine): Support EM_K1OM.
  272. (elf_class): Likewise.
  273. * readelf.c (guess_is_rela): Handle EM_K1OM.
  274. (dump_relocations): Likewise.
  275. (get_machine_name): Likewise.
  276. (get_section_type_name): Likewise.
  277. (get_elf_section_flags): Likewise.
  278. (process_section_headers): Likewise.
  279. (get_symbol_index_type): Likewise.
  280. (is_32bit_abs_reloc): Likewise.
  281. (is_32bit_pcrel_reloc): Likewise.
  282. (is_64bit_abs_reloc): Likewise.
  283. (is_64bit_pcrel_reloc): Likewise.
  284. (is_none_reloc): Likewise.
  285. * doc/binutils.texi: Mention K1OM for elfedit.
  286. 2011-07-11 Cary Coutant <ccoutant@google.com>
  287. PR 12983
  288. * binutils/nm.c (display_file): Decompress debug sections when
  289. printing line numbers.
  290. 2011-07-03 Samuel Thibault <samuel.thibault@gnu.org>
  291. Thomas Schwinge <thomas@schwinge.name>
  292. PR binutils/12913
  293. * elfedit.c (osabis): Use ELFOSABI_GNU name instead of ELFOSABI_LINUX
  294. alias and ELFOSABI_HURD. Add GNU alias.
  295. * readelf.c (get_osabi_name, get_symbol_binding, get_symbol_type):
  296. Likewise.
  297. * doc/binutils.texi <elfedit>: Update accordingly.
  298. 2011-07-01 Nick Clifton <nickc@redhat.com>
  299. PR binutils/12325
  300. * doc/binutils.texi (ar cmdline): Document --target, --version and
  301. --help command line options.
  302. 2011-06-30 Nick Clifton <nickc@redhat.com>
  303. PR binutils/12558
  304. * ar.c (main): When asked to move members in an archive that is
  305. being created, ignore the move request.
  306. 2011-06-29 Nick Clifton <nickc@redhat.com>
  307. * readelf.c (get_section_type_name): When displaying an unknown
  308. section type display the hex value first on the assumption that
  309. the full message will probably be truncated into a 15 character
  310. field.
  311. 2011-06-22 Jakub Jelinek <jakub@redhat.com>
  312. * dwarf.c (decode_location_expression): For DW_OP_GNU_convert and
  313. DW_OP_GNU_reinterpret, if uvalue is 0, don't add cu_offset.
  314. Handle DW_OP_GNU_parameter_ref.
  315. 2011-06-16 Tom Tromey <tromey@redhat.com>
  316. * dwarf-mode.el (dwarf-do-insert-substructure): Call
  317. expand-file-name.
  318. (dwarf-do-refresh): Likewise.
  319. 2011-06-15 Ulrich Weigand <ulrich.weigand@linaro.org>
  320. * readelf.c (get_note_type): Handle NT_ARM_VFP.
  321. 2011-06-13 Walter Lee <walt@tilera.com>
  322. * readelf.c: Include tilepro.h and tilegx.h.
  323. (guess_is_rela): Handle EM_TILEGX and EM_TILEPRO.
  324. (dump_relocations): Likewise.
  325. (get_machine_name): Likewise.
  326. (is_32bit_abs_reloc): Likewise.
  327. (is_32bit_pcerel_reloc): Likewise.
  328. (is_64bit_abs_reloc): Likewise.
  329. (is_64bit_pcrel_reloc): Likewise.
  330. 2011-06-09 Tristan Gingold <gingold@adacore.com>
  331. * od-xcoff.c (xcoff32_read_symbols): Allow missing string table
  332. length.
  333. 2011-06-08 Nick Clifton <nickc@redhat.com>
  334. PR binutils/12855
  335. * readelf.c (process_version_sections): Handle binaries containing
  336. corrupt version information.
  337. (process_symbol_table): Stop processing a symbol's version
  338. information if it could not be read in.
  339. (get_data): Add comment describing the function.
  340. (process_section_headers): Set dynamic_strings_length to 0 if the
  341. dynamic strings could not be read in.
  342. (process_dynamic_section): Likewise.
  343. (process_section_groups): Stop processing the group information if
  344. the data could not be read in.
  345. (hppa_processs_unwind): Assert that there is only one string table
  346. in the file.
  347. (arm_process_unwind): Likewise.
  348. (ia64_process_unwind): Likewise.
  349. Set the size of the unwind auxiliary information to 0 if the data
  350. could not be read.
  351. (load_specific_debug_section): Handle a failure to read in the
  352. section.
  353. (process_mips_specific): Stop display of the PLT GOT section if it
  354. could not be read in.
  355. 2011-06-08 Tristan Gingold <gingold@adacore.com>
  356. * makefile.vms (DEFS): Define OBJDUMP_PRIVATE_VECTORS.
  357. 2011-06-07 Cary Coutant <ccoutant@google.com>
  358. * dwarf.c: Fix conversion to TU number.
  359. 2011-06-02 Nick Clifton <nickc@redhat.com>
  360. * resres.c: Fix spelling typo.
  361. * windint.h: Likewise.
  362. * windmc.c: Likewise.
  363. * windres.c: Likewise.
  364. * po/POTFILES.in: Regenerate.
  365. * po/binutils.pot: Regenerate.
  366. 2011-06-01 Daniel Jacobowitz <drow@false.org>
  367. * MAINTAINERS: Update my email address.
  368. 2011-05-31 Matthias Klose <doko@ubuntu.com>
  369. * configure.in (BUILD_INSTALL_MISC): Only add embedspu once.
  370. * configure: Regenerate.
  371. 2011-05-30 Alan Modra <amodra@gmail.com>
  372. PR binutils/12820
  373. * Makefile.am (bin_PROGRAMS): Move BUILD_INSTALL_MISC to..
  374. (bin_SCRIPTS): ..here.
  375. (EXTRA_SCRIPTS): Define.
  376. (EXTRA_DIST): Add embedspu.sh.
  377. (DISTCLEANFILES): Add embedspu.
  378. (embedspu): Depend on Makefile. Replace sed "s" command with "c".
  379. * Makefile.in: Regenerate.
  380. 2011-05-25 Jakub Jelinek <jakub@redhat.com>
  381. * dwarf.c (loc_offsets): New variable.
  382. (loc_offsets_compar): New routine.
  383. (display_debug_loc): Handle loc_offsets not being in ascending order
  384. and also a single .debug_loc entry being used multiple times.
  385. 2011-05-18 Nick Clifton <nickc@redhat.com>
  386. PR binutils/12753
  387. * nm.c (filter_symbols): Treat unique symbols as global symbols.
  388. * doc/binutils.texi (nm): Mention that some lowercase letters
  389. actually indicate global symbols.
  390. 2011-05-15 Tristan Gingold <gingold@adacore.com>
  391. * od-xcoff.c: New file.
  392. * objdump.h: New file.
  393. * objdump.c: Include objdump.h
  394. (dump_private_options, objdump_private_vectors): New variables.
  395. (usage): Mention -P/--private. Display handled options.
  396. (long_options): Add -P/--private.
  397. (dump_target_specific): New function.
  398. (dump_bfd): Handle dump_private_options.
  399. (main): Handle -P.
  400. * doc/binutils.texi (objdump): Document -P/--private.
  401. * configure.in (OBJDUMP_PRIVATE_VECTORS, OBJDUMP_PRIVATE_OFILES):
  402. New variables, compute them.
  403. (od_vectors): Add vectors for private dumpers. Make them uniq.
  404. (OBJDUMP_DEFS): Add OBJDUMP_PRIVATE_VECTORS.
  405. * Makefile.am (HFILES): Add objdump.h
  406. (CFILES): Add od-xcoff.c
  407. (OBJDUMP_PRIVATE_OFILES): New variable.
  408. (objdump_DEPENDENCIES): Append OBJDUMP_PRIVATE_OFILES.
  409. (objdump_LDADD): Ditto.
  410. (EXTRA_objdump_SOURCES): Define.
  411. * Makefile.in: Regenerate.
  412. * configure: Regenerate.
  413. 2011-05-10 Tristan Gingold <gingold@adacore.com>
  414. * dwarf.c (process_extended_line_op): Dump unknown records.
  415. 2011-05-07 Alan Modra <amodra@gmail.com>
  416. PR binutils/12632
  417. * objcopy.c (copy_archive): Check bfd_openw result in unknown object
  418. case. Rewrite without goto.
  419. 2011-05-03 Jakub Jelinek <jakub@redhat.com>
  420. * dwarf.c (decode_location_expression): Handle DW_OP_GNU_const_type,
  421. DW_OP_GNU_regval_type, DW_OP_GNU_deref_type, DW_OP_GNU_convert
  422. and DW_OP_GNU_reinterpret.
  423. * MAINTAINERS: Add myself as DWARF2 maintainer.
  424. 2011-05-02 Alan Modra <amodra@gmail.com>
  425. PR binutils/12720
  426. Revert the following change
  427. Michael Snyder <msnyder@vmware.com>
  428. * ar.c (move_members): Plug memory leak.
  429. (delete_members): Plug memory leak.
  430. 2011-04-28 Tom Tromey <tromey@redhat.com>
  431. * NEWS: Add note about --dwarf-depth, --dwarf-start, and
  432. dwarf-mode.el.
  433. * objdump.c (suppress_bfd_header): New global.
  434. (usage): Update.
  435. (OPTION_DWARF_DEPTH, OPTION_DWARF_START): New constants.
  436. (options): Add dwarf-depth and dwarf-start entries.
  437. (dump_bfd): Use suppress_bfd_header.
  438. (main): Handle OPTION_DWARF_START, OPTION_DWARF_DEPTH.
  439. * doc/binutils.texi (objcopy): Document --dwarf-depth and
  440. --dwarf-start.
  441. (readelf): Likewise.
  442. * dwarf-mode.el: New file.
  443. * dwarf.c (dwarf_cutoff_level, dwarf_start_die): New globals.
  444. (read_and_display_attr_value): Also check debug_info_p.
  445. (process_debug_info): Handle dwarf_start_die and
  446. dwarf_cutoff_level.
  447. * dwarf.h (dwarf_cutoff_level, dwarf_start_die): Declare.
  448. * readelf.c (usage): Update.
  449. (OPTION_DWARF_DEPTH): New macro.
  450. (OPTION_DWARF_START): Likewise.
  451. (options): Add dwarf-depth and dwarf-start entries.
  452. (parse_args): Handle OPTION_DWARF_START and OPTION_DWARF_DEPTH.
  453. 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
  454. * dwarf.c (display_gdb_index): Support version 5, warn on version 4.
  455. 2011-04-27 Tristan Gingold <gingold@adacore.com>
  456. * dwarf.c (process_extended_line_op): Handle
  457. DW_LNE_HP_source_file_correlation.
  458. 2011-04-27 Nick Clifton <nickc@redhat.com>
  459. * po/da.po: Updated Danish translation.
  460. 2011-04-21 Tom Tromey <tromey@redhat.com>
  461. * readelf.c (print_stapsdt_note): New function.
  462. (process_note): Use it.
  463. 2011-04-21 Tom Tromey <tromey@redhat.com>
  464. * readelf.c (get_stapsdt_note_type): New function.
  465. (process_note): Recognize "stapsdt" notes.
  466. 2011-04-21 Tom Tromey <tromey@redhat.com>
  467. * readelf.c (process_corefile_note_segment): Change header field
  468. widths.
  469. (process_note): Change field widths.
  470. 2011-04-21 Tom Tromey <tromey@redhat.com>
  471. * readelf.c (print_gnu_note): New function.
  472. (process_note): Use it.
  473. 2011-04-21 Jie Zhang <jzhang918@gmail.com>
  474. * MAINTAINERS: Update my email address.
  475. 2011-04-11 Kai Tietz <ktietz@redhat.com>
  476. * windres.c (usage): Add new --preprocessor-arg option.
  477. (option_values): Add new OPTION_PREPROCESSOR_ARG enumerator.
  478. (option long_options): Add preprocessor-arg option.
  479. (main): Handle it.
  480. * doc/binutils.texi: Add documentation for --preprocessor-arg
  481. option.
  482. * NEWS: Add line about new --preprocessor-arg option for windres.
  483. 2011-04-08 John Marino <binutils@marino.st>
  484. * arlex.l: Prevent redefinition of YY_NO_UNPUT.
  485. * syslex.l: Likewise.
  486. 2011-04-07 Paul Brook <paul@codesourcery.com>
  487. * readelf.c (arm_section_get_word): Handle C6000 relocations.
  488. (decode_tic6x_unwind_regmask, decode_arm_unwind_bytecode,
  489. decode_tic6x_unwind_bytecode, expand_prel31): New functions.
  490. (decode_arm_unwind): Split out common code from ARM specific bits.
  491. (dump_arm_unwind): Use expand_prel31.
  492. (arm_process_unwind): Handle SHT_C6000_UNWIND sections.
  493. (process_unwind): Add SHT_C6000_UNWIND.
  494. 2011-04-06 Joseph Myers <joseph@codesourcery.com>
  495. * configure.in (thumb-*-pe*): Remove.
  496. * configure: Regenerate.
  497. 2011-04-05 Sterling Augustine <augustine.sterling@gmail.com>
  498. * MAINTAINERS: Update my email address.
  499. 2011-04-03 H.J. Lu <hongjiu.lu@intel.com>
  500. PR binutils/12632
  501. * objcopy.c (copy_unknown_object): Make the archive element
  502. readable.
  503. 2011-04-03 David S. Miller <davem@davemloft.net>
  504. * objdump.c (dump_reloc_set): Output R_SPARC_OLO10 relocations
  505. accurately, rather than how they are represented internally.
  506. 2011-03-31 Tristan Gingold <gingold@adacore.com>
  507. * makefile.vms (readelf.exe): New target.
  508. 2011-03-31 Tristan Gingold <gingold@adacore.com>
  509. * makefile.vms (DEBUG_OBJS): Add elfcomm.obj.
  510. 2011-03-31 Bernd Schmidt <bernds@codesourcery.com>
  511. * readelf.c (get_symbol_index_type): Handle SCOM for TIC6X.
  512. (dump_relocations): Likewise.
  513. 2011-03-31 Tristan Gingold <gingold@adacore.com>
  514. * readelf.c (get_ia64_vms_note_type): New function.
  515. (print_ia64_vms_note): Ditto.
  516. (process_note): Recognize VMS/ia64 specific notes.
  517. Display them.
  518. (process_corefile_note_segment): Decode VMS notes.
  519. 2011-03-30 Catherine Moore <clm@codesourcery.com>
  520. * addr2line.c (translate_addresses): Sign extend the pc
  521. if sign_extend_vma is enabled.
  522. 2011-03-30 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
  523. * readelf.c (process_gnu_liblist): Stop memory leak.
  524. 2011-03-29 Alan Modra <amodra@gmail.com>
  525. * coffdump.c: Include bfd_stdint.h
  526. 2011-03-28 Pierre Muller <muller@ics.u-strasbg.fr>
  527. * coffdump.c (coff_dump): Correct spelling error.
  528. (show_usage): Replace SYSROFF by COFF.
  529. 2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
  530. * coffdump.c (dump_coff_scope): Use double typecast for pointer P
  531. to allow compilation for all targets.
  532. 2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
  533. * dwarf.c (process_debug_info): Use offset_size to determine
  534. the bit-size of the computation unit's offset.
  535. (decode_location_expression): Use dwarf_vmatoa function to display
  536. DW_OP_addr OP.
  537. (process_debug_info): Use dwarf_vma type for local variables
  538. length and type_offset.
  539. 2011-03-25 Michael Snyder <msnyder@vmware.com>
  540. * strings.c (print_strings): Plug memory leak.
  541. * ar.c (move_members): Plug memory leak.
  542. (delete_members): Plug memory leak.
  543. (write_archive): Plug memory leak.
  544. * ieee.c (ieee_add_bb11): Plug memory leak.
  545. (ieee_function_type): Likewise.
  546. (ieee_class_baseclass): Likewise.
  547. * prdbg.c (pr_function_type): Close memory leaks.
  548. (pr_method_type): Likewise.
  549. (tg_class_static_member): Likewise.
  550. (tg_class_method_variant): Likewise.
  551. (tg_class_static_method_variant): Likewise.
  552. * stabs.c (parse_stab_enum_type): Fix memory leaks.
  553. (parse_stab_struct_type): Likewise.
  554. (parse_stab_struct_fields): Likewise.
  555. (parse_stab_one_struct_field): Likewise.
  556. (parse_stab_members): Likewise.
  557. (stab_demangle_qualified): Likewise.
  558. * objdump.c (dump_reloc_set): Free malloced memory.
  559. * bucomm.c (make_tempname): Stop memory leak.
  560. 2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
  561. Replace bfd_vma type and analog types by dwarf_vma and analogs.
  562. Use dwarf specific print functions to display these type values.
  563. * dwarf.h (dwarf_signed_vma): New type;
  564. (DWARF2_External_LineInfo): Replace bfd_vma by dwarf_vma.
  565. (DWARF2_External_PubNames): Likewise.
  566. (DWARF2_External_CompUnit): Likewise.
  567. (DWARF2_External_ARange): Likewise.
  568. (read_leb128): Change return type to dwarf_vma.
  569. * dwarf.c (print_dwarf_vma): Use __MINGW32__ conditional and
  570. check byte_size values.
  571. (dwarf_vmatoa): Change parameter type to dwarf_vma.
  572. (dwarf_svmatoa): New static function.
  573. (read_leb128): Change return type to dwarf_vma.
  574. (read_sleb128): New static function.
  575. (struct State_Machine_Registers): Change address field type to
  576. dwarf_vma.
  577. (process_extended_line_op): Adapt to type changes.
  578. (fetch_indirect_string): Likewise.
  579. (idisplay_block): Likewise.
  580. (decode_location_expression): Likewise.
  581. (read_and_display_attr_value): Likewise.
  582. (process_debug_info): Likewise.
  583. (display_debug_lines_raw): Likewise.
  584. (display_debug_lines_decoded): Likewise.
  585. (SLEB macro): Use new read_sleb128 function.
  586. 2011-03-17 Alan Modra <amodra@gmail.com>
  587. PR 12590
  588. * ar.c (ranlib_main): Init arg_index properly.
  589. (usage): Describe --target.
  590. 2011-03-16 Jakub Jelinek <jakub@redhat.com>
  591. * dwarf.c (dw_TAG_name): Handle DW_TAG_GNU_call_site_parameter.
  592. (read_and_display_attr_value): Handle DW_AT_GNU_call_site_data_value,
  593. DW_AT_GNU_call_site_target and DW_AT_GNU_call_site_target_clobbered.
  594. (get_AT_name): Handle DW_AT_GNU_call_site_value,
  595. DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target,
  596. DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call,
  597. DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites and
  598. DW_AT_GNU_all_source_call_sites.
  599. (decode_location_expression) <case DW_OP_GNU_entry_value>: Adjust
  600. handling.
  601. 2011-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
  602. * dwarf.c (get_TAG_name): Handle DW_TAG_GNU_call_site.
  603. (decode_location_expression): Handle DW_OP_GNU_entry_value.
  604. (read_and_display_attr_value): Handle DW_AT_GNU_call_site_value.
  605. (get_AT_name): Likewise.
  606. 2011-03-14 Michael Snyder <msnyder@vmware.com>
  607. * objcopy.c (set_pe_subsystem): Free subsystem.
  608. * wrstabs.c (stab_start_struct_type): Close memory leak.
  609. * readelf.c (process_version_sections): Free symbols.
  610. * nm.c (display_rel_file): Free symsizes.
  611. 2011-03-10 Nick Clifton <nickc@redhat.com>
  612. * readelf.c (get_machine_name): Update EM_V850 entry.
  613. 2011-03-03 Mike Frysinger <vapier@gentoo.org>
  614. * objdump.c (usage): Fix single typo.
  615. * po/bg.po, po/binutils.pot, po/da.po, po/es.po, po/fi.po,
  616. po/fr.po, po/id.po, po/ja.po, po/ru.po, po/vi.po: Likewise.
  617. 2011-03-01 Akos Pasztory <akos.pasztory@gmail.com>
  618. PR binutils/12523
  619. * readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH.
  620. 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
  621. * debug.c (debug_start_source): Use filename_(n)cmp.
  622. * ieee.c (ieee_finish_compilation_unit): Likewise.
  623. (ieee_lineno): Likewise.
  624. * nlmconv.c (main): Likewise.
  625. * objcopy.c (strip_main): Likewise.
  626. (copy_main): Likewise.
  627. * objdump.c (show_line): Likewise.
  628. (dump_reloc_set): Likewise.
  629. * srconv.c (main): Likewise.
  630. * wrstabs.c (stab_lineno): Likewise.
  631. 2011-02-24 Zachary T Welch <zwelch@codesourcery.com>
  632. * readelf.c (decode_arm_unwind): Implement decoding of remaining
  633. ARM unwind instructions (i.e. VFP/NEON and Intel Wireless MMX).
  634. 2011-02-23 Kai Tietz <kai.tietz@onevision.com>
  635. * dwarf.c (read_leb128): Use bfd_vma instead of
  636. long type.
  637. (dwarf_vmatoa): New helper routine.
  638. (process_extended_line_op): Use for adr bfd_vma
  639. type and print those typed values via BFD_VMA_FMT
  640. or via dwarf_vmatoa for localized prints.
  641. (fetch_indirect_string): Adjust offset's type.
  642. (decode_location_expression): Adjust argument types
  643. and uvalue type.
  644. (read_and_display_attr_value): Likewise.
  645. (read_and_display_attr): Likewise.
  646. (decode_location_expression): Adjust printf format.
  647. (process_debug_info): Likewise.
  648. (display_debug_lines_raw): Likewise.
  649. (display_debug_lines_decoded): Likewise.
  650. (display_debug_pubnames): Likewise.
  651. (display_debug_loc): Likewise.
  652. (display_debug_aranges): Likewise.
  653. * dwarf.h (DWARF2_External_LineInfo,
  654. DWARF2_Internal_LineInfo, DWARF2_External_PubNames,
  655. DWARF2_Internal_PubNames, DWARF2_External_CompUnit,
  656. DWARF2_Internal_CompUnit, DWARF2_External_ARange,
  657. DWARF2_Internal_ARange): Added..
  658. (read_leb128): Adjust return type.
  659. 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  660. * configure: Regenerate.
  661. 2011-02-08 Nick Clifton <nickc@redhat.com>
  662. PR binutils/12467
  663. * readelf.c (process_program_headers): Issue a warning if there
  664. are no program headers but the file header has a non-zero program
  665. header offset.
  666. (process_section_headers): Issue a warning if there are no section
  667. headers but the file header has a non-zero section header offset.
  668. (process_section_groups): Reword the no section message so that it
  669. can be distinguished from the one issued by process_section_headers.
  670. 2011-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
  671. Doug Evans <dje@google.com>
  672. * dwarf.c (display_gdb_index): Support version 4, warn on version 3.
  673. 2011-01-19 Maciej W. Rozycki <macro@codesourcery.com>
  674. * readelf.c (process_object): Free dynamic_section after use.
  675. 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
  676. PR binutils/12408
  677. * readelf.c (process_archive): Free and reset dump_sects
  678. after processing each archive member.
  679. 2011-01-11 Andreas Schwab <schwab@redhat.com>
  680. * readelf.c (print_symbol): Handle symbol characters as unsigned.
  681. Whitespace fixes.
  682. 2011-01-10 Nick Clifton <nickc@redhat.com>
  683. * po/da.po: Updated Danish translation.
  684. 2011-01-06 Vladimir Siminov <sv@sw.ru>
  685. * bucomm.c (get_file_size): Check for negative sizes and issue a
  686. warning message if encountered.
  687. 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
  688. * version.c (print_version): Update copyright to 2011.
  689. For older changes see ChangeLog-2010
  690. Copyright (C) 2011 Free Software Foundation, Inc.
  691. Copying and distribution of this file, with or without modification,
  692. are permitted in any medium without royalty provided the copyright
  693. notice and this notice are preserved.
  694. Local Variables:
  695. mode: change-log
  696. left-margin: 8
  697. fill-column: 74
  698. version-control: never
  699. End: