ChangeLog-2005 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356
  1. 2005-12-30 Jie Zhang <jie.zhang@analog.com>
  2. * readelf.c (get_machine_name): Add case for Blackfin.
  3. 2005-12-27 Alan Modra <amodra@bigpond.net.au>
  4. * Makefile.am: Run "make dep-am".
  5. (Makefile): Remove dependency.
  6. * Makefile.in: Regenerate.
  7. 2005-12-26 Jan-Benedict Glaw <jbglaw@lug-owl.de>
  8. * MAINTAINERS: Add myself as VAX maintainer.
  9. 2005-12-22 Randolph Chung <tausq@debian.org>
  10. * rddbg.c (read_section_stabs_debugging_info): Add $GDB_SYMBOLS$
  11. entry to names[] array for SOM binaries.
  12. 2005-12-21 H.J. Lu <hjl@gnu.org>
  13. * MAINTAINERS: Add myself as x86_64 maintainer.
  14. 2005-12-16 Nathan Sidwell <nathan@codesourcery.com>
  15. Second part of ms1 to mt renaming.
  16. * readelf.c (guess_is_rela): Use EM_MT.
  17. (dump_relocations, get_machine_name): Adjust.
  18. 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
  19. * Makefile.am: Replace ms1 files with mt files.
  20. * Makefile.in: Rebuilt.
  21. * readelf.c (elf/mt.h): Adjust #include.
  22. 2005-11-30 Nick Clifton <nickc@redhat.com>
  23. * configure.in (ALL_LINGUAS): Add fi.
  24. * configure: Regenerate.
  25. * po/fi.po: New file: Finnish translation.
  26. 2005-11-21 Arnold Metselaar <arnoldm@sourceware.org>
  27. * MAINTAINERS: add myself as Z80 maintainer
  28. 2005-11-17 Andrew Haley <aph@redhat.com>
  29. * cxxfilt.c (main): Flush output at newline.
  30. 2005-11-16 Mark Mitchell <mark@codesourcery.com>
  31. * doc/binutils.texi: Include config.texi and @file documentation
  32. for manual pages.
  33. 2005-11-15 Jan Beulich <jbeulich@novell.com>
  34. * objcopy.c (keep_file_symbols): New.
  35. (enum command_line_switch): Add OPTION_KEEP_FILE_SYMBOLS.
  36. (strip_options): Add --keep-file-symbols.
  37. (copy_options): Likewise.
  38. (copy_usage): Likewise.
  39. (strip_usage): Likewise.
  40. (filter_symbols): Act upon keep_file_symbols.
  41. (strip_main): Handle OPTION_KEEP_FILE_SYMBOLS.
  42. (copy_main): Likewise.
  43. * doc/binutils.texi: Document --keep-file-symbols for objcopy
  44. and strip.
  45. 2005-11-14 Daniel Jacobowitz <dan@codesourcery.com>
  46. * readelf.c (struct dump_list_entry, request_dump_byname)
  47. (initialise_dumps_byname): New.
  48. (parse_args): Call request_dump_byname.
  49. (process_section_contents): Call initialise_dumps_byname.
  50. * doc/binutils.texi (readelf): Mention -x NAME.
  51. * NEWS: Likewise.
  52. 2005-11-11 Nick Clifton <nickc@redhat.com>
  53. PR 1150
  54. * readelf.c (get_mips_symbol_other): New function.
  55. (get_symbol_other): New function.
  56. (process_symbol_table): Call get_symbol_other() to get a
  57. description of the st_other field if it contains more information
  58. than just the visibility.
  59. 2005-11-07 Steve Ellcey <sje@cup.hp.com>
  60. * configure: Regenerate after modifying bfd/warning.m4.
  61. 2005-10-30 H.J. Lu <hongjiu.lu@intel.com>
  62. * Makefile.am: Run "make dep-am".
  63. * Makefile.in: Regenerated.
  64. * dep-in.sed: Replace " ./" with " ".
  65. 2005-10-25 Alan Modra <amodra@bigpond.net.au>
  66. * po/POTFILES.in: Regenerate.
  67. * po/binutils.pot: Regenerate.
  68. 2005-10-24 Bernd Schmidt <bernd.schmidt@analog.com>
  69. * MAINTAINERS: Add self as BFIN maintainer.
  70. 2005-10-18 Jie Zhang <jie.zhang@analog.com>
  71. * MAINTAINERS: Add self as BFIN maintainer.
  72. 2005-10-11 Danny Smith <dannysmith@users.sourceforge.net>
  73. * rclex.l (handle quotes): Stop parsing hex notation escaped
  74. chars after the first two digits,
  75. 2005-10-11 Nick Clifton <nickc@redhat.com>
  76. PR binutils/1437
  77. * cxxfilt.c (flags): Remove DMGL_TYPES;
  78. (long_options): Rename --no-types to --types.
  79. (usage): Likewise.
  80. (demangle_it): Add a comment describing why _ and $ prefixes are
  81. skipped. Use printf rather than puts to emit the demangled output
  82. in order to avoid emitting a new line character.
  83. (main): Have the -t flag enable type demangling.
  84. Emit a newline after every demangled command line argument.
  85. Copy whitespace from stdin to stdout.
  86. * doc/binutils.texi (c++filt): Document the change to the -t
  87. switch.
  88. Document why demangling names on the command line is slightly
  89. different to demangling names read from the standard input.
  90. 2005-10-10 Mark Mitchell <mark@codesourcery.com>
  91. * doc/Makefile.am (config.texi): Set top_srcdir.
  92. * doc/Makefile.in: Regenerated.
  93. * doc/binutils.texi: Use at-file.texi from libiberty.
  94. 2005-10-10 H.J. Lu <hongjiu.lu@intel.com>
  95. PR binutils/1436
  96. * readelf.c (ABSADDR): New.
  97. (dump_ia64_unwind): Use ABSADDR to get the unwind info address.
  98. 2005-10-10 Thomas Weidenmueller <w3seek@reactos.com>
  99. * resbin.c (res_to_bin_accelerator): Place the terminating NUL at
  100. the correct location in the bindata structure.
  101. 2005-10-10 Bryce Schober <bryce.schober@dynonavionics.com>
  102. * doc/binutils.texi (objdump): Fix typo: -reg-name-std should be
  103. -reg-names-std.
  104. 2005-10-04 Nick Clifton <nickc@redhat.com>
  105. * cxxfilt.c: Treat mangled names specified on the command line in
  106. the same way as mangled names read from stdin.
  107. Add -i switch to disable the display of implementation details.
  108. Add -t switch to disable the demangling of types.
  109. * NEWS: Mention the new switches.
  110. * doc/binutils.texi (cxxfilt): Document the -i and -t switches.
  111. 2005-10-03 Mark Mitchell <mark@codesourcery.com>
  112. * addr2line.c (usage): Document @file.
  113. * ar.c (usage): Likewise.
  114. * coffdump (usage): Likewise.
  115. * cxxfilt.c (usage): Likewise.
  116. * dlltool.c (usage): Likewise.
  117. * dllwrap.c (usage): Likewise.
  118. * nlmconv.c (usage): Likewise.
  119. * nm.c (usage): Likewise.
  120. * objcopy.c (usage): Likewise.
  121. * objdump.c (usage): Likewise.
  122. * readelf.c (usage): Likewise.
  123. * size.c (usage): Likeise.
  124. * srconv.c (usage): Likewise.
  125. * strings.c (usage): Likewise.
  126. * windres.c (usage): Likewise.
  127. * doc/binutils.texi: Add section on common options.
  128. 2005-10-03 H.J. Lu <hongjiu.lu@intel.com>
  129. * NEWS: Mention -W/--dwarf.
  130. * doc/binutils.texi: Document -W/--dwarf for objdump.
  131. 2005-10-01 Paul Brook <paul@codesourcery.com>
  132. * readelf.c (arm_attr_tag_CPU_arch, arm_attr_tag_ARM_ISA_use,
  133. arm_attr_tag_THUMB_ISA_use, arm_attr_tag_VFP_arch,
  134. arm_attr_tag_WMMX_arch, arm_attr_tag_NEON_arch,
  135. arm_attr_tag_ABI_PCS_config, arm_attr_tag_ABI_PCS_R9_use,
  136. arm_attr_tag_ABI_PCS_RW_data, arm_attr_tag_ABI_PCS_RO_DATA,
  137. arm_attr_tag_ABI_PCS_GOT_use, arm_attr_tag_ABI_PCS_wchar_t,
  138. arm_attr_tag_ABI_FP_rounding, arm_attr_tag_ABI_FP_denormal,
  139. arm_attr_tag_ABI_FP_exceptions, arm_attr_tag_ABI_FP_user_exceptions,
  140. arm_attr_tag_ABI_FP_number_model, arm_attr_tag_ABI_align8_needed,
  141. arm_attr_tag_ABI_align8_preserved, arm_attr_tag_ABI_enum_size,
  142. arm_attr_tag_ABI_HardFP_use, arm_attr_tag_ABI_VFP_args,
  143. arm_attr_tag_ABI_WMMX_args, arm_attr_tag_ABI_optimization_goals,
  144. arm_attr_tag_ABI_FP_optimization_goals, arm_attr_public_tags): New.
  145. (display_arm_attribute, process_arm_specific): New functions.
  146. (process_arch_specific): Add EM_ARM.
  147. 2005-09-30 Mark Mitchell <mark@codesourcery.com>
  148. * dlltool.c (main): Fix typo.
  149. * windres.c (main): Likewise.
  150. 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
  151. * Makefile.in: Regenerated.
  152. 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
  153. * sysinfo.y (main): Undo last change.
  154. 2005-08-30 Mark Mitchell <mark@codesourcery.com>
  155. * addr2line.c (main): Use expandargv.
  156. * ar.c (main): Likewise.
  157. * coffdump.c (main): Likewise.
  158. * cxxfilt.c (main): Likewise.
  159. * dlltool.c (main): Likewise.
  160. * dllwrap.c (main): Likewise.
  161. * nlmconv.c (main): Likewise.
  162. * nm.c (main): Likewise.
  163. * objcopy.c (main): Likewise.
  164. * objdump.c (main): Likewise.
  165. * readelf.c (main): Likewise.
  166. * size.c (main): Likeiwse.
  167. * srcconv.c (main): Likewise.
  168. * strings.c (main): Likewise.
  169. * sysdump.c (main): Likewise.
  170. * sysinfo.y (main): Likewise.
  171. * windres.c (main): Likewise.
  172. 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
  173. * Makefile.am: Run "make dep-am".
  174. * Makefile.in: Regenerated.
  175. * aclocal.m4: Likewise.
  176. 2005-09-30 Catherine Moore <clm@cm00re.com>
  177. * Makefile.am: Bfin support.
  178. * Makefile.in: Regenerated.
  179. * aclocal.m4: Regenerated.
  180. * readelf.c (elf/bfin.h): Include.
  181. (guess_is_rela): EM_BLACKFIN support.
  182. (dump_relocations): Likewise.
  183. 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
  184. * dwarf.c (fetch_indirect_string): Adjust for section address.
  185. (process_debug_info): Likewise.
  186. (display_debug_loc): Likewise.
  187. (display_debug_ranges): Likewise.
  188. * objdump.c (mach_o_dwarf_sections): New.
  189. (generic_dwarf_sections): Likewise.
  190. (check_mach_o_dwarf): Likewise.
  191. (dump_dwarf): Call check_mach_o_dwarf.
  192. 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
  193. * Makefile.am (objdump_SOURCES): Add dwarf.c.
  194. * Makefile.in: Regenerated.
  195. * objdump.c: Include "dwarf.h".
  196. (usage): Add -W/--dwarf.
  197. (long_options): Likewise.
  198. (dump_dwarf_section_info): New.
  199. (load_debug_section): Likewise.
  200. (free_debug_section): Likewise.
  201. (dump_dwarf_section): Likewise.
  202. (dump_dwarf): Likewise.
  203. (dump_bfd): Load symbol table and call dump_dwarf if
  204. dump_dwarf_section_info isn't zero.
  205. (main): Handle -W/--dwarf.
  206. 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
  207. * readelf.c: Reordered.
  208. (is_relocatable): New.
  209. (dwarf_section): New structure for DWARF section.
  210. (load_debug_section): New.
  211. (free_debug_section): Likewise.
  212. (debug_str_section): Likewise.
  213. (debug_abbrev_section): Likewise.
  214. (debug_str_contents): Removed.
  215. (debug_str_size): Likewise.
  216. (debug_loc_contents): Likewise.
  217. (debug_loc_size): Likewise.
  218. (debug_range_contents): Likewise.
  219. (debug_range_size): Likewise.
  220. (load_debug_str): Likewise.
  221. (free_debug_str): Likewise.
  222. (load_debug_loc): Likewise.
  223. (free_debug_loc): Likewise.
  224. (load_debug_arange): Likewise.
  225. (free_debug_arange): Likewise.
  226. (load_debug_abbrev): Likewise.
  227. (free_debug_abbrev): Likewise.
  228. (fetch_indirect_string): Updated.
  229. (debug_apply_rela_addends): Likewise.
  230. (process_debug_info): Likewise.
  231. (get_debug_info): Likewise.
  232. (display_debug_lines): Likewise.
  233. (display_debug_pubnames): Likewise.
  234. (display_debug_macinfo): Likewise.
  235. (display_debug_abbrev): Likewise.
  236. (display_debug_loc): Likewise.
  237. (display_debug_str): Likewise.
  238. (display_debug_info): Likewise.
  239. (display_debug_aranges): Likewise.
  240. (display_debug_ranges): Likewise.
  241. (display_debug_frames): Likewise.
  242. (display_debug_not_supported): Likewise.
  243. (debug_displays): Likewise.
  244. (display_debug_section): Likewise.
  245. (get_file_header): Set is_relocatable.
  246. 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
  247. * readelf.c (debug_apply_rela_addends): Relocate the whole
  248. section.
  249. (process_debug_info): Don't call debug_apply_rela_addends.
  250. (display_debug_frames): Likewise.
  251. (get_debug_info): Call debug_apply_rela_addends.
  252. (debug_displays): Add the "relocate" field.
  253. (display_debug_section): Call debug_apply_rela_addends if
  254. needed.
  255. 2005-09-30 Matthias Kurz <mk@baerlap.north.de>
  256. * bucomm.h: Prevent the inclusion of <libintl.h> from the Solaris
  257. version of <locale.h> when ENABLE_NLS is not defined.
  258. 2005-09-26 Mark Mitchell <mark@codesourcery.com>
  259. * BRANCHES: Mention binutils-csl-gxxpro-3_4-branch.
  260. 2005-09-20 Richard Henderson <rth@redhat.com>
  261. * readelf.c (display_debug_lines): Use unsigned long for address
  262. increments. Use 0x prefix for all hex numbers.
  263. 2005-09-09 Richard Earnshaw <richard.earnshaw@arm.com>
  264. * readelf.c (get_arm_section_type_name): Add SHT_ARM_PREEMPTMAP and
  265. SHT_ARM_ATTRIBUTES.
  266. 2005-09-07 H.J. Lu <hongjiu.lu@intel.com>
  267. * readelf.c (get_elf_section_flags): Handle 64bit sh_flags.
  268. 2005-09-02 H.J. Lu <hongjiu.lu@intel.com>
  269. * readelf.c (debug_abbrev_contents): New.
  270. (debug_abbrev_size): Likewise.
  271. (load_debug_abbrev): Likewise.
  272. (free_debug_abbrev): Likewise.
  273. (process_debug_info): Use them.
  274. 2005-08-17 H.J. Lu <hongjiu.lu@intel.com>
  275. PR binutils/1179
  276. * objdump.c (disassemble_bytes): Don't adjust
  277. adjust_section_vma.
  278. (adjust_addresses): Don't adjust vma for debugging section.
  279. Adjust lma only for relocatable files.
  280. (dump_bfd): Tell adjust_addresses if it is a relocatable file.
  281. 2005-08-16 H.J. Lu <hongjiu.lu@intel.com>
  282. * bucomm.h (stpcpy): Declare if HAVE_DECL_STPCPY isn't defined.
  283. * configure.in (AC_GNU_SOURCE): Added.
  284. (AC_CHECK_DECLS): Add stpcpy.
  285. * configure: Regenerated.
  286. * config.in: Likewise.
  287. 2005-08-16 Jakub Jelinek <jakub@redhat.com>
  288. * unwind-ia64.c (UNW_DEC_SPILL_SPREL, UNW_DEC_SPILL_PSPREL,
  289. UNW_DEC_RESTORE, UNW_DEC_SPILL_REG): Increase {,ab,t}regname
  290. buffer sizes.
  291. 2005-08-15 Daniel Jacobowitz <dan@codesourcery.com>
  292. * doc/binutils.texi (objdump): Document -M e300.
  293. 2005-08-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  294. * readelf.c (slurp_hppa_unwind_table): Fix entry size on hppa64-hpux.
  295. Don't access table entries past the end of the table.
  296. 2005-08-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  297. * readelf.c (get_parisc_segment_type): Handle PT_PARISC_WEAKORDER.
  298. (get_parisc_section_type_name): Handle SHT_PARISC_DLKM.
  299. 2005-08-11 H.J. Lu <hongjiu.lu@intel.com>
  300. * NEWS: Mention "-t/--section-details" and
  301. "-N/--full-section-name".
  302. * doc/binutils.texi: Document "-t/--section-details". Remove
  303. "-N/--full-section-name".
  304. * readelf.c (do_full_section_name): Renamed to ...
  305. (do_section_details): This.
  306. (option): Rename "-N/--full-section-name" to
  307. "-t/--section-details".
  308. (usage): Likewise.
  309. (parse_args): Likewise.
  310. (get_elf_section_flags): Support do_section_details.
  311. (process_section_headers): Updated for do_section_details.
  312. 2005-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  313. * readelf.c (get_parisc_dynamic_type): Add new dynamic types.
  314. (get_dynamic_type): Use old values for DT_LOOS and DT_HIOS when
  315. e_machine is EM_PARISC.
  316. (get_parisc_segment_type): Add new segment types.
  317. (get_parisc_section_type_name): Add new section names.
  318. (dynamic_section_parisc_val): Add new table entries.
  319. 2005-08-01 Filip Navara <navaraf@reactos.com>
  320. * dlltool.c (alphafunc): Remove and replace usage with nfunc.
  321. (nfunc): Fix sorting of fastcall symbols when --kill-at is used.
  322. 2005-07-25 H.J. Lu <hongjiu.lu@intel.com>
  323. * readelf.c (dump_relocations): Handle SHN_X86_64_LCOMMON.
  324. (get_symbol_index_type): Likewise.
  325. (get_elf_section_flags): Handle SHF_X86_64_LARGE.
  326. 2005-07-21 Eric Christopher <echristo@apple.com>
  327. * MAINTAINERS: Change affiliation.
  328. 2005-07-19 Ben Elliston <bje@au.ibm.com>
  329. * readelf.c (read_and_display_attr_value): Remove comment adjacent
  330. to DW_ATE_decimal_float about it being a GNU extension.
  331. 2005-07-18 Nick Clifton <nickc@redhat.com>
  332. * binemul.c: Fix name of Red Hat.
  333. * binemul.h: Likewise.
  334. * emul_aix.c: Likewise.
  335. * emul_vanilla: Likewise.
  336. 2005-07-18 Ben Elliston <bje@au.ibm.com>
  337. * readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding
  338. value of DW_ATE_decimal_float instead of DW_ATE_GNU_decimal_float.
  339. 2005-07-16 Alan Modra <amodra@bigpond.net.au>
  340. * Makefile.am: Run "make dep-am".
  341. * Makefile.in: Regenerate.
  342. 2005-07-15 Eric Christopher <echristo@redhat.com>
  343. * MAINTAINERS: Change affiliation.
  344. 2005-07-14 Jim Blandy <jimb@redhat.com>
  345. * readelf.c: #include "elf/m32c.h"
  346. (guess_is_rela, dump_relocations, get_machine_name): Add cases for
  347. EM_M32C.
  348. * Makefile.am (readelf.o): Update dependencies.
  349. * Makefile.in: Regenerated.
  350. 2005-07-08 Ben Elliston <bje@au.ibm.com>
  351. * bucomm.h: Include <stdarg.h> unconditionally, not only when
  352. ANSI_PROTOTYPES is defined. Remove #ifdef logic.
  353. * dlltool.c: Likewise.
  354. * dllwrap.c: Likewise.
  355. 2005-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  356. * bucomm.h (report): Add format attribute.
  357. * dlltool.c (inform): Likewise.
  358. * dllwrap.c (display, inform, warn): Likewise.
  359. * objdump.c (objdump_sprintf): Likewise.
  360. * readelf.c (error, warn): Likewise. Fix format bugs.
  361. 2005-07-05 Dmitry V. Levin <ldv@altlinux.org>
  362. Nick Clifton <nickc@redhat.com>
  363. * strings.c (filename_and_size_t): New typedef.
  364. (strings_a_section): Skip sections with size greater or equal to
  365. the file size. Cache the file size to avoid repeated stat()s.
  366. (strings_object_file): Pass filename_and_size_t argument to
  367. strings_a_section() via bfd_map_over_sections().
  368. 2005-07-04 Alan Modra <amodra@bigpond.net.au>
  369. PR 1004
  370. * objcopy.c (copy_object): Use bfd_make_section_with_flags.
  371. (write_debugging_info): Likewise.
  372. (setup_section): Use bfd_make_section_anyway_with_flags.
  373. 2005-07-01 Steve Ellcey <sje@cup.hp.com>
  374. * configure.in (AM_BINUTILS_WARNINGS): Add.
  375. (BFD_NEED_DECLARATION): Replace with AC_CHECK_DECLS.
  376. * configure: Regenerate.
  377. * config.in: Regenerate.
  378. * objdump.c (NEED_DECLARATION_*): Replace with !HAVE_DECL_*.
  379. * bucomm.h: (NEED_DECLARATION_*): Ditto.
  380. 2005-06-30 Ben Elliston <bje@gnu.org>
  381. * Makefile.am (check-DEJAGNU): Don't search for expect.
  382. * Makefile.in: Regenerate.
  383. 2005-06-30 Ben Elliston <bje@gnu.org>
  384. * Makefile.am (EXPECT): Set to expect.
  385. (RUNTEST): Likewise, set to runtest.
  386. * Makefile.in: Regenerate.
  387. 2005-06-17 Jakub Jelinek <jakub@redhat.com>
  388. * readelf.c (CHECK_ENTSIZE_VALUES, CHECK_ENTSIZE): Define.
  389. (process_section_headers): Use it.
  390. (process_relocs): Don't crash if symsec is not SHT_SYMTAB
  391. or SHT_DYNSYM.
  392. (process_version_sections): Use sizeof (Elf_External_Versym)
  393. instead of sh_entsize.
  394. 2005-06-16 Nick Clifton <nickc@redhat.com>
  395. * rename.c (simple_copy): Only define if it is going to be used.
  396. (smart_rename): Mark the preserve_dates parameter as possibly
  397. being unused.
  398. * resres.c (write_res_data): Prevent a potential compile time
  399. warning by casting the return value from fwrite.
  400. 2005-06-14 H.J. Lu <hongjiu.lu@intel.com>
  401. PR 995
  402. * ar.c (BUFSIZE): Moved to ...
  403. * bucomm.h (BUFSIZE): Here.
  404. * bucomm.c: Include <assert.h>.
  405. (bfd_get_archive_filename): New.
  406. * bucomm.h (bfd_get_archive_filename): New.
  407. * objcopy.c (copy_unknown_object): New.
  408. (copy_object): Use bfd_get_archive_filename when reporting input
  409. error. Don't call fatal on unknown arch.
  410. (copy_archive): Call copy_unknown_object on unknown format or
  411. arch.
  412. 2005-06-14 Jakub Jelinek <jakub@redhat.com>
  413. * readelf.c (cmalloc, xcmalloc, xcrealloc): New functions.
  414. (get_data): Add nmemb argument. Return NULL if nmemb * size
  415. overflows. If var == NULL, allocate one extra byte and
  416. clear it.
  417. (slurp_rela_relocs, slurp_rel_relocs, get_32bit_program_headers,
  418. get_64bit_program_headers, get_program_headers,
  419. get_32bit_section_headers, get_64bit_section_headers,
  420. get_32bit_elf_symbols, get_64bit_elf_symbols, process_section_headers,
  421. process_section_groups, process_relocs, slurp_ia64_unwind_table,
  422. ia64_process_unwind, slurp_hppa_unwind_table, hppa_process_unwind,
  423. get_32bit_dynamic_section, get_64bit_dynamic_section,
  424. process_dynamic_section, process_version_sections, get_dynamic_data,
  425. process_symbol_table, dump_section, load_debug_str, load_debug_loc,
  426. load_debug_range, read_and_display_attr_value, process_debug_info,
  427. get_debug_info, frame_need_space, display_debug_frames,
  428. display_debug_section, process_mips_specific, process_gnu_liblist,
  429. process_corefile_note_segment): Adjust get_data callers. Use
  430. cmalloc, xcmalloc and xcrealloc instead of {m,xm,xre}alloc where
  431. passed size is a product of 2 numbers.
  432. * readelf.c (print_mode): Fix comment typo.
  433. (slurp_rela_relocs, slurp_rel_relocs): Fix memory leaks.
  434. (dump_relocations): Fix a thinko in check for invalid st_name.
  435. (process_program_headers): Don't crash if string_table is NULL.
  436. (process_section_headers): Don't crash if e_shstrndx is invalid.
  437. Ensure string_table_length is 0 if string_table == NULL.
  438. Don't return just because string_table is NULL.
  439. (process_section_groups): Don't crash if symtab's sh_link or
  440. symbol's st_name is invalid. Fix a memory leak. Fix check for
  441. invalid section number entry.
  442. (process_relocs): Don't crash if relocation or symbol section's
  443. sh_link is invalid.
  444. (slurp_ia64_unwind_table, slurp_hppa_unwind_table): Don't crash if
  445. relocation section's sh_info is invalid.
  446. (ia64_process_unwind, hppa_process_unwind): Don't crash if symbol
  447. table's sh_link is invalid.
  448. (process_version_sections): Don't crash on version or symbol
  449. section's sh_link is invalid. Don't crash if symbol's st_shndx
  450. is invalid.
  451. (process_symbol_table): Don't crash if string table is corrupt
  452. or symbol's st_name, st_shndx, vna_name or vda_name is invalid.
  453. (debug_apply_rela_addends): Don't crash if relocation section's
  454. sh_info or sh_link is invalid.
  455. (display_debug_loc): Warn for unterminated .debug_loc section
  456. or start offsets not within .debug_loc section boundaries.
  457. (process_gnu_liblist): Don't crash if liblist section's sh_link
  458. or entry's l_name is invalid.
  459. 2005-06-09 Jakub Jelinek <jakub@redhat.com>
  460. * objdump.c (disassemble_bytes): Don't crash if q->howto == NULL.
  461. If q->howto->name == NULL, print q->howto->type as number instead.
  462. (dump_reloc_set): Likewise.
  463. 2005-06-07 Eric Christopher <echristo@redhat.com>
  464. * readelf.c (guess_is_rela): Support ms1.
  465. (dump_relocations): Ditto.
  466. (get_machine_name): Ditto.
  467. 2005-06-07 Aldy Hernandez <aldyh@redhat.com>
  468. Michael Snyder <msnyder@redhat.com>
  469. Stan Cox <scox@redhat.com>
  470. * Makefile.am (readelf.o): Depend on ms1.h.
  471. * Makefile.in: Regenerate.
  472. * readelf.c: Include ms1.h.
  473. 2005-06-06 H.J. Lu <hongjiu.lu@intel.com>
  474. PR 990
  475. * nm.c (print_symbol): Call bfd_find_line before
  476. bfd_find_nearest_line.
  477. 2005-06-06 Alan Modra <amodra@bigpond.net.au>
  478. * NEWS: Mention new powerpc ld support.
  479. 2005-06-03 Steve Ellcey <sje@cup.hp.com>
  480. * configure.in: Check for getc_unlocked prototype.
  481. * configure: Regenerate.
  482. * config.in: Regenerate.
  483. * strings.c (get_char): Only call getc_unlocked if we have seen a
  484. prototype.
  485. 2005-06-03 Nick Clifton <nickc@redhat.com>
  486. * configure.in (ALL_LINGUAS): Add zh_TW
  487. * configure: Regenerate.
  488. * po/zh_TW.po: New Chinese (traditional) translation.
  489. 2005-05-31 Richard Henderson <rth@redhat.com>
  490. * readelf.c (dump_relocations): Special case R_ALPHA_LITUSE.
  491. 2005-05-29 Richard Henderson <rth@redhat.com>
  492. * readelf.c (get_alpha_dynamic_type): New.
  493. (get_dynamic_type): Call it.
  494. 2005-05-24 H.J. Lu <hongjiu.lu@intel.com>
  495. * readelf.c (process_section_groups): Report group section
  496. index. Check if the section member index is valid.
  497. 2005-05-23 Fred Fish <fnf@specifixinc.com>
  498. * addr2line.c (unwind_inlines): New flag for 'i' option.
  499. (usage): Document '-i' option.
  500. (long_options): Recognize '--inlines'.
  501. (translate_addresses): Loop, calling bfd_find_inliner_info as
  502. necessary and printing multiple output lines.
  503. (main): Handle 'i' option.
  504. * doc/binutils.texi (addr2line): Document '-i' option.
  505. * NEWS: Mention new addr2line '-i' option.
  506. 2005-05-23 Nick Clifton <nickc@redhat.com>
  507. * readelf.c (fetch_indirect_string): Display a warning message
  508. when a corrupt DW_FORM_strp value is encountered.
  509. (process_debug_info): Mention that the compilation unit offset is
  510. being displayed in hexadecimal.
  511. (display_debug_lines): Fix typo in name of .debug_line section.
  512. 2005-05-19 Zack Weinberg <zack@codesourcery.com>
  513. * Makefile.am: Have 'all' depend on 'info'.
  514. * Makefile.in: Regenerate.
  515. 2005-05-19 Ben Elliston <bje@au.ibm.com>
  516. * readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding
  517. value of DW_ATE_GNU_decimal_float.
  518. 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
  519. * doc/Makefile.am (config.texi): Don't use $<.
  520. * doc/Makefile.in: Regenerated.
  521. 2005-05-15 Yitzchak Scott-Thoennes <sthoenna@efn.org>
  522. * deflex.l: Ignore CRs
  523. 2005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
  524. * acinclude.m4: Remove obsolete code.
  525. * configure.in: Update AC_PREREQ.
  526. * doc/Makefile.am (binutils_TEXINFOS): Define.
  527. (config.texi): Depend on distributed files instead of built
  528. files.
  529. (binutils.dvi, binutils.info): Remove unnecessary rules.
  530. (DISTCLEANFILES): Remove.
  531. (install-data-local): Renamed from install.
  532. (info-local): Renamed from info.
  533. * Makefile.in, aclocal.m4, config.in, configure,
  534. doc/Makefile.in: Regenerated.
  535. 2005-05-14 Alan Modra <amodra@bigpond.net.au>
  536. * readelf.c (get_ppc_dynamic_type): Display DT_PPC_GOT, not
  537. DT_PPC_GLINK.
  538. 2005-05-13 Fred Fish <fnf@specifixinc.com>
  539. * readelf.c: Fix a couple of obvious comment typos,
  540. 'debug_str' -> 'debug_ranges' and proecess' -> 'process'.
  541. 2005-05-13 H.J. Lu <hongjiu.lu@intel.com>
  542. * readelf.c (dump_ia64_unwind): Get stamp with proper size.
  543. 2005-05-12 Nick Clifton <nickc@redhat.com>
  544. * readelf.c (display_debug_lines): If pointer_size has not been
  545. found then assume that it is 4 in order to prevent a seg fault
  546. when process_extend_line_op attempts to read the line data.
  547. 2005-05-11 Alan Modra <amodra@bigpond.net.au>
  548. * readelf.c (get_ppc_dynamic_type): New function for DT_PPC_GLINK.
  549. (get_dynamic_type): Call the above.
  550. 2005-05-07 Nick Clifton <nickc@redhat.com>
  551. * Update the address and phone number of the FSF organization in
  552. the GPL notices in the following files:
  553. aclocal.m4, addr2line.c, ar.c, arlex.l, arparse.y, arsup.c,
  554. arsup.h, binemul.c, binemul.h, bucomm.c, bucomm.h, budbg.h,
  555. budemang.c, budemang.h, coffdump.c, coffgrok.c, coffgrok.h,
  556. cxxfilt.c, debug.c, debug.h, deflex.l, defparse.y, dlltool.c,
  557. dlltool.h, dllwrap.c, emul_aix.c, emul_vanilla.c, filemode.c,
  558. ieee.c, nlmconv.c, nlmconv.h, nlmheader.y, nm.c, objcopy.c,
  559. objdump.c, prdbg.c, rclex.l, rcparse.y, rdcoff.c, rddbg.c,
  560. readelf.c, rename.c, resbin.c, rescoff.c, resrc.c, resres.c,
  561. size.c, srconv.c, stabs.c, strings.c, sysdump.c, sysinfo.y,
  562. syslex.l, unwind-ia64.c, unwind-ia64.h, version.c, windres.c,
  563. windres.h, winduni.c, winduni.h wrstabs.c, doc/fdl.texi
  564. 2005-05-06 Jan Beulich <jbeulich@novell.com>
  565. * objcopy.c (copy_file): Don't delete output upon error here.
  566. (copy_main): Delete output upon error.
  567. 2005-05-02 Ben Elliston <bje@au.ibm.com>
  568. * dlltool.c (dtab): Remove empty function.
  569. (process_duplicates): Remove calls to dtab().
  570. 2005-05-01 Maciej W. Rozycki <macro@linux-mips.org>
  571. * doc/binutils.texi (strip, objcopy): Clarify the description of
  572. the "--strip-debug" option. Fix a typo.
  573. 2005-04-29 H.J. Lu <hongjiu.lu@intel.com>
  574. * bucomm.c: Undo the last change.
  575. * bucomm.h: Likewise.
  576. 2005-04-29 Ben Elliston <bje@au.ibm.com>
  577. * syslex.l (word, number, unit): Remove unused variables.
  578. * nlmheader.y (keyword_tokens): Make static.
  579. * coffdump.c (dump_coff_symbol, coff_dump): Make static.
  580. * coffgrok.c (lofile, last_function_symbol, last_function_type,
  581. last_struct, last_enum, cur_sfile): Make variables static.
  582. * sysdump.c (getCHARS, fillup, getBARRAY, getINT, getBITS,
  583. sysroff_swap_tr_in, sysroff_print_tr_out): Make static.
  584. * sysinfo.y (writecode, it, code, repeat, oldrepeat, name, rdepth,
  585. names, pnames): Likewise.
  586. 2005-04-29 Ben Elliston <bje@au.ibm.com>
  587. * ar.c (mri_mode): Make static.
  588. * arsup.c (obfd, real_name, outfile): Likewise.
  589. * binemul.c (ar_emul_create): Remove unused function.
  590. (ar_emul_default_create): Likewise.
  591. * binemul.h (ar_emul_create): Remove declaration.
  592. (ar_emul_default_create): Likewise.
  593. (struct bin_emulation_xfer_struct): Remove ar_create member.
  594. * bucomm.c (report): Make static.
  595. * bucomm.h (report): Remove declaration.
  596. * cxxfilt.c (mbuffer): Make static.
  597. (main): Use unsigned ints for some loop control variables.
  598. * readelf.c: Make many global variables static.
  599. * size.c (berkeley_format): Make static.
  600. (long_options): Likewise.
  601. * emul_aix.c (bin_aix_emulation): Remove ar_emul_default_create
  602. structure initialiser.
  603. (bin_aix5_emulation): Likewise.
  604. * emul_vanilla.c (bin_vanilla_emulation): Likewise.
  605. 2005-04-27 Ben Elliston <bje@au.ibm.com>
  606. * syslex.l: Adjust top-of-file comment: this file is part of GNU
  607. binutils, not GNU ld.
  608. 2005-04-25 Nick Clifton <nickc@redhat.com>
  609. PR872
  610. * objcopy.c (copy_archive): Initialise 'obfd' field of new
  611. name_list structure.
  612. * objcopy.c (copy_usage): Fix description of -K switch.
  613. * doc/binutils.texi (strip, objcopy): Fix description of -K
  614. switch.
  615. 2005-04-20 Daniel Jacobowitz <dan@codesourcery.com>
  616. * readelf.c (display_debug_frames): Use data factor for
  617. DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
  618. 2005-04-19 H.J. Lu <hongjiu.lu@intel.com>
  619. * objdump.c (dump_section_header): Skip linker created section.
  620. 2005-04-17 H.J. Lu <hongjiu.lu@intel.com>
  621. * objdump.c (dump_section_header): Support SEC_GROUP.
  622. 2005-04-16 Nick Clifton <nickc@redhat.com>
  623. * readelf.c (debug_apply_rela_addends): Remove redundant %s from
  624. printf string.
  625. 2005-04-15 Nick Clifton <nickc@redhat.com>
  626. * objcopy.c (copy_file): Issue an error message when attmepting to
  627. copy an empty input file.
  628. 2005-04-14 Alan Modra <amodra@bigpond.net.au>
  629. * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
  630. * configure.in: Include ../bfd/warning.m4 contents.
  631. * Makefile.in: Regenerate.
  632. * configure: Regenerate.
  633. * doc/Makefile.in: Regenerate.
  634. 2005-04-12 Alan Modra <amodra@bigpond.net.au>
  635. * Makefile.am: Run "make dep-am".
  636. (syslex.o, sysinfo.o, arparse.o, arlex.o): Add -Wno-error to command.
  637. (sysroff.o, defparse.o, deflex.o): Likewise.
  638. (nlmheader.o, rcparse.o, rclex.o): Likewise.
  639. * Makefile.in: Regenerate.
  640. * aclocal.m4: Regenerate.
  641. * config.in: Regenerate.
  642. * configure: Regenerate.
  643. 2005-04-11 Jan Beulich <jbeulich@novell.com>
  644. * MAINTAINERS: Add myself as ix86 Intel mode maintainer.
  645. 2005-04-06 Nick Clifton <nickc@redhat.com>
  646. H.J. Lu <hongjiu.lu@intel.com>
  647. * po/rw.po: New translation: Kinyarwanda.
  648. * configure.in (ALL_LINGUAS): Add rw.
  649. * configure: Regenerate.
  650. 2005-04-04 Maciej W. Rozycki <macro@linux-mips.org>
  651. * readelf.c (debug_apply_rela_addends): Reorder r_info as
  652. necessary for 64-bit MIPS.
  653. 2005-04-04 Maciej W. Rozycki <macro@linux-mips.org>
  654. * doc/binutils.texi (readelf): Remove a duplicate paragraph.
  655. 2005-04-04 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
  656. PR binutils/813
  657. * objdump.c (dump_symbols): Add a check to see if the section for
  658. the symbol is chosen using process_section_p.
  659. 2005-04-01 H.J. Lu <hongjiu.lu@intel.com>
  660. * NEWS: Mention new readelf options, "-N/--full-section-name"
  661. and "-g/--section-groups".
  662. * doc/binutils.texi: Document new readelf options,
  663. "-N/--full-section-name" and "-g/--section-groups".
  664. 2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
  665. * readelf.c (do_full_section_name): New.
  666. (options): Add "--full-section-name"/'N'.
  667. (usage): Add -N/--full-section-name.
  668. (parse_args): Handle 'N'.
  669. (process_section_headers): Print out the full section name if
  670. do_full_section_name isn't 0.
  671. 2005-03-31 Nick Clifton <nickc@redhat.com>
  672. * configure.in: Add a check for <unistd.h> providing a prototype
  673. for getopt() which is compatible with the one in
  674. include/getopt.h. If so then define HAVE_DECL_GETOPT.
  675. * configure: Regenerate.
  676. * config.in (HAVE_DECL_GETOPT): Add.
  677. * aclocal.m4: Regenerate.
  678. * addr2line.c: Include "config.h" before "bfd.h" so that
  679. HAVE_DECL_GETOPT is defined before getopt.h is included.
  680. 2005-03-21 Jan-Benedict Glaw <jbglaw@lug-owl.de>
  681. * doc/binutils.texi: Document new VAX disassembler-specific option
  682. -M entry:0xfooba8.
  683. * NEWS: Mention the new option.
  684. 2005-03-29 Anil Paranjpe <anilp1@kpitcummins.com>
  685. * MAINTAINERS: Add myself as H8300 maintainer.
  686. 2005-03-28 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
  687. * objdump.c (disassemble_bytes): Remove cast.
  688. 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
  689. * BRANCHES: Add binutils-csl-arm-2005q1-branch and
  690. binutils-2_16-branch.
  691. 2005-03-25 Mark Kettenis <kettenis@gnu.org>
  692. * MAINTAINERS: Add myself as M88k maintainer.
  693. 2005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
  694. * winduni.c (unicode_from_ascii): Don't declare variables
  695. 's' and 'w' if _WIN32. Use MultiByteToWideChar to set the unicode
  696. string len.
  697. 2005-03-24 Dmitry Diky <diwil@spec.ru>
  698. * MAINTAINERS: Add myself as MSP430 maintainer.
  699. 2005-03-23 Nick Clifton <nickc@redhat.com>
  700. * po/fr.po: Updated translation.
  701. 2005-03-22 Nick Clifton <nickc@redhat.com>
  702. * MAINTAINERS: Add Daniel Jacobwitz to the blanket write
  703. privileges list.
  704. 2005-03-17 Paul Brook <paul@codesourcery.com>
  705. Dan Jacobowitz <dan@codesourcery.com>
  706. Mark Mitchell <mark@codesourcery.com>
  707. * binutils/readelf.c (get_arm_segment_type): New function.
  708. (get_segment_type): Use it.
  709. 2005-03-18 Paul Brook <paul@codesourcery.com>
  710. * objdump.c (objdump_print_addr): Avoid uninitialized warning.
  711. 2005-03-17 Diego Novillo <dnovillo@redhat.com>
  712. * MAINTAINERS: Remove self as maintainer of x86 intel
  713. mode.
  714. 2005-03-16 Nick Clifton <nickc@redhat.com>
  715. Ben Elliston <bje@au.ibm.com>
  716. * configure.in (werror): New switch: Add -Werror to the
  717. compiler command line. Enabled by default. Disable via
  718. --disable-werror.
  719. * configure: Regenerate.
  720. 2005-03-15 Daniel Marques <marques@cs.cornell.edu>
  721. Nick Clifton <nickc@redhat.com>
  722. * objcopy.c (globalize_specific_list): New linked list of symbols
  723. to convert from local binding into global binding.
  724. (command_line_switch): Add OPTION_GLOBALIZE_SYMBOL and
  725. OPTION_GLOBALIZE_SYMBOLS.
  726. (copy_options): Add "globalize-symbol" and "globalize-symbols".
  727. (copy_usage): Document the new switches.
  728. (filter_symbols): Convert defined local symbols mentioned on the
  729. globalize_specific_list into global symbols.
  730. (copy_object): Perform actions if the globalize_specific_list is
  731. not empty.
  732. (copy_main): Handle new switches.
  733. * NEWS: Mention new feature.
  734. * doc/binutils.texi: Document new switches.
  735. 2005-03-15 Alan Modra <amodra@bigpond.net.au>
  736. * po/es.po: Commit new Spanish translation.
  737. * po/fr.po: Commit new French translation.
  738. 2005-03-14 Alan Modra <amodra@bigpond.net.au>
  739. * po/tr.po: Commit new Turkish translation.
  740. 2005-03-11 Nick Clifton <nickc@redhat.com>
  741. * po/fr.po: Updated French translation.
  742. 2005-03-10 Nick Clifton <nickc@redhat.com>
  743. * configure.in (ALL_LINGUAS): Add Romanian lingua "ro".
  744. * configure: Regenerate.
  745. * po/ro.po: New file.
  746. * po/ru.po: Updated file.
  747. 2005-03-05 Alan Modra <amodra@bigpond.net.au>
  748. * po/binutils.pot: Regenerate.
  749. 2005-03-02 Jan Beulich <jbeulich@novell.com>
  750. * ar.c (remove_output): Use unlink_if_ordinary instead of unlink.
  751. * objcopy.c (copy_file): Likewise.
  752. (strip_main): Likewise.
  753. 2005-03-01 Stig Petter Olsroed <stigpo@users.sourceforge.net>
  754. Nick Clifton <nickc@redhat.com>
  755. * objdump.c: Fix coding for DISASSEMBLER_NEEDS_RELOC:
  756. (struct objdump_disasm_info): Add 'reloc' field.
  757. (disassemble_bytes): Fix check for when an insn has a reloc
  758. associated with it. Improve comment explaining why the use of
  759. octets is wrong. Set the 'reloc' field in objdump_disasm_info
  760. structure.
  761. (objdump_print_addr): Use new 'reloc' field to lookup the correct
  762. address for the symbol associated with the current instruction's
  763. relocation.
  764. (disassemble_info): Initialise 'reloc' field.
  765. 2005-02-28 Jakub Jelinek <jakub@redhat.com>
  766. * readelf.c (get_file_type, get_machine_name, get_osabi_name,
  767. get_segment_type, get_section_type_name, get_elf_class,
  768. get_data_encoding, get_group_flags, dynamic_section_mips_val,
  769. get_symbol_binding, get_symbol_type, get_TAG_name, get_FORM_name,
  770. get_AT_name, process_mips_specific, process_gnu_liblist,
  771. get_note_type, get_netbsd_elfcore_note_type): Use snprintf instead of
  772. sprintf where needed.
  773. (get_dynamic_type): Likewise. Increase buff to 64 bytes.
  774. (get_elf_section_flags): Increase buff to 33 bytes. Avoid
  775. using strcat.
  776. (get_dynamic_flags): Renamed to...
  777. (print_dynamic_flags): ... this. Print the flags to stdout instead
  778. of returning them as string.
  779. (process_dynamic_section): Adjust caller.
  780. 2005-02-25 H.J. Lu <hongjiu.lu@intel.com>
  781. * readelf.c (display_debug_ranges): Print out offset for end of
  782. list.
  783. 2005-02-23 Alan Modra <amodra@bigpond.net.au>
  784. * dlltool.c: Warning fixes.
  785. * objdump.c: Likewise.
  786. 2005-02-22 Alan Modra <amodra@bigpond.net.au>
  787. * Makefile.am (syslex.o, sysinfo.o): Pass AM_CFLAGS to compiler.
  788. (syslex.o, sysinfo.o, dlltool.o, rescoff.o): Remove duplicate
  789. dependencies. Run "make dep-am".
  790. * nlmconv.c: Warning fixes.
  791. * readelf.c: Likewise.
  792. * srconv.c: Likewise.
  793. * sysdump.c: Likewise.
  794. * sysinfo.y: Likewise.
  795. * syslex.l: Likewise. Use yyleng instead of strlen, memcpy instead
  796. of strcpy.
  797. * Makefile.in: Regenerate.
  798. 2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
  799. * objcopy.c (parse_flags): Replace SEC_SHARED with
  800. SEC_COFF_SHARED.
  801. * objdump.c (dump_section_header): Dump SEC_TIC54X_BLOCK and
  802. SEC_TIC54X_CLINK for TI c54x only. Remove SEC_ARCH_BIT_0. Dump
  803. SEC_COFF_SHARED for COFF only.
  804. 2005-02-21 Alan Modra <amodra@bigpond.net.au>
  805. * Makefile.am: Run "make dep-am"
  806. * Makefile.in: Regenerate.
  807. * doc/Makefile.in: Regenerate.
  808. 2005-02-21 Alan Modra <amodra@bigpond.net.au>
  809. * readelf.c (BYTE_GET8): Delete. Replace uses with BYTE_GET.
  810. (byte_get_little_endian): Don't handle size of -8.
  811. (byte_get_signed, byte_get_big_endian): Likewise.
  812. (print_dec_vma, print_hex_vma): New functions.
  813. (print_vma): Use them. Return chars output.
  814. (get_dynamic_data): Return a bfd_vma array. Add ent_size parm.
  815. (process_symbol_table): Handle alpha and s390 .hash.
  816. 2005-02-18 H.J. Lu <hongjiu.lu@intel.com>
  817. * readelf.c (display_debug_loc): Print out offset for end of
  818. list.
  819. 2005-02-18 Joseph S. Myers <joseph@codesourcery.com>
  820. * Makefile.am (TOOL_PROGS): Add objdump.
  821. * Makefile.in: Regenerate.
  822. 2005-02-17 Alan Modra <amodra@bigpond.net.au>
  823. * deflex.l (YY_NO_UNPUT): Define.
  824. * rclex.l (YY_NO_UNPUT): Define.
  825. * rcparse.y (null_unichar): New static var.
  826. (res_null_text): Use it rather than attempting to init from wchar_t.
  827. * windres.c: Include assert.h and time.h before getopt.h.
  828. Include config.h and unistd.h too.
  829. 2005-02-15 Nick Clifton <nickc@redhat.com>
  830. * nlmconv.c: Provide a full prototype for the localtime() function
  831. in order to avoid a compile time warning.
  832. 2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
  833. * readelf.c (group_count): Don't initialize it.
  834. (process_section_groups): Reurn 1 if we won't do unwind nor
  835. section groups. Set group_count to 0 before counting group
  836. sections and return 1 if there are no group sections. Reread
  837. SHT_SYMTAB/SHT_STRTAB sections only when needed. Don't skip
  838. section 0.
  839. (process_object): Only set do_unwind to 0 if
  840. process_section_groups return 0.
  841. 2005-02-10 Ian Lance Taylor <ian@airs.com>
  842. * MAINTAINERS: Update my e-mail address.
  843. 2005-02-10 Mark Mitchell <mark@codesourcery.com>
  844. * MAINTAINERS: Add Paul Brook and Mark Mitchell as ARM (Symbian)
  845. maintainers.
  846. 2005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com>
  847. * MAINTAINERS: Add self as maintainer of MAXQ.
  848. 2005-01-31 Richard Sandiford <rsandifo@redhat.com>
  849. * readelf.c (eh_addr_size): New variable.
  850. (find_section): Move earlier in file. Return empty sections too.
  851. (process_program_headers): Use find_section to find .dynamic.
  852. (process_section_headers): Initialize eh_addr_size.
  853. (dump_ia64_unwind, slurp_ia64_unwind_table, ia64_process_unwind)
  854. (dump_hppa_unwind, slurp_hppa_unwind_table, hppa_process_unwind)
  855. (display_debug_frames): Use it instead of local addr_size variable.
  856. (size_of_encoded_value): Get pointer size from eh_addr_size rather
  857. than is_32bit_elf.
  858. 2005-01-31 Andrew Cagney <cagney@gnu.org>
  859. * configure: Regenerate to track ../gettext.m4.
  860. 2005-01-31 Nick Clifton <nickc@redhat.com>
  861. * version.c (print_version): Bump the copyright date to 2005.
  862. 2005-01-25 Alan Modra <amodra@bigpond.net.au>
  863. * nm.c (display_rel_file): Read dynamic syms before calling
  864. bfd_get_synthetic_symtab.
  865. 2005-01-21 Ben Elliston <bje@au.ibm.com>
  866. * dlltool.c (dump_iat): Remove unused function.
  867. (gen_exp_file): Remove #if 0'd code.
  868. (make_one_lib_file): Likewise.
  869. * srconv.c: Remove #if 0'd code throughout.
  870. * size.c (lprint_number): Remove.
  871. (print_berkeley_format): Remove #if 0'd code.
  872. * ar.c (do_quick_append): Remove declaration and definiton.
  873. (main): Remove #if 0'd code.
  874. * filemode.c (filemodestring): Remove #if 0'd function.
  875. * sysdump.c (unit_info_list): Remove function.
  876. (object_body_list): Likewise.
  877. (program_structure): Likewise.
  878. (debug_list): Likewise.
  879. (module): Remove #if 0'd code.
  880. 2005-01-20 Mark Mitchell <mark@codesourcery.com>
  881. * BRANCHES: Add binutils-2_15-branch.
  882. * MAINTAINERS: Document branch policy.
  883. * BRANCHES: New file.
  884. 2005-01-19 Fred Fish <fnf@specifixinc.com>
  885. * NEWS: Make note of the new MIPS disassembly option "no-aliases".
  886. * doc/binutils.texi (objdump): Document the "no-aliases"
  887. disassembly option.
  888. 2005-01-17 Eugene Kotlyarov <ekot@narod.ru>
  889. PR binutils/647
  890. * rcparse.y (RCDATA): Allow a filename to be supplied as the
  891. parameter. Parse it with define_rcdata_file().
  892. * resrc.c (define_rcdata_file): New function.
  893. * windres.h: Provide a prototype for the new function.
  894. * resrc.c (define_user_file): Fix typo by replacing "font file"
  895. with "file".
  896. 2005-01-16 Jason Thorpe <thorpej@netbsd.org>
  897. * MAINTAINERS: Update my email address.
  898. 2005-01-16 Danny Smith <dannysmith@users.sourceforge.net>
  899. * dlltool.c (set_dll_name_from_def): New function. Strip name
  900. to basename, with warning.
  901. (def_name): Use it.
  902. (def_library): Likwise.
  903. (main): Strip arg of --dllname to basename, with warning.
  904. Only use basename of exp_name when inferring dll_name.
  905. 2005-01-11 Nick Clifton <nickc@redhat.com>
  906. PR binutils/637
  907. * doc/binutils.texi (c++filt): Use uppercase CXXFILT in the
  908. footnote in order to prevent the sed script in the Makefile from
  909. converting it into c++filt.
  910. 2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
  911. BZ 635
  912. readelf.c (saved_base_address): Removed.
  913. (decode_64bit_range): Likewise.
  914. (decode_range): Likewise.
  915. (display_64bit_debug_ranges): Likewise.
  916. (debug_info): Add range_lists, num_range_lists and
  917. max_range_lists.
  918. (read_and_display_attr_value): Handle do_debug_ranges.
  919. (process_debug_info): Likewise.
  920. (display_debug_ranges): Rewrite.
  921. (process_object): Free range_lists.
  922. 2005-01-10 Andreas Schwab <schwab@suse.de>
  923. * configure.in: Don't define SKIP_ZEROES.
  924. * configure: Regenerate.
  925. * objdump.c (disassemble_data): Set skip_zeroes and
  926. skip_zeroes_at_end in disasm_info to defaults.
  927. (DEFAULT_SKIP_ZEROES): Rename from SKIP_ZEROES and always define.
  928. (DEFAULT_SKIP_ZEROES_AT_END): Rename from SKIP_ZEROES_AT_END and
  929. always define.
  930. (disassemble_bytes): Use skip_zeroes and skip_zeroes_at_end from
  931. objdump_disasm_info.
  932. 2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
  933. * readelf.c (display_debug_loc): Display base address
  934. specifiers. Always output <End of list>.
  935. 2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
  936. * readelf.c (have_frame_base): New.
  937. (need_base_address): Likewise.
  938. (saved_base_address): Likewise.
  939. (decode_location_expression): Return 1 if DW_AT_frame_base is
  940. needed.
  941. (debug_info): Add base_address and a have_frame_base pointer.
  942. (read_and_display_attr_value): Replace saved_DW_AT_low_pc with
  943. saved_base_address. Record base address. Set have_frame_base.
  944. Record if a location list has DW_AT_frame_base. Display if a
  945. location expression has no DW_AT_frame_base but needs one. Set
  946. saved_base_address only if needed.
  947. (process_debug_info): Clear have_frame_base, saved_base_address
  948. and set need_base_address.
  949. (display_debug_loc): Display if a location expression has no
  950. DW_AT_frame_base but needs one. Display if start >= end. Don't
  951. adjust for section address. Properly handle base address.
  952. (process_object): Free the have_frame_base pointer in
  953. debug_info.
  954. 2005-01-04 H.J. Lu <hongjiu.lu@intel.com>
  955. * readelf.c (display_debug_loc): Display offsets for hole and
  956. overlap.
  957. (display_debug_str): Add a newline at the end.
  958. 2005-01-04 Armin Diehl <diehl@nordrhein.de>
  959. PR binutils/630
  960. * nlmconv.c (main): Only store the basename of the output filename
  961. in the module table.
  962. 2005-01-04 H.J. Lu <hongjiu.lu@intel.com>
  963. BZ 615
  964. * readelf.c (process_debug_info): New.
  965. (debug_info): Add num_loc_offsets, loc_offsets and
  966. last_loc_offset_p.
  967. (get_debug_info): Use process_debug_info.
  968. (display_debug_loc): Properly handle location list. Warn if bad
  969. location lists are encoutnered.
  970. (read_and_process_attr_value): New.
  971. (read_and_display_attr_value): Use "%lx" for DW_FORM_data4.
  972. (display_debug_info): Use process_debug_info.
  973. (process_object): Also free loc_offsets in debug_information.
  974. For older changes see ChangeLog-2004
  975. Copyright (C) 2005 Free Software Foundation, Inc.
  976. Copying and distribution of this file, with or without modification,
  977. are permitted in any medium without royalty provided the copyright
  978. notice and this notice are preserved.
  979. Local Variables:
  980. mode: change-log
  981. left-margin: 8
  982. fill-column: 74
  983. version-control: never
  984. End: