ChangeLog-2004 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799
  1. 2004-12-31 Alan Modra <amodra@bigpond.net.au>
  2. * objdump.c (remove_useless_symbols): Discard section symbols.
  3. 2004-12-27 H.J. Lu <hongjiu.lu@intel.com>
  4. * readelf.c (read_leb128): Support 64bit host.
  5. 2004-12-23 Nick Clifton <nickc@redhat.com>
  6. PR binutils/616
  7. * readelf.c (debug_info): Add 'cu_offset' field.
  8. (get+pointer_size_of_comp_unit): Rename to
  9. 'get_pointer_size_and_offset_of_comp_unit'. Add code to return
  10. the offset of the comp_unit if requested.
  11. (get_debug_info): Record comp_unit offsets as well.
  12. (display_debug_lines): Call get_pointer_size_of_comp_unit.
  13. (decode_location_expression): Add an extra parameter - the offset
  14. of the current comp-unit. Use this when decoding the DW_OP_call2
  15. and DW_OP_call4 operators.
  16. (display_debug_loc): Call get_pointer_size_of_comp_unit, pass the
  17. comp_unit offset on the decode_location_expression.
  18. (read_and_display_attr_value): Pass the comp_unit offset on the
  19. decode_location_expression.
  20. (display_debug_frames): Pass 0 as the comp_unit offset to
  21. decode_location_expression.
  22. 2004-12-22 Nick Clifton <nickc@redhat.com>
  23. * readelf.c (last_pointer_size, warned_about_missing_comp_units):
  24. New variables associated with obtaining the pointer size for a
  25. comp_unit.
  26. (get_pointer_size_of_comp_unit): Add an extra parameter - the name
  27. of the section requesting the pointer size. Use this name in
  28. error messages. If there are not enough comp_units available
  29. produce a warning message, but return the last known pointer size
  30. so that section dumping can continue.
  31. (get_debug_info): Reset the new variables.
  32. (display_debug_lines): Add extra parameter to invocation of
  33. get_pointer_size_of_comp_unit and remove error message when it
  34. returns 0.
  35. (display_debug_loc): Likewise.
  36. 2004-12-15 Jan Beulich <jbeulich@novell.com>
  37. * doc/binutils.texi: Document --strip-unneeded-symbol and
  38. --strip-unneeded-symbols.
  39. * objcopy.c (strip_unneeded_list): New.
  40. (enum command_line_switch): Add OPTION_STRIP_UNNEEDED_SYMBOL
  41. and OPTION_STRIP_UNNEEDED_SYMBOLS.
  42. (copy_options): Add --strip-unneeded-symbol and
  43. --strip-unneeded-symbols.
  44. (copy_usage): Likewise.
  45. (filter_symbols): Suppress copying of symbol if in strip_unneeded_list
  46. and the symbol is not needed.
  47. (copy_main): Handle OPTION_STRIP_UNNEEDED_SYMBOL and
  48. OPTION_STRIP_UNNEEDED_SYMBOLS.
  49. 2004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
  50. * readelf.c (get_machine_flags): Handle E_MIPS_MACH_9000.
  51. 2004-12-08 Ben Elliston <bje@au.ibm.com>
  52. * arlex.l: Fix formatting.
  53. 2004-12-08 Ben Elliston <bje@au.ibm.com>
  54. * doc/Makefile.am (config.texi): Emit a @set UPDATED command to
  55. config.texi whose value is the current month and year.
  56. * doc/Makefile.in: Rebuild.
  57. * doc/binutils.texi: Set the document subtitle to be the value of
  58. the Texinfo UPDATED variable (obtained from config.texi).
  59. 2004-12-07 Ben Elliston <bje@au.ibm.com>
  60. PR binutils/249
  61. * doc/binutils.texi (def file format): New node.
  62. (dlltool): Use the tool name as the @chapter name, like all the
  63. other binutils. Use @file{.def} throughout for consistency.
  64. 2004-12-06 Ben Elliston <bje@au.ibm.com>
  65. * dlltool.c: Comment fix.
  66. 2004-12-06 Ben Elliston <bje@au.ibm.com>
  67. * doc/binutils.texi: Update copyright years.
  68. 2004-12-03 Richard Sandiford <rsandifo@redhat.com>
  69. * MAINTAINERS: Remove mention of config.if.
  70. 2004-11-30 Tero Niemela <tero_niemela@yahoo.com>
  71. * Makefile.am: Change LOCALEDIR to $(datadir)/share.
  72. * Makefile.in: Regenerate.
  73. 2004-11-10 Ian Lance Taylor <ian@wasabisystems.com>
  74. PR binutils/536
  75. * stabs.c (stab_demangle_template): Call stab_demangle_count
  76. rather than stab_demangle_get_count to get the length of a pointer
  77. target.
  78. 2004-11-10 Danny Smith <dannysmith@users.sourceforge.net>
  79. * defparse.y: Remove unnecessary commas from token list.
  80. 2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
  81. * doc/binutils.texi (nm): Update description of weak symbols.
  82. 2004-11-03 Nick Clifton <nickc@redhat.com>
  83. * readelf.c (do_debug_ranges): New variable.
  84. (usage): Document new switch: -wR or --debug-dump=Ranges.
  85. (parse_args): Handle new switch. Replace switch statement for the
  86. long options with a more compact table structure.
  87. (process_section_headers): Allow the dumping of .debug_ranges
  88. sections if so requested.
  89. (debug_displays): Likewise.
  90. (load_debug_range): New function: Grabs the contents of a
  91. .debug_ranges section.
  92. (free_debug_range): New function: Releases the grabbed
  93. .debug_ranges section.
  94. (decode_64bit_range): New function: Displays a 64-bit range in a
  95. .debug_ranges section.
  96. (decode_range): New function: Displays a 32-bit range in a
  97. .debug_ranges section.
  98. (read_and_display_attr_value): Record the value of DW_AT_low_pc
  99. attributes. Use decode_ranges() to display a DW_AT_ranges
  100. attribute.
  101. (display_debug_info): Use load_debug_range() and
  102. free_debug_range().
  103. (display_64bit_debug_ranges): New function. Displays the contents
  104. of a 64-bit format .debug_ranges section.
  105. (display_debug_ranges): New function: Displays the contents of a
  106. 32-bit .debug_ranges section.
  107. (main): Move cmdline_dump_sects and num_cmdline_dump_sects into the
  108. global scope.
  109. (process_object): Initialise the dump_sects array from the
  110. cmdline_dump_sects array before processing each object file.
  111. (streq, strneq): New macros. Use them to replace occurrences of
  112. strcmp() and strncmp().
  113. (debug_information): New structure array to replace
  114. debug_line_pointer_sizes array.
  115. (num_debug_info_entries): New variable to replace
  116. num_debug_line_pointers.
  117. (get_pointer_size_of_comp_unit): New function: Returns the pointer
  118. size of a given compilation unit.
  119. (get_debug_info): New function to replace
  120. get_debug_line_pointer_sizes.
  121. (display_debug_lines): Use the new functions.
  122. (display_debug_loc): Likewise.
  123. (disassemble_section): Change return type to int.
  124. (display_debug_lines): Move local variables to their
  125. innermost scope.
  126. (display_debug_section): Likewise. Also record the return value
  127. of functions called and pass this back to the parent. Also only
  128. warn about undumped sections when the user explicitly requested
  129. their dumping.
  130. (debug_apply_rela_addends): Allow relocations against STT_OBJECT
  131. types as well.
  132. * NEWS: Mention the support for decoding .debug_ranges sections.
  133. * doc/binutils.texi: Document the new command line switch to
  134. readelf.
  135. 2004-11-03 Randolph Chung <tausq@debian.org>
  136. * readelf.c (ia64_unw_aux_info, ia64_unw_table_entry): Rename from
  137. unw_aux_info and unw_table_entry.
  138. (find_symbol_for_address): Pass symtab and strtab info explicitly.
  139. (dump_ia64_unwind): Rename unw_{aux_info,table_entry} with ia64_
  140. prefix.
  141. (slurp_ia64_unwind_table): Likewise.
  142. (ia64_process_unwind): Rename from old process_unwind.
  143. (hppa_unw_aux_info): New.
  144. (dump_hppa_unwind): New.
  145. (slurp_hppa_unwind_table): New.
  146. (hppa_process_unwind): New.
  147. (process_unwind): Factor out common unwinding checks; dispatch to
  148. unwind handler based on machine type.
  149. 2004-11-02 Nick Clifton <nickc@redhat.com>
  150. * readelf.c (display_debug_lines): Fix typo in error message.
  151. 2004-10-26 Mark Mitchell <mark@codesourcery.com>
  152. * readelf.c (get_note_type): Handle notes not in core files.
  153. (process_note_sections): New function.
  154. (process_corefile_contents): Rename to ...
  155. (process_notes): ... this.
  156. (process_object): Call process_notes, not
  157. process_corefile_contents.
  158. * doc/binutils.texi: Update readelf -n documentation.
  159. 2004-10-26 Jakub Jelinek <jakub@redhat.com>
  160. * ar.c (extract_file): Set atime to mtime for ar xo.
  161. 2004-10-25 Ian Lance Taylor <ian@wasabisystems.com>
  162. * stabs.c (stab_demangle_v3_arglist): New static function, broken
  163. out of stab_demangle_v3_argtypes.
  164. (stab_demangle_v3_argtypes): Call it.
  165. (stab_demangle_v3_arg): Handle DEMANGLE_COMPONENT_FUNCTION_TYPE.
  166. If we find an unrecognized component, print out its number.
  167. 2004-10-25 David Mosberger <davidm@hpl.hp.com>
  168. * readelf.c (slurp_ia64_unwind_table): Support relocations against
  169. non-section symbols by adding in the symbol value.
  170. 2004-10-25 Nick Clifton <nickc@redhat.com>
  171. PR 465
  172. * readelf.c (dynamic_strings_length): New global variable.
  173. (VALID_DYNAMIC_NAME, GET_DYNAMIC_NAME): New macros for accessing
  174. strings in the dynamic string table.
  175. (process_section_headers): Initialise dynamic_strings_length.
  176. (process_dynamic_section): Likewise.
  177. (process_object): Reset dynamic_string_length when the buffer is freed.
  178. (dynamic_sections_mips_val): Use the new macros.
  179. (process_dynamic_section): Likewise.
  180. (process_version_sections): Likewise.
  181. (process_symbol_table): Likewise.
  182. (process_syminfo): Likewise.
  183. (process_mips_specific): Likewise.
  184. (dump_relocations): Add a new parameter 'strtablen' and use this
  185. to verify that string offset in a given reloc is valid. Print a
  186. suitable error message otherwise.
  187. (process_relocs): Pass the new argument to dump_relocations.
  188. 2004-10-23 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
  189. * dlltool.c: Include <assert.h>.
  190. (PREFIX_ALIAS_BASE): Define.
  191. (struct export): Add member import_name;
  192. (def_exports): Set import_name.
  193. (make_one_lib_file): Remove prefix alias code, use import_name
  194. in .idata$6.
  195. (gen_lib_file): Create and delete aliases.
  196. 2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
  197. * readelf.c (process_section_groups): Free symtab after use.
  198. 2004-10-18 Tommy Pettersson <ptp@lysator.liu.se>
  199. Nick Clifton <nickc@redhat.com>
  200. * strings.c (usage): Place radix values for -t option into the
  201. correct order.
  202. * objcopy.c (add_redefine_syms_file): Change error messages to use
  203. <filename>:<linenumber>: format for easier parsing by automatic
  204. tools.
  205. * srconv.c (show_usage): Fix spelling typo.
  206. * windres.c (format_from_filename): Suggest the use of -J instead
  207. of -I if the file type cannot be determined.
  208. 2004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
  209. * strings.c: Include <sys/stat.h>.
  210. 2004-10-18 Alan Modra <amodra@bigpond.net.au>
  211. * budemang.c (demangle): Fix thinko.
  212. * budemang.c (demangle): Handle "@plt" suffix.
  213. 2004-10-14 Nick Clifton <nickc@redhat.com>
  214. * nm.c (usage): Fix description of --special-syms switch.
  215. 2004-10-13 Jakub Jelinek <jakub@redhat.com>
  216. * strings.c (statbuf): New typedef.
  217. (file_stat): Define.
  218. (strings_object_file): Avoid using get_file_size, instead do the
  219. checks here, using file_stat.
  220. * configure.in (HAVE_STAT64): New test.
  221. * configure: Rebuilt.
  222. * config.in: Rebuilt.
  223. 2004-10-12 Paul Brook <paul@codesourcery.com>
  224. * readelf.c (decode_ARM_machine_flags): Support EABI version 4.
  225. 2004-10-11 Alan Modra <amodra@bigpond.net.au>
  226. * objdump.c (dump_symbols): Fix thinko last change. Improve error
  227. messages.
  228. 2004-10-08 Nick Clifton <nickc@redhat.com>
  229. * nm.c: Add a new switch --special-syms which, if enabled, will
  230. include the ARM Mapping symbols in nm's output.
  231. (usage): Mention the switch.
  232. (filter_symbols): Handle the switch.
  233. * objdump.c: Add a similar switch.
  234. (usage): Mention the switch.
  235. (dump_symbols): Handle the switch.
  236. * doc/binutils.texi: Document the new switches.
  237. * NEWS: Mention the new switches.
  238. 2004-10-08 Daniel Jacobowitz <dan@debian.org>
  239. * readelf.c (get_x86_64_section_type_name): New function.
  240. (get_section_type_name): Use it.
  241. 2004-10-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
  242. * dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04
  243. patches.
  244. * doc/binutils.texi (dlltool): Revert 2004-09-06 patch.
  245. 2004-10-07 Alexandre Oliva <aoliva@redhat.com>
  246. * readelf.c (get_machine_flags): Don't fall through into m68k cpu
  247. types.
  248. 2004-10-01 Paul Brook <paul@codesourcery.com>
  249. * readelf.c (get_arm_section_type_name): New function.
  250. (get_section_type_name): Use it.
  251. 2004-09-28 Nick Clifton <nickc@redhat.com>
  252. * nm.c: Reorder functions to eliminate most of the static function
  253. prototypes.
  254. 2004-09-22 Alan Modra <amodra@bigpond.net.au>
  255. * readelf.c (process_program_headers): Don't include .tbss in non-TLS
  256. segments.
  257. 2004-09-17 Alan Modra <amodra@bigpond.net.au>
  258. * Makefile.am: Run "make dep-am".
  259. * Makefile.in: Regenerate.
  260. * config.in: Regenerate.
  261. * configure: Regenerate.
  262. * doc/Makefile.in: Regenerate.
  263. * po/binutils.pot: Regenerate.
  264. 2004-09-12 Alan Modra <amodra@bigpond.net.au>
  265. * readelf.c (decode_location_expression): Sign extend value for
  266. DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip.
  267. 2004-09-09 Nick Clifton <nickc@redhat.com>
  268. PR 363
  269. * ar.c (replace_members): Do not use get_file_size as
  270. ar_emul_append correctly handles missing files.
  271. 2004-09-07 H.J. Lu <hongjiu.lu@intel.com>
  272. * configure: Regenerated with autconfig 2.13.
  273. 2004-09-06 Danny Smith <dannysmith@users.sourceforge.net>
  274. * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at
  275. documentation.
  276. 2004-09-06 Michael Wardle <mbw@endbracket.net>
  277. * doc/binutils.texi (objdump): Document that the -x switch includes
  278. the effect of the -p switch.
  279. 2004-09-04 Danny Smith <dannysmith@users.sourceforge.net>
  280. * dlltool.c (make_one_lib_file): Test if internal_name was
  281. specified by user before using it.
  282. 2004-09-02 Carlo Wood <carlo@alinoe.com>
  283. PR binutils/351
  284. * dlltool.c (make_one_lib_file): For IDATA6 take the name from
  285. exp->internal_name if it is present.
  286. 2004-09-02 Alexandre Oliva <aoliva@redhat.com>
  287. * MAINTAINERS: Add self as co-maintainer of FR-V.
  288. * readelf.c (get_machine_flags): Print FR-V cpu types.
  289. 2004-08-28 Alan Modra <amodra@bigpond.net.au>
  290. * nm.c (show_synthetic): New var.
  291. (long_options): Add "synthetic".
  292. (usage): Here too.
  293. (display_rel_file): Handle show_synthetic.
  294. 2004-08-28 Alan Modra <amodra@bigpond.net.au>
  295. * objdump.c (dump_bfd): Pass both symbol tables to
  296. bfd_get_synthetic_symtab.
  297. 2004-08-17 Jakub Jelinek <jakub@redhat.com>
  298. * objdump.c (dump_bfd): For relocatable objects, pass syms instead
  299. of dynsyms to bfd_get_synthetic_symtab.
  300. 2004-08-16 Alan Modra <amodra@bigpond.net.au>
  301. * readelf.c (debug_apply_rela_addends): New function, extracted from..
  302. (display_debug_info): ..here.
  303. (display_debug_frames): Call debug_apply_rela_addends. Don't do
  304. DW_EH_PE_pcrel adjustment for ET_REL.
  305. 2004-08-06 Andreas Schwab <schwab@suse.de>
  306. * readelf.c (dump_relocations): Fix typo when calculating
  307. sec_index.
  308. 2004-08-02 Jakub Bogusz <qboosh@pld-linux.org>
  309. * dllwrap.c (deduce_name): Fix typos introduced when program_name
  310. was renamed to prog_name.
  311. 2004-07-29 Alexandre Oliva <aoliva@redhat.com>
  312. * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and
  313. EF_SH2A_NOFPU.
  314. 2004-07-28 Alexandre Oliva <aoliva@redhat.com>
  315. 2003-07-08 Alexandre Oliva <aoliva@redhat.com>
  316. * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and
  317. EF_SH4A_NOFPU.
  318. 2003-06-12 Alexandre Oliva <aoliva@redhat.com>
  319. * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name.
  320. 2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
  321. * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
  322. to access comdat.
  323. * objdump.c (dump_section_header): Likewise.
  324. 2004-07-15 Aravinda PR <aravindapr@rediffmail.com>
  325. * nlmconv.c (main): Pass map_file argument to link_inputs.
  326. (link_inputs): Use map_file argument if it is defined.
  327. 2004-07-13 Nick Clifton <nickc@redhat.com>
  328. * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid
  329. conflicts with exported global defined in bucomm.h.
  330. (deduce_name): Rename parameter 'program_name' to 'name' to avoid
  331. shadowing the global defined in bucomm.h.
  332. 2004-07-12 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
  333. * dlltool.c (ext_prefix_alias): New global variable.
  334. (make_one_lib_file): Add aliases with prefixes for external
  335. and import definitions.
  336. (usage): Document -p option.
  337. (long_options): Add --ext-prefix-alias option.
  338. (main): Handle -p.
  339. * doc/binutils.texi: Document new switch.
  340. * NEWS: Mention new switch.
  341. 2004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
  342. * binutils/dlltool.c (asm_prefix): Add parameter: name.
  343. No underscore for symbols beginning with ?.
  344. (ASM_PREFIX): Add parameter: NAME.
  345. (gen_exp_file): Use new parameter.
  346. (make_label): Likewise.
  347. (make_imp_label): Likewise.
  348. (make_one_lib_file): Likewise.
  349. 2004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
  350. * MAINTAINERS: Added myself to the list.
  351. * readelf.c: Include "elf/crx.h".
  352. (guess_is_rela): Handle EM_CRX.
  353. (get_machine_name): Likewise.
  354. (dump_relocations): Likewise.
  355. 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
  356. * doc/binutils.texi (nm): Clarify weak symbol description.
  357. 2004-06-24 Ben Elliston <bje@au.ibm.com>
  358. * readelf.c (get_segment_type): Display "GNU_STACK", not just
  359. "STACK", when a PT_GNU_STACK segment is encountered.
  360. 2004-06-24 Alan Modra <amodra@bigpond.net.au>
  361. * objcopy.c (copy_section): Don't set _cooked_size.
  362. 2004-06-22 Alan Modra <amodra@bigpond.net.au>
  363. * readelf.c (Elf32_Word): Delete.
  364. (get_32bit_dynamic_section): Handle SGI ELF dynamic segment.
  365. (get_64bit_dynamic_section): Likewise.
  366. * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry.
  367. (get_64bit_dynamic_section): Likewise.
  368. * readelf.c (dynamic_nent): New variable.
  369. (get_32bit_dynamic_section): Set it.
  370. (get_64bit_dynamic_section): Here too.
  371. (process_dynamic_section): Use it instead of dynamic_size.
  372. (process_syminfo): Likewise.
  373. * readelf.c (get_32bit_dynamic_section): Correct number of entries
  374. translated from external to internal form.
  375. (get_64bit_dynamic_section): Likewise.
  376. 2004-06-18 Jie Zhang <zhangjie@magima.com.cn>
  377. * readelf.c (process_program_headers): When locating the dynamic
  378. section use the section table if it is present.
  379. (dynamic_segment): Renamed to dynamic_section.
  380. Replace references to dynamic segment with references to dynamic
  381. section, except where appropriate.
  382. (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
  383. (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
  384. (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
  385. (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
  386. Remove tag counting code as it is no longer needed.
  387. (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
  388. Remove tag counting code as it is no longer needed.
  389. (process_dynamic_segment): Rename to process_dynamic_section.
  390. 2004-06-15 Alan Modra <amodra@bigpond.net.au>
  391. * objcopy.c (copy_section): Use bfd_get_section_size instead of
  392. _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done.
  393. (compare_section_lma): Likewise.
  394. * addr2line.c (find_address_in_section): Likewise.
  395. * coffgrok.c (do_sections_p1): Likewise.
  396. * dlltool.c (scan_drectve_symbols): Likewise.
  397. * nlmconv.c (main): Likewise.
  398. (copy_sections): Likewise.
  399. (powerpc_mangle_relocs): Likewise.
  400. * objdump.c (disassemble_section): Likewise.
  401. * prdbg.c (find_address_in_section): Likewise.
  402. * size.c (berkeley_sum): Likewise.
  403. * srconv.c (wr_ob): Likewise.
  404. * strings.c (strings_a_section): Likewise.
  405. 2004-05-28 Ian Lance Taylor <ian@wasabisystems.com>
  406. * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
  407. 2004-05-17 David Heine <dlheine@tensilica.com>
  408. * objcopy.c (setup_bfd_headers): New function.
  409. (copy_object): Call setup_bfd_headers.
  410. 2004-05-13 Paul Brook <paul@codesourcery.com>
  411. * readelf.c (display_debug_frames): Handle dwarf3 format CIE
  412. entries.
  413. 2004-05-13 Nick Clifton <nickc@redhat.com>
  414. * po/fr.po: Updated French translation.
  415. 2004-05-11 Jakub Jelinek <jakub@redhat.com>
  416. * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
  417. 2004-05-07 H.J. Lu <hongjiu.lu@intel.com>
  418. * readelf.c (section_groups): New.
  419. (group_count): New.
  420. (section_headers_groups): New.
  421. (process_section_groups): Populate group_count, section_groups
  422. and section_headers_groups.
  423. (process_unwind): Support section group.
  424. (process_object): Always call process_section_groups. Free
  425. section_groups and section_headers_groups.
  426. 2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
  427. * readelf.c (process_section_headers): Use %3lu on sh_info.
  428. 2004-04-30 Michael Deutschmann <michael@talamasca.ocis.net>
  429. * ranlib.sh: Quote $1 argument in case it contains spaces.
  430. 2004-04-27 John Paul Wallington <jpw@gnu.org>
  431. * objcopy.c (copy_usage, strip_usage): Fix spelling.
  432. 2004-04-26 H.J. Lu <hongjiu.lu@intel.com>
  433. * readelf.c (do_section_groups): New.
  434. (options): Add --section-groups/-g.
  435. (usage): Mention --section-groups/-g.
  436. (parse_args): Support --section-groups/-g.
  437. (get_group_flags): New.
  438. (process_section_groups): New.
  439. (process_object): Call process_section_groups.
  440. 2004-04-24 Alan Modra <amodra@bigpond.net.au>
  441. * objdump.c (disassemble_section): Don't disassemble sections
  442. without SEC_HAS_CONTENTS.
  443. 2004-04-22 Jakub Jelinek <jakub@redhat.com>
  444. * objdump.c (synthsyms, synthcount): New variables.
  445. (disassemble_data): Use dynsyms for stripped binaries or libraries.
  446. Add synthetized symbols.
  447. (dump_bfd): For disassemble, initialize dynsyms always and
  448. also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count
  449. before returning.
  450. 2004-04-14 Alan Modra <amodra@bigpond.net.au>
  451. * strings.c (print_strings): Cast file_off to unsigned long in
  452. printf arg list.
  453. 2004-04-07 Benjamin Monate <benjamin.monate@cea.fr>
  454. PR 86
  455. * arsup.c (ar_save): Use smart_rename.
  456. 2004-04-01 Dean Luick <luick@cray.com>
  457. * readelf.c (display_debug_pubnames): Align offset and data
  458. columns.
  459. (read_and_display_attr_value): Add missing break;
  460. (debug_displays): Enable the display of the .debug_pubtypes
  461. section.
  462. 2004-03-30 Stan Shebs <shebs@apple.com>
  463. * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
  464. support files, no longer used.
  465. 2004-03-23 Paul Brook <paul@codesourcery.com>
  466. * readelf.c (decode_ARM_machine_flags): Add EABI v3.
  467. 2004-03-21 Richard Henderson <rth@redhat.com>
  468. * readelf.c (display_debug_frames): Don't crash for mismatched
  469. DW_CFA_restore_state.
  470. 2004-03-19 Alan Modra <amodra@bigpond.net.au>
  471. * Makefile.am: Run "make dep-am".
  472. * Makefile.in: Regenerate.
  473. * aclocal.m4: Regenerate.
  474. * config.in: Regenerate.
  475. * configure: Regenerate.
  476. * po/binutils.pot: Regenerate.
  477. 2004-03-15 Nathan Sidwell <nathan@codesourcery.com>
  478. * objdump.c (struct SFILE): Replace current pointer with pos
  479. offset, rename size to alloc.
  480. (objdump_sprintf): Avoid unnecessary copies in the common case
  481. (disassemble_bytes): Keep sfile live throughout the
  482. function. Adjust usage appropriately.
  483. 2004-03-10 Ben Elliston <bje@gnu.org>
  484. * MAINTAINERS: Update my mail address.
  485. 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
  486. * deflex.l: Handle "PRIVATE" string.
  487. * defparse.y (%token): Add PRIVATE.
  488. (%type): Add opt_PRIVATE.
  489. (expline): Pass opt_PRIVATE to def_exports.
  490. (opt_PRIVATE): Handle PRIVATE token.
  491. * dlltool.h (def_exports): Add 7th param for private flag to
  492. declaration.
  493. * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
  494. (struct export): Add 'private' field.
  495. (def_exports): Set 'private' field of struct exports.
  496. (scan_drectve_symbols): Adjust calls to def_exports.
  497. (scan_filtered_symbols): Likewise.
  498. (dump_def_info): Print 'private' field.
  499. (gen_def_file): Likewise.
  500. (gen_lib_file): Skip generation of lib object if private.
  501. Delete tmp object files in same order as they were generated.
  502. Don't delete non-existent private object files.
  503. 2004-02-27 Andreas Schwab <schwab@suse.de>
  504. * ar.c (main): Support POSIX-compatible argument parsing.
  505. 2004-02-23 Daniel Lucq <daniel@lucq.org>
  506. * readelf.c (process_mips_specific): Print conflictsno as an
  507. unsigned long.
  508. 2004-02-21 Dmitry Timoshkov <dmitry@baikal.ru>
  509. * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
  510. 2004-02-19 Jakub Jelinek <jakub@redhat.com>
  511. * objcopy.c (copy_section): Avoid warnings.
  512. 2004-02-14 Andrew Cagney <cagney@redhat.com>
  513. * ar.c (remove_output): Use bfd_cache_close.
  514. * arsup.c (ar_end): Ditto.
  515. 2004-01-21 Roland McGrath <roland@redhat.com>
  516. * readelf.c (get_note_type): Match NT_AUXV.
  517. 2004-01-20 Nick Clifton <nickc@redhat.com>
  518. * version.c (print_version): Update copyright year to 2004.
  519. 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
  520. * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
  521. throughout.
  522. * aclocal.m4: Regenerate.
  523. * configure: Regenerate.
  524. 2004-01-12 Jakub Jelinek <jakub@redhat.com>
  525. * objcopy.c: Include elf-bfd.h.
  526. (is_strip_section): Don't strip debugging sections if
  527. STRIP_NONDEBUG.
  528. (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
  529. ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
  530. * objcopy.c (copy_section): Free relpp if relcount == 0.
  531. 2004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
  532. * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
  533. (stab_demangle_argtypes): Likewise.
  534. (stab_demangle_v3_argtypes): New static function.
  535. (stab_demangle_v3_arg): New static function.
  536. 2004-01-12 Nick Clifton <nickc@redhat.com>
  537. * objcopy.c (copy_object): Make the function boolean, returning
  538. FALSE upon failure.
  539. (copy_archive): Handle the return value from copy_object.
  540. (copy_file): Likewise.
  541. 2004-01-07 Nick Clifton <nickc@redhat.com>
  542. * readelf.c (find_section): New function. Locates a named
  543. section.
  544. (get_debug_line_pointer_sizes): New function: Initialises the
  545. debug_line_pointer_sizes array.
  546. (display_debug_lines): Call get_debug_line_pointer_sizes.
  547. (display_debug_loc): Likewise.
  548. (load_debug_loc): Use find_section.
  549. (load_debug_str): Likewise.
  550. (display_debug_info): Likewise.
  551. (prescan_debug_info): Delete.
  552. (debug_displays): Remove prescan field.
  553. (process_section_contents): Do not perform prescans.
  554. 2004-01-03 Alan Modra <amodra@bigpond.net.au>
  555. * objcopy.c (filter_bytes): Delete. Move code to..
  556. (copy_section): ..here. Simplify size adjustment. Divide
  557. section lma by interleave.
  558. 2004-01-02 Nick Clifton <nickc@redhat.com>
  559. * po/ru.po: New file: Russian translation.
  560. * configure.in (ALL_LINGUAS): Add ru
  561. * configure: Regenerate.
  562. For older changes see ChangeLog-0203
  563. Copyright (C) 2004 Free Software Foundation, Inc.
  564. Copying and distribution of this file, with or without modification,
  565. are permitted in any medium without royalty provided the copyright
  566. notice and this notice are preserved.
  567. Local Variables:
  568. mode: change-log
  569. left-margin: 8
  570. fill-column: 74
  571. version-control: never
  572. End: