ChangeLog-2010 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083
  1. 2010-12-15 Kai Tietz <kai.tietz@onevision.com>
  2. * dwarf.c (display_gdb_index): Fix printf types for
  3. used formatters.
  4. 2010-12-12 Peter Breitenlohner <peb@mppmu.mpg.de>
  5. PR binutils/12306
  6. * doc/binutils.texi: Fix typos in elfedit documentation.
  7. 2010-12-10 Alan Modra <amodra@gmail.com>
  8. * binemul.h (do_ar_emul_append): Declare.
  9. * binemul.c (any_ok): New function.
  10. (do_ar_emul_append): Rename from do_ar_emul_default_append. Make
  11. global, add check arg. Adjust callers.
  12. (ar_emul_default_replace): Tidy.
  13. * configure.tgt (powerpc-*-aix[5-9]*,rs6000-*-aix[5-9]*): Use
  14. bin_aix_emulation.
  15. * emul_aix.c (bin_aix5_emulation, ar_emul_aix_internal): Delete.
  16. (ar_emul_aix5_append, ar_emul_aix5_replace): Delete.
  17. (check_aix): New function.
  18. (ar_emul_aix_append, ar_emul_aix_replace): Rewrite.
  19. 2010-12-09 Mike Frysinger <vapier@gentoo.org>
  20. * .gitignore: New file.
  21. 2010-12-08 Alan Modra <amodra@gmail.com>
  22. * ar.c: Formatting.
  23. (usage): Correct help strings.
  24. (decode_options): Correct getopt_long short options. Remove
  25. duplicate non-handled option message.
  26. (main): Don't handle -M specially.
  27. 2010-12-08 Arnaud Lacombe <lacombar@gmail.com>
  28. * ar.c (long_options): Add target.
  29. (decode_options): Handle the --target option.
  30. (open_inarch): Check for plugin's target, default to --target
  31. (replace_members): Use generic `target'.
  32. * ar.c (operation): New global variable.
  33. (show_version): Likewise.
  34. (show_help): Likewise.
  35. (long_options): Likewise.
  36. (usage): Fix help string argument order.
  37. (decode_options): New.
  38. (ranlib_main): Use getopt_long.
  39. (main): Use decode_options.
  40. * ar.c (main): Split ranlib path.
  41. (ranlib_usage): New
  42. (ranlib_main): New
  43. 2010-12-03 Doug Evans <dje@google.com>
  44. * dwarf.c: #include "bfd_stdint.h".
  45. (do_gdb_index): New global.
  46. (display_gdb_index): New function.
  47. (dwarf_select_sections_by_names) Add "gdb_index".
  48. (dwarf_select_sections_all): Set do_gdb_index.
  49. (debug_displays): Add .gdb_index.
  50. * dwarf.h (do_gdb_index): Declare.
  51. * objdump.c (usage): Add gdb_index.
  52. * readelf.c (usage): Add gdb_index.
  53. (process_section_headers): Process ".gdb_index".
  54. * doc/binutils.texi (readelf): Document gdb_index dump.
  55. (objdump): Ditto.
  56. 2010-12-01 Kai Tietz <kai.tietz@onevision.com>
  57. PR binutils/11065
  58. * dlltool.c (dll_name_set_by_exp_name): New variable.
  59. (def_name): Allow setting of dll_name by .def file.
  60. (def_library): Likewise.
  61. (main): Set dll_name_set_by_exp_name, if dll_name is
  62. set indirect by exp_name.
  63. 2010-11-26 Alan Modra <amodra@gmail.com>
  64. * dwarf.c (decode_location_expression, display_debug_frames): Move
  65. code handling DW_EH_PE_pcrel into..
  66. (get_encoded_value): ..here.
  67. 2010-11-26 Alan Modra <amodra@gmail.com>
  68. * po/ja.po: Update.
  69. 2010-11-25 Alan Modra <amodra@gmail.com>
  70. * po/bg.po: Update.
  71. * po/es.po: Update.
  72. * po/fi.po: Update.
  73. * po/ja.po: Update.
  74. * po/ru.po: Update.
  75. * po/zh_CN.po: Update.
  76. 2010-11-21 H.J. Lu <hongjiu.lu@intel.com>
  77. PR binutils/12235
  78. * elfcomm.c: New.
  79. * elfcomm.h: Likewise.
  80. * Makefile.am (HFILES): Add elfcomm.h.
  81. (CFILES): Add elfcomm.c.
  82. (ELFLIBS): New.
  83. (readelf_SOURCES): Add $(ELFLIBS).
  84. (elfedit_SOURCES): Likewise.
  85. (objdump_SOURCES): Likewise.
  86. * Makefile.in: Regenerated.
  87. * dwarf.c: Include "elfcomm.h".
  88. (byte_get): Removed.
  89. (byte_get_little_endian): Likewise.
  90. (byte_get_big_endian): Likewise.
  91. (byte_get_signed): Likewise.
  92. (error): Likewise.
  93. (warn): Likewise.
  94. * dwarf.h (dwarf_vma): Defined with HOST_WIDEST_INT.
  95. (dwarf_size_type): Likewise.
  96. (byte_get): Removed.
  97. (byte_get_signed): Likewise.
  98. (byte_get_little_endian): Likewise.
  99. (byte_get_big_endian): Likewise.
  100. (error): Likewise.
  101. (warn): Likewise.
  102. * elfedit.c: Include "elfcomm.h". Don't include "aout/ar.h".
  103. Call error () instead of non_fatal ().
  104. (streq): Removed.
  105. (strneq): Likewise.
  106. (const_strneq): Likewise.
  107. (non_fatal): Likewise.
  108. (BYTE_GET): Likewise.
  109. (BYTE_PUT): Likewise.
  110. (byte_get): Likewise.
  111. (byte_put): Likewise.
  112. (byte_get_little_endian): Likewise.
  113. (byte_get_big_endian): Likewise.
  114. (byte_put_little_endian): Likewise.
  115. (byte_put_big_endian): Likewise.
  116. (adjust_relative_path): Likewise.
  117. (archive_info): Likewise.
  118. (setup_archive): Likewise.
  119. (release_archive): Likewise.
  120. (setup_nested_archive): Likewise.
  121. (get_archive_member_name): Likewise.
  122. (get_archive_member_name_at): Likewise.
  123. (make_qualified_name): Likewise.
  124. * objdump.c: Include "elfcomm.h".
  125. * readelf.c: Include "elfcomm.h". Don't include "aout/ar.h".
  126. (BYTE_GET): Removed.
  127. (BYTE_GET_SIGNED): Removed.
  128. (streq): Likewise.
  129. (strneq): Likewise.
  130. (const_strneq): Likewise.
  131. (byte_put): Likewise.
  132. (byte_put_little_endian): Likewise.
  133. (byte_put_big_endian): Likewise.
  134. (adjust_relative_path): Likewise.
  135. (archive_info): Likewise.
  136. (setup_archive): Likewise.
  137. (release_archive): Likewise.
  138. (setup_nested_archive): Likewise.
  139. (get_archive_member_name): Likewise.
  140. (get_archive_member_name_at): Likewise.
  141. (make_qualified_name): Likewise.
  142. 2010-11-18 Alan Modra <amodra@gmail.com>
  143. PR binutils/11742
  144. * readelf.c (get_archive_member_name): Formatting. Properly
  145. handle full size ar_name.
  146. 2010-11-17 Alan Modra <amodra@gmail.com>
  147. * ar.c (print_contents): Don't internationalize strings without words.
  148. * dwarf.c (process_extended_line_op): Likewise.
  149. (process_debug_info): Likwise.
  150. (display_debug_lines_raw): Likewise.
  151. (display_debug_lines_decoded): Likewise.
  152. (display_debug_abbrev): Likewise.
  153. * readelf.c (process_file_header): Likewise.
  154. (GET_OP): Likewise.
  155. (decode_arm_unwind): Likewise.
  156. (process_mips_specific): Likewise.
  157. * resrc.c (run_cmd): Likewise.
  158. (rcparse_warning): Likewise.
  159. * objdump.c (dump_headers): Don't print "Pg".
  160. 2010-11-16 Jorma Karvonen <karvonen.jorma@gmail.com>
  161. * windmc.c: ,%s' -> `%s' in a number of strings.
  162. 2010-11-16 Jie Zhang <jie.zhang@analog.com>
  163. * readelf.c (get_machine_flags): Deal with Blackfin specific flags.
  164. 2010-11-11 Mingming Sun <mingm.sun@gmail.com>
  165. * readelf.c (get_machine_flags): Add loongson-3a.
  166. 2010-11-10 Nick Clifton <nickc@redhat.com>
  167. * po/ja.po: Updated Japanese translation.
  168. * po/fr.po: Updated French translation.
  169. 2010-11-08 Nick Clifton <nickc@redhat.com>
  170. * po/ja.po: Updated Japanese translation.
  171. 2010-11-08 Alan Modra <amodra@gmail.com>
  172. * objcopy.c (copy_main): No need to rename sections when compressing
  173. or decompressing.
  174. 2010-11-05 Alan Modra <amodra@gmail.com>
  175. * bin2c.c: Remove internationalization and version report.
  176. * Makefile.am: Update bin2c rule.
  177. * Makefile.in: Regenerate.
  178. 2010-11-05 Tristan Gingold <gingold@adacore.com>
  179. * po/binutils.pot: Regenerate
  180. 2010-11-05 Tristan Gingold <gingold@adacore.com>
  181. * NEWS: Add marker for 2.21.
  182. 2010-11-02 H.J. Lu <hongjiu.lu@intel.com>
  183. * objdump.c (dump_bfd_header): Don't display
  184. BFD_FLAGS_FOR_BFD_USE_MASK bits in abfd->flags.
  185. 2010-11-02 Joseph Myers <joseph@codesourcery.com>
  186. * readelf.c (display_tic6x_attribute): Handle more attributes.
  187. 2010-10-30 Kai Tietz <kai.tietz@onevision.com>
  188. * dlltool.c (scan_drectve_symbols): Allow quoted strings for -export
  189. directives.
  190. 2010-10-29 Joseph Myers <joseph@codesourcery.com>
  191. * readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility
  192. not hardcoded 32. Display name of this attribute.
  193. 2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
  194. * addr2line.c (process_file): Set BFD_DECOMPRESS.
  195. * objcopy.c (do_debug_sections): New.
  196. (OPTION_COMPRESS_DEBUG_SECTIONS): New.
  197. (OPTION_DECOMPRESS_DEBUG_SECTIONS): Likewise.
  198. (copy_options): Add OPTION_COMPRESS_DEBUG_SECTIONS and
  199. OPTION_DECOMPRESS_DEBUG_SECTIONS.
  200. (copy_usage): Add --compress-debug-sections and
  201. --decompress-debug-sections.
  202. (copy_file): Set BFD_COMPRESS or BFD_DECOMPRESS.
  203. (copy_section): Replace bfd_get_section_contents with
  204. bfd_get_full_section_contents.
  205. (copy_main): Handle OPTION_COMPRESS_DEBUG_SECTIONS and
  206. OPTION_DECOMPRESS_DEBUG_SECTIONS. Check do_debug_sections to
  207. rename DWARF debug sections.
  208. * objdump.c (load_specific_debug_section): Replace
  209. bfd_get_section_contents with bfd_get_full_section_contents.
  210. Remove bfd_uncompress_section_contents.
  211. (dump_section): Replace bfd_get_section_contents with
  212. bfd_get_full_section_contents.
  213. (display_file): Set BFD_DECOMPRESS if needed.
  214. * readelf.c (uncompress_section_contents): Set buffer to NULL
  215. to indiate decompression failure.
  216. (load_specific_debug_section): Always call
  217. uncompress_section_contents.
  218. * doc/binutils.texi: Document --compress-debug-sections and
  219. --decompress-debug-sections.
  220. 2010-10-29 Nick Clifton <nickc@redhat.com>
  221. PR binutils/12058
  222. * ar.c (usage): Revert previous change. Describe how 's' can be
  223. used as a command letter.
  224. * doc/binutils.texi (ar cmdline): Describe how 's' can be used as
  225. a command letter.
  226. 2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
  227. Joseph Myers <joseph@codesourcery.com>
  228. * readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT.
  229. 2010-10-28 Nick Clifton <nickc@redhat.com>
  230. PR binutils/12058
  231. * ar.c (usage): Remove spurious 's' from list of accepted command
  232. letters.
  233. 2010-10-28 Alan Modra <amodra@gmail.com>
  234. * readelf.c (is_32bit_abs_reloc): Support i960 and microblaze.
  235. (is_32bit_pcrel_reloc): Support microblaze.
  236. 2010-10-26 Nick Clifton <nickc@redhat.com>
  237. * po/ja.po: Updated Japanese transaltion.
  238. 2010-10-21 Joseph Myers <joseph@codesourcery.com>
  239. * readelf.c (display_tic6x_attribute): Update for attribute
  240. renaming.
  241. 2010-10-08 H.J. Lu <hongjiu.lu@intel.com>
  242. * dwarf.c (byte_get_signed): Make it extern.
  243. * dwarf.h (byte_get_signed): New.
  244. * readelf.c (BYTE_GET_SIGNED): New.
  245. (slurp_rela_relocs): Use BYTE_GET_SIGNED on r_addend.
  246. (dump_relocations): Properly dump r_addend.
  247. 2010-10-08 Joseph Myers <joseph@codesourcery.com>
  248. * nm.c (value_format_64bit): Define appropriately for __MSVCRT__.
  249. (set_print_radix): Update for __MSVCRT__ definition of
  250. value_format_64bit.
  251. 2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
  252. Fix build with -DDEBUG=7
  253. * nlmheader.y (DEBUG token): Rename to DEBUG_K.
  254. 2010-10-06 Alan Modra <amodra@gmail.com>
  255. * bucomm.c (bfd_nonfatal, bfd_nonfatal_message): Don't clobber errno.
  256. 2010-10-05 Alan Modra <amodra@gmail.com>
  257. * bucomm.c (bfd_nonfatal): Flush stdout before output to stderr.
  258. (bfd_nonfatal_message, report, list_matching_formats): Likewise.
  259. (list_supported_targets): Tidy.
  260. * objdump.c (free_only_list): Formatting.
  261. (slurp_dynamic_symtab): Non-zero exit status for "not a dynamic
  262. object".
  263. (update_source_path): Delete redundant check for NULL filename.
  264. (disassemble_bytes): Error if disassemble_fn returns a value
  265. that won't increment address.
  266. (disassemble_data): Don't capitalize error message.
  267. (read_section_stabs): Likewise.
  268. (main): Return non-zero exit status on bad options.
  269. 2010-10-03 H.J. Lu <hongjiu.lu@intel.com>
  270. PR binutils/12088
  271. * nm.c (plugin_target): New.
  272. (main): Set plugin_target to "plugin" for --plugin.
  273. (display_file): Pass plugin_target to bfd_openr if target
  274. isn't set.
  275. 2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  276. * configure: Regenerate.
  277. 2010-09-22 Mike Frysinger <vapier@gentoo.org>
  278. * MAINTAINERS: Add self as ADI Blackfin maintainer.
  279. 2010-09-17 H.J. Lu <hongjiu.lu@intel.com>
  280. * emul_aix.c (ar_emul_aix_append): Add a target argument
  281. and ignore it if it is set.
  282. (ar_emul_aix5_append): Likewise.
  283. (ar_emul_aix_replace): Likewise.
  284. (ar_emul_aix5_replace): Likewise.
  285. 2010-09-15 H.J. Lu <hongjiu.lu@intel.com>
  286. * ar.c (plugin_target): New.
  287. (main): Set plugin_target to "plugin" for --plugin.
  288. (open_inarch): Initialize target to plugin_target.
  289. (replace_members): Pass plugin_target to ar_emul_replace
  290. and ar_emul_append.
  291. * binemul.h (ar_emul_append): Add a target argument.
  292. (ar_emul_default_append): Likewise.
  293. (ar_emul_replace): Likewise.
  294. (ar_emul_default_replace): Likewise.
  295. (bin_emulation_xfer_struct): Add a target argument to
  296. ar_append and ar_replace.
  297. * binemul.c (ar_emul_append): Updated. Pass target to bfd_openr.
  298. (do_ar_emul_default_append): Likewise.
  299. (ar_emul_default_append): Likewise.
  300. (ar_emul_replace): Likewise.
  301. (ar_emul_default_replace): Likewise.
  302. 2010-09-10 Ben Gardiner <bengardiner@nanometrics.ca>
  303. * objcopy.c: Add --interleave-width option to allow interleaving
  304. of more than one byte at a time.
  305. (copy_width): New variable.
  306. (copy_options): Add --interleave-width.
  307. (copy_section): When interleaving copy in units of copy_width
  308. bytes.
  309. (copy_main): Parse the new option.
  310. * doc/binutils: Document the new option.
  311. * NEWS: Mention the new feature.
  312. 2010-09-09 Jakub Jelinek <jakub@redhat.com>
  313. * dwarf.c (decode_location_expression): Fix data adjustment
  314. for DW_OP_GNU_implicit_pointer in v3+.
  315. 2010-09-09 Tristan Gingold <gingold@adacore.com>
  316. * NEWS: Add entry to NEWS for hppa/som.
  317. 2010-09-09 Jakub Jelinek <jakub@redhat.com>
  318. * dwarf.h (debug_info): Add offset_info and dwarf_version fields.
  319. * dwarf.c (decode_location_expression): Add offset_size and
  320. dwarf_version arguments. Prefix DIE offset with 0x for
  321. DW_OP_call{2,4,_ref}. Fix up DW_OP_call_ref operand size,
  322. complain if in frame info section. Handle
  323. DW_OP_GNU_implicit_pointer.
  324. (read_and_display_attr_value, display_debug_loc,
  325. display_debug_frames): Adjust decode_location_expression callers.
  326. (process_debug_info): Save offset_size and dwarf_version values
  327. into debug_information array.
  328. 2010-09-07 Nick Clifton <nickc@redhat.com>
  329. * readelf.c (process_section_headers): Mention meaning of 'l'
  330. section flag for x86-64 targets.
  331. 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
  332. Jakub Jelinek <jakub@redhat.com>
  333. * dwarf.c (regname): New declaration.
  334. (decode_location_expression): Print for registers also regname output.
  335. 2010-09-02 Richard Henderson <rth@redhat.com>
  336. * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
  337. (init_dwarf_regnames): Use them.
  338. * dwarf.h: Declare them.
  339. * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
  340. the regnames, rather than using elf_machine_code.
  341. 2010-09-02 Richard Henderson <rth@redhat.com>
  342. * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
  343. 2010-08-23 H.J. Lu <hongjiu.lu@intel.com>
  344. * elfedit.c (input_elf_osabi): New.
  345. (output_elf_osbi): Likewise.
  346. (osabis): Likewise.
  347. (elf_osabi): Likewise.
  348. (update_elf_header): Support updating ELF OSABI.
  349. (make_qualified_name): Break long line.
  350. (command_line_switch): Add OPTION_INPUT_OSABI and
  351. OPTION_OUTPUT_OSABI.
  352. (options): Likewise.
  353. (usage): Add --input-osabi and --output-osabi.
  354. (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
  355. * doc/binutils.texi: Document --input-osabi and --output-osabi
  356. for elfedit.
  357. 2010-08-23 Maciej W. Rozycki <macro@codesourcery.com>
  358. * readelf.c (display_mips_gnu_attribute): Replace GCC options
  359. with a textual description of a MIPS32r2 64-bit FPU.
  360. 2010-08-13 Dan Rosenberg <dan.j.rosenberg@gmail.com>
  361. PR binutils/11889
  362. * readelf.c (get_32bit_elf_symbols): Check for a corrupt
  363. sh_entsize.
  364. (get_64bit_elf_symbols): Likewise.
  365. (process_symbol_table): Likewise.
  366. (process_section_groups): Check for corrupt headers.
  367. (process_version_sections): Check for corrupt indicies.
  368. (process_corefile_note_segment): Likewise.
  369. 2010-08-13 Nathan Sidwell <nathan@codesourcery.com>
  370. * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
  371. variants.
  372. 2010-08-13 Tom Tromey <tromey@redhat.com>
  373. * dwarf.c (process_debug_info): Don't subtract section address
  374. when calculating location of cu abbrev within section.
  375. 2010-08-12 Michael Haubenwallner <haubi@gentoo.org>
  376. PR binutils/11742
  377. * readelf.c (get_archive_member_name): Do not read beyond the end
  378. of the ar_name field.
  379. 2010-08-03 Tristan Gingold <gingold@adacore.com>
  380. * dwarf.c (display_debug_lines): Mark file argument unused.
  381. Do not try to load .debug_info section.
  382. 2010-08-02 Alan Modra <amodra@gmail.com>
  383. * readelf.c (apply_relocations): D30V is really REL.
  384. 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
  385. Ina Pandit <ina.pandit@kpitcummins.com>
  386. * binutils/readelf.c: Add support for V850E2 and V850E2V3.
  387. 2010-07-22 Alan Modra <amodra@gmail.com>
  388. * readelf.c: Add Moxie support.
  389. 2010-07-20 Alan Modra <amodra@gmail.com>
  390. * readelf.c (process_program_headers): Don't ignore all zero size
  391. sections.
  392. 2010-07-19 Andreas Schwab <schwab@redhat.com>
  393. * readelf.c (process_section_headers): Update key to flags.
  394. 2010-07-17 Dave Korn <dave.korn.cygwin@gmail.com>
  395. * objcopy.c (copy_usage): Tweak previous typofix.
  396. 2010-07-17 H.J. Lu <hongjiu.lu@intel.com>
  397. * objcopy.c (copy_usage): Fix a typo.
  398. 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
  399. * dllwrap.c (main): Make sure is_leading_underscore
  400. gets initialized with correct default.
  401. 2010-07-05 Alan Modra <amodra@gmail.com>
  402. * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
  403. 2010-07-03 Cary Coutant <ccoutant@google.com>
  404. * objdump.c (load_specific_debug_section): Decompress section contents
  405. before applying relocations.
  406. * readelf.c (load_specific_debug_section): Update section size after
  407. decompression.
  408. 2010-06-29 Alan Modra <amodra@gmail.com>
  409. PR binutils/3166
  410. * objcopy.c (is_strip_section): Revert 2006-09-05.
  411. (setup_section): Make SHT_GROUP section nobits.
  412. 2010-06-29 Alan Modra <amodra@gmail.com>
  413. * configure: Regenerate.
  414. * po/POTFILES.in: Regenerate.
  415. 2010-06-27 Alan Modra <amodra@gmail.com>
  416. * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
  417. 2010-06-17 Nick Clifton <nickc@redhat.com>
  418. PR binutils/11711
  419. * windres.c (enum option_values): New enum.
  420. (long_options): Use separate option number for --include-dir
  421. option.
  422. (main): Separate backwards compatibility check from code to
  423. implement --include-dir. Check to see if directory exists and do
  424. not complain if it does.
  425. 2010-06-15 Joseph Myers <joseph@codesourcery.com>
  426. * readelf.c (display_tic6x_attribute, process_tic6x_specific):
  427. New.
  428. (process_arch_specific): Call process_tic6x_specific for
  429. EM_TI_C6000.
  430. 2010-06-11 H.J. Lu <hongjiu.lu@intel.com>
  431. * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
  432. for 0x%lx.
  433. 2010-06-11 Tristan Gingold <gingold@adacore.com>
  434. Doug Rupp <rupp@gnat.com>
  435. * readelf.c (is_ia64_vms): New function.
  436. (dump_relocations): Use it.
  437. (get_machine_flags): Display IA-64 OpenVMS flags.
  438. (process_program_headers): No error on OpenVMS if no .dynamic section.
  439. (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
  440. declarations.
  441. (dump_ia64_vms_dynamic_fixups): New function.
  442. (dump_ia64_vms_dynamic_relocs): Ditto.
  443. (process_ia64_vms_dynamic_relocs): Ditto.
  444. (process_relocs): Handle IA-64 OpenVMS relocs.
  445. (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
  446. (print_vms_time): New function.
  447. (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
  448. DT_IA_64_VMS_LNKFLAGS.
  449. (get_ia64_symbol_other): New function.
  450. (get_symbol_other): Handle EM_IA_64.
  451. 2010-06-11 Tristan Gingold <gingold@adacore.com>
  452. * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
  453. (UNW_DEC_ABI): Ditto for abiname.
  454. (unw_decode_table): Make it const.
  455. 2010-06-10 Tristan Gingold <gingold@adacore.com>
  456. * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
  457. not inplace.
  458. 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
  459. Joseph Myers <joseph@codesourcery.com>
  460. Andrew Stubbs <ams@codesourcery.com>
  461. * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
  462. 2010-05-25 Jay Krell <jay.krell@cornell.edu>
  463. PR ld/11621
  464. * Makefile.am: Replace all occurences of .o with .@OBJEXT@
  465. * Makefile.in: Regenerate.
  466. 2010-05-24 Tristan Gingold <gingold@adacore.com>
  467. * readelf.c (usage): Add new trace sections for --debug-dump.
  468. (process_section_headers): Handle dump of trace sections.
  469. * objdump.c (usage): Add new trace sections for --dwarf.
  470. * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
  471. (do_trace_aranges): Ditto.
  472. (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
  473. and trace_aranges literals.
  474. * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
  475. (do_trace_aranges): Ditto.
  476. (process_debug_info): Add abbrev_sec argument and replace
  477. abbrev with abbrev_sec.
  478. (load_debug_info): Adjust call of process_debug_info.
  479. (display_debug_info): Ditto.
  480. (display_trace_info): New function.
  481. (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
  482. and trace_aranges sections name.
  483. (dwarf_select_sections_all): Also select trace sections.
  484. (debug_displays): Reindent. Add entries for the trace sections.
  485. * doc/binutils.texi (readelf): Document new --dwarf parameters.
  486. (objdump): Ditto.
  487. 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
  488. PR gas/11600
  489. * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
  490. generic flag.
  491. 2010-05-07 Tristan Gingold <gingold@adacore.com>
  492. * Makefile.in: Regenerate with automake 1.11.1.
  493. * aclocal.m4: Ditto.
  494. * doc/Makefile.in: Ditto.
  495. 2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
  496. * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
  497. * readelf.c (get_elf_section_flags): Likewise.
  498. (process_section_headers): Likewise.
  499. 2010-05-05 Nick Clifton <nickc@redhat.com>
  500. * po/es.po: Updated Spanish translation.
  501. 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
  502. * dlltool.c (main): Query for bfd's underscoring default for
  503. default target case.
  504. 2010-04-27 Nick Clifton <nickc@redhat.com>
  505. * po/ru.po: Updated Russian translation.
  506. 2010-04-23 Alan Modra <amodra@gmail.com>
  507. * readelf.c (process_program_headers): Replace use of
  508. ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
  509. 2010-04-22 Nick Clifton <nickc@redhat.com>
  510. * po/binutils.pot: Updated by the Translation project.
  511. * po/fi.po: Updated Finnish translation.
  512. * po/vi.po: Updated Vietnamese translation.
  513. * po/bg.po: New Bulgarian translation.
  514. * configure.in (ALL_LINGUAS): Add bg.
  515. * configure: Regenerate.
  516. 2010-04-20 Nick Clifton <nickc@redhat.com>
  517. * po/fr.po: Updated french translation.
  518. 2010-04-20 Nick Clifton <nickc@redhat.com>
  519. * readelf.c: Add _() macros to constant strings that are
  520. translatable.
  521. * readelf.c (display_mips_gnu_attribute): Replace GCC options
  522. with a textual description of single and double precision float.
  523. 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
  524. * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
  525. (arm_attr_tag_ABI_align8_needed): Remove.
  526. (arm_attr_tag_ABI_align8_preserved): Remove.
  527. (arm_attr_tag_ABI_HardFP_use): Update text strings.
  528. (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
  529. (display_arm_attribute): Add decoding of ABI v2.08 attributes.
  530. 2010-04-13 Nick Clifton <nickc@redhat.com>
  531. PR binutils/11419
  532. * dwarf.c (process_debug_info): Initialise the signature array.
  533. 2010-04-09 Nick Clifton <nickc@redhat.com>
  534. * dwarf.c (process_debug_info): Remove unused variable
  535. cu_abbrev_offset_ptr.
  536. (display_debug_lines_decoded): Remove unused variable prev_line.
  537. * elfedit.c (process_archive): Remove unused variable
  538. file_name_size.
  539. * ieee.c (ieee_start_compilation_unit): Remove unused variable
  540. nindx.
  541. (ieee_set_type): Remove unused variables info, targetindx and
  542. baseindx.
  543. * objdump.c (disassmble_byte): Remove unused variable done_dot.
  544. * rddbg.c (read_section_stabs_debugging_info): Remove unused
  545. variable other.
  546. * readelf.c (dump_section_as_strings): Remove unused variable
  547. addr.
  548. (process_archive): Remove unused variable file_name_size.
  549. * stabs.c (parse_stab_string): Mark desc parameter as unused.
  550. Remove unused variable lineno.
  551. (parse_stab_struct_type): Remove unused variable orig.
  552. (stab_demangle_type): Remove unused variables constp, volatilep
  553. and hold.
  554. 2010-04-07 Alan Modra <amodra@gmail.com>
  555. * configure: Regenerate.
  556. 2010-04-06 Nick Clifton <nickc@redhat.com>
  557. * po/vi.po: Updated Vietnamese translation.
  558. 2010-04-05 Jakub Jelinek <jakub@redhat.com>
  559. * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
  560. fields.
  561. (display_debug_frames): Handle CIE version 4.
  562. * dwarf.c (struct State_Machine_Registers): Add op_index field,
  563. change end_sequence type to unsigned char.
  564. (reset_state_machine): Clear op_index.
  565. (process_extended_line_op): For DW_LNE_set_address clear op_index.
  566. (display_debug_lines_raw): Initialize li_max_ops_per_insn.
  567. Track op_index state machine register and print it if
  568. li_max_ops_per_insn is != 1.
  569. (display_debug_lines_decoded): Likewise.
  570. 2010-04-01 Jakub Jelinek <jakub@redhat.com>
  571. * dwarf.c (read_and_display_attr_value): Don't reject
  572. dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
  573. and DW_FORM_exprloc.
  574. (process_debug_info): Handle cu_version == 4.
  575. (display_debug_lines_raw, display_debug_lines_decoded): Handle
  576. li_version == 4.
  577. 2010-03-30 Andreas Schwab <schwab@linux-m68k.org>
  578. * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
  579. * Makefile.in: Regenerate.
  580. 2010-03-25 Joseph Myers <joseph@codesourcery.com>
  581. * MAINTAINERS: Add self as TI C6X maintainer.
  582. * NEWS: Add news entry for TI C6X support.
  583. * readelf.c: Include elf/tic6x.h.
  584. (guess_is_rela): Handle EM_TI_C6000.
  585. (dump_relocations): Likewise.
  586. (get_tic6x_dynamic_type): New.
  587. (get_dynamic_type): Call it.
  588. (get_machine_flags): Handle EF_C6000_REL.
  589. (get_osabi_name): Handle machine-specific values only for relevant
  590. machines. Handle C6X values.
  591. (get_tic6x_segment_type): New.
  592. (get_segment_type): Call it.
  593. (get_tic6x_section_type_name): New.
  594. (get_section_type_name): Call it.
  595. (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
  596. EM_TI_C6000.
  597. 2010-03-25 Thomas Schwinge <thomas@codesourcery.com>
  598. * doc/binutils.texi (readelf) <unwind information>: Mention support for
  599. ARM unwind tables.
  600. 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
  601. * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
  602. 2010-03-17 Alan Modra <amodra@gmail.com>
  603. * readelf.c (dump_arm_unwind): Warning fix.
  604. 2010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
  605. * MAINTAINERS: Update my email address. List Tristan Gingold
  606. as the release branch maintainer.
  607. 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  608. * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
  609. 2010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
  610. * NEWS: Document .ARM.exidx / .ARM.extab support.
  611. * dwarf.c (read_leb128): Make non-static.
  612. * dwarf.h (read_leb128): Declare.
  613. * readelf.c (REMOVE_ARCH_BITS): Define.
  614. (find_section_by_address): New.
  615. (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
  616. (find_symbol_for_address): Handle the Thumb bit for ARM, by
  617. using REMOVE_ARCH_BITS.
  618. (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
  619. (arm_free_section, arm_section_get_word, decode_arm_unwind)
  620. (dump_arm_unwind, arm_process_unwind): New.
  621. (process_unwind): Handle ARM.
  622. 2010-02-26 Jie Zhang <jie@codesourcery.com>
  623. * MAINTAINERS: Update my email address.
  624. 2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
  625. PR binutils/11298
  626. * doc/binutils.texi (windmc): Fix synopsis and description of
  627. ASCII options.
  628. 2010-02-19 Alan Modra <amodra@gmail.com>
  629. * readelf.c (get_group_flags): Return empty string when flags zero.
  630. Add space in other returned values.
  631. (process_section_groups): Adjust format string.
  632. 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
  633. * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
  634. newly permitted attribute values.
  635. (arm_attr_tag_Virtualization_use): Likewise.
  636. (arm_attr_tag_DIV_use): Add description of new attribute.
  637. (arm_attr_tag_MPextension_use_legacy): Likewise.
  638. 2010-02-15 Nick Clifton <nickc@redhat.com>
  639. * po/vi.po: Updated Vietnamese translation.
  640. 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
  641. * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
  642. NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
  643. 2010-02-08 Jim Blandy <jimb@red-bean.com>
  644. * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
  645. 'z' augmentation strings.
  646. 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
  647. * objdump.c (disassemble_bytes): Clear aux->reloc before printing
  648. a new address, so as not to reuse a previous, non-related reloc.
  649. 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
  650. * readelf.c (get_note_type): Handle NT_X86_XSTATE.
  651. 2010-02-01 Nathan Sidwell <nathan@codesourcery.com>
  652. * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
  653. sections.
  654. 2010-01-28 Nick Clifton <nickc@redhat.com>
  655. PR 11225
  656. * objdump.c (only): Replace with linked list.
  657. (only_size, only_used): Replace with only_list.
  658. (process_section_p): Set seen field on matches sections.
  659. (add_only): New function.
  660. (free_only_list): New function.
  661. (disassemble_section): Check only_list.
  662. (main): Use add_only and free_only_list.
  663. 2010-01-26 Tristan Gingold <gingold@adacore.com>
  664. * Makefile.am (bin2c): Add libintl dependance and library.
  665. * Makefile.in: Regenerate.
  666. 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  667. * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
  668. 2010-01-19 Ian Lance Taylor <iant@google.com>
  669. * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
  670. with non-ordinary files like /dev/null.
  671. 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
  672. Alan Modra <amodra@gmail.com>
  673. * readelf.c (process_file_header): Handle e_phnum extension.
  674. 2010-01-14 Tristan Gingold <gingold@adacore.com>
  675. * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
  676. and DW_AT_GNAT_descriptive_type.
  677. 2010-01-13 Tristan Gingold <gingold@adacore.com>
  678. * ar.c (main): Use lbasename.
  679. (normalize): Ditto.
  680. * objdump.c (update_source_path): Ditto.
  681. 2010-01-12 Tristan Gingold <gingold@adacore.com>
  682. * makefile.vms (CFLAGS): Turns warnings into informational messages.
  683. 2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
  684. PR ld/11146
  685. * NEWS: Mention --dyn-syms for readelf.
  686. * readelf.c (do_dyn_syms): New.
  687. (OPTION_DYN_SYMS): Likewise.
  688. (options): Add "dyn-syms".
  689. (usage): Add --dyn-syms.
  690. (parse_args): Handle OPTION_DYN_SYMS.
  691. (process_symbol_table): Handle do_dyn_syms.
  692. (process_object): Likewise.
  693. (process_archive): Likewise.
  694. * doc/binutils.texi: Document --dyn-syms for readelf. Mention
  695. symbol hash tables for -D.
  696. 2010-01-11 Nick Clifton <nickc@redhat.com>
  697. * NEWS: Mention addition of elfedit.
  698. * po/fi.po: Updated Finnish translation.
  699. 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  700. * Makefile.in: Regenerate.
  701. * configure: Regenerate.
  702. * doc/Makefile.in: Regenerate.
  703. 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
  704. * version.c (print_version): Change to "Copyright 2010".
  705. 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
  706. * elfedit.c (input_elf_type): New.
  707. (output_elf_type): Likewise.
  708. (elf_type): Likewise.
  709. (update_elf_header): Support updating ELF file type.
  710. (command_line_switch): Add OPTION_INPUT_TYPE and
  711. OPTION_OUTPUT_TYPE.
  712. (options): Likewise.
  713. (usage): Add --input-type and --output-type.
  714. (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
  715. one of --output-mach and --output-type must be specified.
  716. * doc/binutils.texi: Document --input-type and --output-type
  717. for elfedit.
  718. 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
  719. * doc/binutils.texi: Fix a typo.
  720. 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
  721. * elfedit.c (update_elf_header): Don't change input_elf_class
  722. nor input_elf_machine if they are -1.
  723. 2010-01-08 Tristan Gingold <gingold@adacore.com>
  724. * ar.c: Remove bfd_special_undocumented_glue prototype.
  725. 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
  726. * elfedit.c (update_elf_header): Reformat.
  727. 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
  728. * readelf.c (usage): Fix indent for --symbols.
  729. 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
  730. * doc/binutils.texi: Replace -histogram with --histogram.
  731. 2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
  732. PR binutils/11131
  733. * Makefile.am (ELFEDIT_PROG): New.
  734. (bin_PROGRAMS): Add $(ELFEDIT_PROG).
  735. (CFILES): Add elfedit.c.
  736. (elfedit_DEPENDENCIES): New.
  737. (elfedit_SOURCES): Likewise.
  738. (elfedit_LDADD): Likewise.
  739. * Makefile.in: Regenerated.
  740. * elfedit.c: New.
  741. * doc/binutils.texi: Document elfedit.
  742. * doc/Makefile.am (man_MANS): Add elfedit.1.
  743. (elfedit.1): New.
  744. * doc/Makefile.in: Regenerated.
  745. 2010-01-06 Tristan Gingold <gingold@adacore.com>
  746. * nm.c (usage): Remove extra blanks.
  747. 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
  748. * objcopy.c: Update copyright.
  749. * readelf.c: Likewise.
  750. 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
  751. PR binutils/11130
  752. * objcopy.c (copy_object): Remove "Warning: " from error
  753. message.
  754. 2010-01-04 Nick Clifton <nickc@redhat.com>
  755. PR 11128
  756. * readelf.c (dump_section_as_strings): Use two separate
  757. invocations of printf() in order to work around bugs in
  758. the Solaris 8 implementation.
  759. 2010-01-04 Nick Clifton <nickc@redhat.com>
  760. * po/ru.po: Updated Russian translation.
  761. For older changes see ChangeLog-2009
  762. Copyright (C) 2010 Free Software Foundation, Inc.
  763. Copying and distribution of this file, with or without modification,
  764. are permitted in any medium without royalty provided the copyright
  765. notice and this notice are preserved.
  766. Local Variables:
  767. mode: change-log
  768. left-margin: 8
  769. fill-column: 74
  770. version-control: never
  771. End: