1 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
3 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
4 not all systems provide mkstemp.
6 2001-11-14 Alan Modra <amodra@bigpond.net.au>
8 * doc/binutils.texi (objdump): Document x86 -M options.
10 2001-11-13 Keith Walker <keith.walker@arm.com>
12 * readelf.c (read_and_display_attr_value): New function to
13 handle DW_FORM_indirect.
14 (read_and_display_attr): Use it.
16 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
18 * readelf.c (display_debug_lines): Deal with unknown standard
19 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
22 2001-11-13 Timothy Wall <twall@alum.mit.edu>
24 * MAINTAINERS: Add self as tic54x maintainer. This target
25 includes the IBM C54XDSP clone.
27 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
29 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
31 2001-11-09 Jeffrey A Law (law@cygnus.com)
33 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
34 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
35 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
36 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
37 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
38 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
39 (unw_decode_b2, unw_decode_b3_b4): Likewise.
41 * readelf.c (get_elf_class): Fix ISO portability glitch.
42 (get_data_encoding, get_osabi_name, request_dump): Likewise.
44 2001-11-07 Jakub Jelinek <jakub@redhat.com>
46 * readelf.c (debug_str, debug_str_size): New.
47 (display_debug_abbrev): If no abbrevs were read, skip the CU.
49 (read_and_display_addr): Handle DW_FORM_strp.
50 (display_debug_info): Read .debug_str section if present,
51 so that DW_FORM_strp can be handled.
52 Fix test for non-existant .debug_abbrev section.
54 2001-11-05 Jakub Jelinek <jakub@redhat.com>
56 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
58 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
60 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
62 * MAINTAINERS: Add self as s390/s390x maintainer.
64 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
66 * MAINTAINERS: Add self as PPC XCOFF maintainer.
68 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
70 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
71 * configure: Regernate.
75 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
77 * MAINTAINERS: Add self as MMIX port maintainer.
78 * readelf.c: Include elf/mmix.h.
79 (guess_is_rela): MMIX is RELA.
80 (dump_relocations): Handle MMIX relocations.
81 * Makefile.am: Regenerate dependencies.
82 * Makefile.in: Regenerate.
84 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
86 * readelf.c (parse_args): Handle multiple options to the -w
89 2001-10-12 Jakub Jelinek <jakub@redhat.com>
91 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
92 LOPROC, LOOS and LOUSER.
94 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
96 * MAINTAINERS: Update my email address.
98 2001-10-03 Alan Modra <amodra@bigpond.net.au>
100 * doc/Makefile.in: Regenerate.
101 * configure: Regenerate.
103 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
105 * readelf.c (display_debug_line, display_debug_pubnames,
106 display_debug_info, display_debug_frames): Detect and warn
107 about 64-bit format entries.
108 (display_debug_aranges): Reword 64-bit warning.
109 (debug_displays): Add .debug_pubtypes as a known, but not yet
110 supported, debug section.
112 2001-10-02 Alan Modra <amodra@bigpond.net.au>
114 * coffdump.c (PROGRAM_VERSION): Delete.
115 (main <'V'>): Call print_version.
116 * srconv.c: Likewise.
117 * sysdump.c: Likewise.
118 * version.c (program_version): Remove.
119 (print_version): Use BFD_VERSION_STRING. Just print the current
120 year in copyright message.
121 * addr2line.c (program_version): Remove unused declaration.
122 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
123 place of BFD_VERSION.
124 * Makefile.am (Makefile): Depend on bfd/configure.in.
125 (cplus-dem.o): Depend on Makefile.
127 * Makefile.in: Regenerate.
129 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
131 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
132 format .debug_arange sections.
133 (main): Add missing prototype.
135 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
137 * Makefile.am: Update dependencies with "make dep-am".
138 * Makefile.in: Regenerate.
140 2001-09-28 Richard Henderson <rth@redhat.com>
142 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
144 2001-09-26 Alan Modra <amodra@bigpond.net.au>
146 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
148 (non_fatal): Likewise.
149 * objdump.c (objdump_sprintf): Likewise.
150 * readelf.c (error): Likewise.
153 2001-09-25 Jakub Jelinek <jakub@redhat.com>
155 * readelf.c (do_wide): New.
156 (options): Add --wide.
157 (usage, parse_args): Likewise.
158 (process_program_headers): Put each segment on a single line if
160 (process_section_headers): Put each section on a single line if
162 * doc/binutils.texi: Document it.
165 2001-09-25 Alan Modra <amodra@bigpond.net.au>
167 * readelf.c (print_vma): Print 8 digits of low hex value.
169 2001-09-24 Andreas Jaeger <aj@suse.de>
171 * nlmconv.c: Fix warnings about unused attributes and function
174 * strings.c: Add prototype for get_char.
176 2000-09-19 H.J. Lu <hjl@gnu.org>
178 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
179 $(srcdir)/cxxfilt.man.
180 * doc/Makefile.in: Rebuild.
182 2001-09-19 Alan Modra <amodra@bigpond.net.au>
184 * objcopy.c (copy_main): Correct rename-section string parsing.
185 Consolidate new_name parsing, and error messages.
187 2001-09-18 Bruno Haible <haible@clisp.cons.org>
189 * addr2line.c: Don't include <ctype.h>.
190 (main): For gettext, also set the LC_CTYPE locate facet.
191 * ar.c (main): Likewise.
192 * coffdump.c (main): Likewise.
193 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
194 (main): For gettext, also set the LC_CTYPE locate facet.
195 Use ISALNUM instead of isalpha/isdigit.
196 * dllwrap.c: Don't include <ctype.h>.
197 (main): For gettext, also set the LC_CTYPE locate facet.
198 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
199 (main): For gettext, also set the LC_CTYPE locate facet.
200 Use TOUPPER instead of islower/toupper.
201 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
202 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
203 Use TOUPPER instead of islower/toupper.
204 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
205 * objcopy.c (main): Likewise.
206 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
207 (disassemble_bytes): Use ISPRINT instead of isprint.
208 (dump_section_stabs): Use ISDIGIT instead of isdigit.
209 (dump_data): Use ISPRINT instead of isprint.
210 (main): For gettext, also set the LC_CTYPE locate facet.
211 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
212 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
213 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
214 Use TOUPPER instead of islower/toupper.
215 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
216 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
217 (write_rc_accelerators): Use ISPRINT instead of isprint.
218 (write_rc_rcdata): Likewise.
219 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
220 * srconv.c (main): Likewise.
221 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
222 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
223 isdigit/isupper/islower.
224 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
225 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
226 stab_demangle_prefix, stab_demangle_qualified,
227 stab_demangle_template, stab_demangle_type,
228 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
229 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
230 (isgraphic): Use ISPRINT instead of isascii/isprint.
231 (main): Remove HAVE_LC_MESSAGES dependency.
232 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
233 (pbarray): Use ISPRINT instead of isprint.
234 (main): For gettext, also set the LC_CTYPE locate facet.
235 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
236 (format_from_filename): Use ISPRINT instead of isprint.
237 (main): For gettext, also set the LC_CTYPE locate facet.
238 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
239 (unicode_print): Use ISPRINT instead of isprint.
240 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
241 (stab_variable): Use ISDIGIT instead of isdigit.
243 2001-09-18 Alan Modra <amodra@bigpond.net.au>
245 * ar.c (print_contents): Cast args of bfd_seek to the right types.
246 Replace bfd_read call with call to bfd_bread.
247 (extract_file): Likewise.
249 * objdump.c (dump_section_header): Cast section->filepos to
250 unsigned long to suit printf format string.
251 * readelf.c (process_section_headers): Similarly for sh_offset.
252 (process_unwind): Likewise.
254 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
256 * strings.c (encoding, encoding_bytes): New variables.
257 (long_options): Add --encoding.
258 (main): Accept -e and --encoding.
259 (get_char): New function. Read a, possibly wide, character from
261 (print_strings): Use get_char().
262 (usage): Document new command line option.
263 * doc/binutils.texi: Document new command line option.
264 * NEWS: Announce new command line option.
266 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
268 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
269 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
270 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
271 Removed EM_CYGNUS_ARC.
273 2001-09-04 Jeffrey A Law (law@cygnus.com)
275 * readelf.c: Include elf/h8 for H8 series definitions.
276 (guess_is_rela): H8 series if RELA.
277 (dump_relocations): Handle H8 series relocations.
279 2001-08-31 Eric Christopher <echristo@redhat.com>
281 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
283 2001-08-29 Peter Targett <peter.targett@arccores.com>
285 * MAINTAINERS: Include ARC Maintainer.
287 2001-08-29 Ben Elliston <bje@redhat.com>
289 * stabs.c (stab_demangle_template): Initialise s4.
291 2001-08-27 Alan Modra <amodra@bigpond.net.au>
293 * readelf.c (dump_relocations): Recognise EM_PPC64.
295 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
297 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
299 2001-08-25 H.J. Lu <hjl@gnu.org>
301 * nm.c (print_width): New.
302 (display_rel_file): Set `print_width' according to
304 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
306 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
308 * objcopy.c (use_alt_mach_code): New variable.
309 (OPTION_ALT_MACH_CODE): Define.
310 (copy_options): Added --alt-machine-code.
311 (copy_main): Handle it.
312 (copy_object): Switch to alternate machine code if requested.
313 * doc/binutils.texi: Document new option.
316 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
318 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
320 2001-08-21 H.J. Lu <hjl@gnu.org>
322 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
323 (display_debug_info): Cast for 64bit hosts.
324 (display_debug_frames): Likewise.
325 (process_mips_specific): Likewise.
327 2001-08-21 Andreas Jaeger <aj@suse.de>
329 * coffgrok.h: Add missing parameter for prototype of coff_grok.
331 * sysdump.c: Add missing prototypes.
332 * srconv.c: Likewise.
333 * unwind-ia64.c: Likewise.
334 * coffdump.c: Likewise.
336 * sysinfo.y: Print prototypes, include <ansidecl.h>.
338 * coffgrok.c: Add missing prototypes, include libiberty.h instead
339 of declaring xcalloc.
341 2001-08-10 H.J. Lu <hjl@gnu.org>
343 * nm.c (print_value): Add one arg, bfd *.
344 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
345 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
346 (print_symbol_info_sysv): Likewise.
347 (print_symbol_info_posix): Likewise.
349 * objdump.c (dump_section_header): Replace printf_vma with
351 (print_section_stabs): Likewise.
352 (dump_bfd_header): Likewise.
353 (objdump_print_value): Replace sprintf_vma with
355 (disassemble_bytes): Likewise.
356 (dump_reloc_set): Likewise.
358 2001-08-10 Andreas Jaeger <aj@suse.de>
360 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
362 * configure: Regenerate.
364 2001-08-09 Alan Modra <amodra@bigpond.net.au>
366 * readelf.c: Add missing prototypes.
367 * objdump.c: Likewise. Format existing prototypes.
369 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
371 * readelf.c (display_debug_info): Add to abbrev_offset the addend
372 of any RELA relocation for the abbrev_offset memory location that
373 refers to the .debug_abbrev section symbol.
375 2001-08-07 H.J. Lu <hjl@gnu.org>
377 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
378 (main): Return process_file ().
380 2001-08-05 Philip Blundell <philb@gnu.org>
382 * doc/binutils.texi: Use "Thumb" not "THUMB".
384 2001-08-03 John Healy <jhealy@redhat.com>
386 Patch suggested by Frank Eigler <fche@redhat.com>.
387 * objdump.c (disassemble_data): Fill in section member of the
388 disasm_info structure.
390 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
392 * configure.in: Added --with-windres option.
393 * configure: Regenerated.
395 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
397 * doc/binutils.texi: Use @command{name} for commands;
398 use @option{-opt} for options; use @table @env for list of options;
399 remove spaces arround [ | ] in synopsis.
401 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
404 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
406 * objcopy.c: Fix formatting.
407 (section_rename): New structure.
408 (OPTION_RENAME_SECTION): New switch.
409 (copy_usage): Document new switch.
410 (add_section_rename): New function: Add a node to the section
412 (find_section_rename): New function: Find the new name and
414 (setup_section): Call find_section_name to determine the name
415 of the output section.
416 (copy_main): Handle OPTION_RENAME_SECTION.
417 * binutils.texi: Document new switch.
418 * NEWS: Mention new switch.
420 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
422 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
423 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
424 bug-binutils@gcc.org.
426 2001-07-28 Matthias Kramm <kramm@quiss.org>
428 * bucomm.c (list_supported_architectures): New function.
429 * bucomm.h (list_supported_architectures): Declare.
430 * objdump.c (usage): Call the above.
432 2001-07-25 Dave Brolley <brolley@redhat.com>
434 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
435 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
437 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
439 * README: Update for 2.11. Change bug reporting email address.
440 * MAINTAINERS: Tidy up. Change bug reporting email address.
442 2001-07-16 DJ Delorie <dj@redhat.com>
444 * resres.c (write_res_header): Align header size.
445 (res_align_file): Calculate alignment correctly.
447 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
449 * resrc.c (write_rc_resource): Likewise.
450 * windres.h (SUBLANG_SHIFT): Define - as 10.
452 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
454 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
456 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
458 * MAINTAINERS: Add notes about branch checkins.
460 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
462 * readelf.c (display_debug_macinfo): New function, display
463 .debug_macinfo section.
464 (do_debug_macinfo): New variable.
465 (parse_args): Handle "-w[mM]" to mean display macro info.
466 (process_section_headers): Handle debug_macinfo.
467 (debug_displays): Replace unsupported function with macinfo
468 function for .debug_macinfo display.
469 * doc/binutils.texi: Document new command line switch.
470 * NEWS: Document new feature of readelf.
472 2001-07-05 H.J. Lu <hjl@gnu.org>
474 * objcopy.c (filter_symbols): Don't turn undefined symbols
477 2001-07-03 H.J. Lu <hjl@gnu.org>
479 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
482 (dlltool.1): Likewise.
483 (nlmconv.1): Likewise.
485 (objcopy.1): Likewise.
486 (objdump.1): Likewise.
487 (ranlib.1): Likewise.
488 (readelf.1): Likewise.
490 (strings.1): Likewise.
492 (windres.1): Likewise.
493 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
494 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
497 * doc/Makefile.in: Regenerated.
499 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
501 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
503 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
505 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
507 2001-06-29 James Cownie <jcownie@etnus.com>
509 * readelf.c: Support DWARF 2.1 attributes.
511 2001-06-28 Alan Modra <amodra@bigpond.net.au>
513 * readelf.c (GET_DATA_ALLOC): Remove.
515 (get_data): New function combining above macros, with an extra
517 (slurp_rela_relocs): Use get_data, and catch error return.
518 (slurp_rel_relocs): Likewise.
519 (get_32bit_program_headers): Likewise.
520 (get_64bit_program_headers): Likewise.
521 (get_32bit_section_headers): Likewise.
522 (get_64bit_section_headers): Likewise.
523 (get_32bit_elf_symbols): Likewise.
524 (get_64bit_elf_symbols): Likewise.
525 (process_section_headers): Likewise.
526 (process_relocs): Likewise.
527 (slurp_ia64_unwind_table): Likewise.
528 (process_unwind): Likewise.
529 (get_32bit_dynamic_segment): Likewise.
530 (get_64bit_dynamic_segment): Likewise.
531 (process_dynamic_segment): Likewise.
532 (process_version_sections): Likewise.
533 (process_symbol_table): Likewise.
534 (dump_section): Likewise.
535 (display_debug_info): Likewise.
536 (display_debug_section): Likewise.
537 (process_section_contents): Likewise.
538 (process_corefile_note_segment): Likewise.
539 (process_mips_specific): Likewise. Also free econf32, econf64.
541 2001-06-25 Alan Modra <amodra@bigpond.net.au>
543 * readelf.c (dump_relocations): Print "bad symbol index" if
544 symtab == NULL with non-zero symtab_index.
545 (process_relocs): Don't bomb if reloc section has no symsec.
547 2001-06-24 H.J. Lu <hjl@gnu.org>
549 * objcopy.c (strip_main): Revert the change made on 2001-05-30
551 (copy_main): Apply the the change made to strip_main on
552 2001-05-30 by accident.
554 2001-06-23 Andreas Jaeger <aj@suse.de>
556 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
558 (unw_decode_x2): Likewise.
559 (unw_decode_x3): Likewise.
560 (unw_decode_x4): Likewise.
562 2001-06-23 Ben Elliston <bje@redhat.com>
564 * MAINTAINERS: Add myself as M88k maintainer.
566 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
568 * objcopy.c (strip_main): Support -o or --output-file command lien
571 2001-06-19 H.J. Lu <hjl@gnu.org>
573 * doc/Makefile.in: Regenerated.
575 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
577 * readelf.c: Restore formatting.
579 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
581 * Makefile.am: Move documentation into doc subdirectory.
582 * Makefile.in: Regenerated.
583 * binutils.texi: Move into doc subdirectory.
584 * addr2line.1: Removed.
586 * dlltool.1: Likewise.
587 * nlmconv.1: Likewise.
589 * objcopy.1: Likewise.
590 * objdump.1: Likewise.
591 * ranlib.1: Likewise.
592 * readelf.1: Likewise.
594 * strings.1: Likewise.
596 * windres.1: Likewise.
597 * cxxfilt.man: Likewise.
598 * doc: New Directory.
599 * doc/Makefile.am: New file.
600 * doc/Makefile.in: Generate.
602 2001-06-09 Alan Modra <amodra@bigpond.net.au>
604 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
606 2001-06-01 Alan Modra <amodra@bigpond.net.au>
608 * MAINTAINERS: Update my email address.
610 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
612 * objcopy.c: Add new switches: --keep-global-symbol,
613 --keep-symbols, --localize-symbols, --keep-global-symbols and
615 * binutils.texi: Document new switches.
616 * objcopy.1: Regenerate.
617 * NEWS: Announce new feature.
619 2001-05-28 Andreas Jaeger <aj@suse.de>
621 * readelf.c (display_debug_frames): Fix warnings: Remove unused
622 variables, fix format strings.
624 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
626 * objdump.c (disassemble_bytes): Remove section VMA adjustment
627 when computing the address of the line to show.
629 2001-05-16 Richard Henderson <rth@redhat.com>
631 * readelf.c (do_debug_frames_interp): New.
632 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
633 (byte_get_big_endian): Likewise.
634 (parse_args) ['F']: Set do_debug_frames_interp.
635 (Frame_Chunk): Make data_factor signed, add fde_encoding.
636 (frame_display_row): Don't trunc pc_begin to int.
637 (size_of_encoded_value): New.
638 (display_debug_frames): Handle 64-bit targets. Print raw data
639 unless do_debug_frames_interp.
640 (debug_displays): Remove duplicate .debug_frame.
642 2001-05-15 Ralf Baechle <ralf@gnu.org>
644 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
645 The former constant was never in active use and is used otherwise
648 2001-05-11 Jakub Jelinek <jakub@redhat.com>
650 * readelf.c (process_unwind): Print all unwind sections, not just
653 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
655 * readelf.c (process_unwind): Remove const specifier.
657 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
659 * strings.c (isgraphic): Do not use isascii() unless it is needed
660 for isprint() to work.
661 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
663 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
665 * NEWS: Announce support for OpenRISC.
667 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
669 * dlltool.c (do_default_excludes): Initialise to true.
671 2001-04-10 Alan Modra <amodra@one.net.au>
673 * MAINTAINERS: Update my email address
674 * nm.c (print_symbol_info_bsd): Use a simple printf string.
676 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
678 * readelf.c (display_debug_lines): Fix typo for "Prologue".
680 2001-03-30 H.J. Lu <hjl@gnu.org>
682 * readelf.c (process_unwind): Just return if do_unwind is 0.
684 2001-03-28 Roger Sayle <roger@metaphorics.com>
686 * dlltool.c (make_one_lib_file): Fix section flags for
687 .text, .data and .bss in stub ds*.o files to match those
690 2001-03-29 H.J. Lu <hjl@gnu.org>
692 * readelf.c (process_unwind): Only do unwind sections for
695 2001-03-28 H.J. Lu <hjl@gnu.org>
697 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
698 * Makefile.in: Regenerate.
700 2001-03-26 Andreas Jaeger <aj@suse.de>
702 * binutils.texi (nm): Fix texi syntax.
704 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
706 * binutils.texi: Put @c man begin and @c man end indications
707 to generate man pages using texi2pod and pod2man. Put @c man title
708 to identify each man. Add SEEALSO entries.
709 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
710 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
712 (*.1): Build the man pages from binutils.texi.
713 * Makefile.in: Regenerate.
715 2001-03-13 Eric Kohl <ekohl@rz-online.de>
717 * defparse.y (opt_equal_name): allow "." in name.
718 * dlltool.c (def_exports): Added ability to generate forwarded exports.
719 (gen_exp_file): Likewise.
721 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
723 * NEWS: Document addition of -B switch to objcopy.
724 * binutils.texi: Document addition of -B switch to objcopy.
725 * objcopy.c: (copy_options): Add --binary-architecture.
726 (copy_usage): Document -B/--binary-architecture.
727 (copy_main): Support -B/--binary-architecture. Set
728 bfd_external_binary_architecture.
730 2001-03-11 Andreas Jaeger <aj@suse.de>
732 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
733 (dump_relocations): Likewise.
734 (get_machine_name): Likewise.
736 2001-02-28 Nick Clifton <nickc@redhat.com>
738 * readelf.c: (struct unw_aux_info): Remove const modifier for
740 (process_unwind): Remove non-K&R compliant LHS type cast in call
741 to GET_DATA_ALLOC macro.
743 2001-02-28 Philip Blundell <pb@futuretv.com>
745 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
746 ABI is in use; remove ambiguity between the "unknown" EABI and
747 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
748 renamed EF_xx constants.
750 2001-02-27 Alan Modra <alan@linuxcare.com.au>
752 * configure.in (BFD_VERSION): New.
753 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
754 * configure: Regenerate.
755 * Makefile.am: Run "make dep-am"
756 * Makefile.in: Regenerate.
758 2001-02-14 Nick Clifton <nickc@redhat.com>
760 * MAINTAINERS: Add "Obvious Fix" rule.
762 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
764 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
765 literal concatenation.
767 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
769 * readelf.c (struct unw_aux_info): Remove const from the info member.
770 (process_unwind): Don't type-cast the third argument to the
771 GET_DATA_ALLOC macro.
773 2001-02-11 Nick Clifton <nickc@redhat.com>
775 * readelf.c (dump_relocations): Free corrected allocated
777 (process_unwind): Fix compile time warning.
779 2001-02-10 Nick Clifton <nickc@redhat.com>
781 * binutils.texi: Document new --unwind option to readelf.
783 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
785 * readelf.c: Add linux target for S/390.
787 2001-02-10 Alan Modra <alan@linuxcare.com.au>
789 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
792 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
794 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
795 * aclocal.m4: Regenerate.
796 * configure: Regenerate.
798 2001-02-07 Todd Vierling <tv@wasabisystems.com>
800 * bucomm.c (bfd_target_vector): Change extern array to pointer.
801 * objdump.c (bfd_target_vector): Likewise.
803 2001-02-07 David Mosberger <davidm@hpl.hp.com>
805 * readelf.c (process_unwind): New function.
806 (slurp_ia64_unwind_table): Ditto.
807 (dump_ia64_unwind): Ditto.
808 (find_symbol_for_address): Ditto.
809 (slurp_rela_relocs): New function (split off from dump_relocations()).
810 (slurp_rel_relocs): Ditto.
811 (parse_args): Handle '-u' option.
813 * unwind-ia64.c: New file.
814 * unwind-ia64.h: New file.
815 * Makefile.am: Include unwind-ia64.c in readelf build.
816 * Makefile.in: Regenerate.
817 * po/binutils.pot: Regenerate.
819 2001-02-04 Philip Blundell <philb@gnu.org>
821 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
822 * configure: Regenerate.
824 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
826 * ieee.c (ieee_add_bb11): Don't check for backslashes
827 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
829 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
831 * ieee.c: Update copyright.
832 (ieee_start_compilation_unit): Don't check for backslashes
833 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
835 * stabs.c: Update copyright. Include "filenames.h".
836 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
838 2001-01-23 Jakub Jelinek <jakub@redhat.com>
840 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
841 sections are present before using them. Remove code duplication.
842 (process_symbol_table): Check if VERDEF or VERNEED sections are
843 present before using them.
845 2001-01-17 Nick Clifton <nickc@redhat.com>
847 * objcopy.c (copy_object): Fail if attempting to convert the
848 endianness of the input object file.
850 * binutils.texi: Explain that objcopy cannot convert endianness.
852 2001-01-16 Nick Clifton <nickc@redhat.com>
854 * readelf.c (string_table_length): New variable.
855 (SECTION_NAME): Catch out of range indices and missing section
857 (process_section_headers): Delete useless local variable
858 string_table_offset. Set the value of string_table_length
859 after loading the string table.
860 (process_mips_specific): Use SECTION_NAME macro.
861 (process_file): Set string_table_length to 0 when it is freed.
863 2001-01-12 Nick Clifton <nickc@redhat.com>
865 * version.c (print_version): Update copyright date.
867 2001-01-11 Peter Targett <peter.targett@arccores.com>
869 * readelf.c (dump_relocations): Include selection with EM_ARC.
870 (get_machine_name) Update name to "ARC".
872 2001-01-09 Nick Clifton <nickc@redhat.com>
874 * Makefile.am: Add rule to build objdump.o from objdump.c and
876 * Makefile.in: Regenerate.
878 * configure.in: Define OBJDUMP_DEFS. Default to empty.
879 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
880 -DDISASSEMBLER_NEEDS_RELOCS.
881 * configure: Regenerate.
883 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
884 is defined read in the relocs even if dump_reloc_info is
887 2001-01-07 Philip Blundell <philb@gnu.org>
889 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
893 2000-12-19 Nick Clifton <nickc@redhat.com>
895 * dlltool.c: Add missing support for arm-epoc-pe.
896 * configure.in: Add missing support for arm-epoc-pe.
897 * configure: Regenerate.
899 2000-12-15 Nick Clifton <nickc@redhat.com>
901 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
902 Mode parts of the x86 port.
904 2000-12-04 Andreas Jaeger <aj@suse.de>
906 * readelf.c (guess_is_rela): Add EM_X86_64.
907 (dump_relocations): Add EM_X86_64.
908 (get_machine_name): Add EM_X86_64.
909 Include "elf/x86-64.h".
911 2000-12-12 Nick Clifton <nickc@redhat.com>
913 * readelf.c: Fix formatting.
915 2000-12-11 Jan Hubicka <jh@suse.cz>
917 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
919 2000-12-07 Andrew Haley <aph@redhat.com>
921 * readelf.c (display_debug_frames): Only display columns that are
922 referenced by the frame debug info.
924 2000-12-05 Nick Clifton <nickc@redhat.com>
926 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
928 2000-12-04 Jason Merrill <jason@redhat.com>
930 * readelf.c (process_section_headers): Handle linkonce.wi sections.
931 (display_debug_section): Likewise.
932 (display_debug_info): Display CU header before bailing.
934 2000-12-01 Chris Demetriou <cgd@sibyte.com>
936 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
937 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
938 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
940 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
943 * readelf.c (get_machine_flags): Add case for
946 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
948 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
950 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
952 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
953 Change sourceware.cygnus.com to sources.redhat.com.
954 Fix typo for "amongst".
956 2000-11-28 Nick Clifton <nickc@redhat.com>
958 * strip.1 (COPYING): Mention that the GNU Free Documentation
959 License is present in the sources, but not the output, and
960 also available from the GNU website.
961 (GNU Free Documentation License): Comment out this section.
970 * addr2line.1: Ditto.
972 2000-11-27 DJ Delorie <dj@redhat.com>
974 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
975 (parse_args): Support -wf option.
976 (process_section_headers): Ditto.
977 (debug_displays): Ditto.
978 (display_debug_frames): New, dump *_frame sections.
979 (frame_need_space): Support for above.
980 (frame_display_row): Ditto.
981 * binutils.texi: Document it.
983 2000-11-24 Nick Clifton <nickc@redhat.com>
985 * NEWS: Announce support for v5t, v5te and XScale.
987 2000-11-22 Nick Clifton <nickc@redhat.com>
989 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
990 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
991 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
992 (get_elf_section_flags: Add SHF_GROUP.
993 (process_section_headers): Adjust output for 32-bit binaries
994 to look nice on an 80 column terminal.
996 2000-11-20 H.J. Lu <hjl@gnu.org>
998 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1001 2000-11-17 Richard Henderson <rth@redhat.com>
1003 * readelf.c (display_debug_lines): Adjust last change to
1004 use sizeof (external->li_length).
1006 2000-11-17 Richard Henderson <rth@redhat.com>
1008 * readelf.c (display_debug_lines): Fix section length check
1009 and end_of_sequence computation.
1011 2000-11-06 Nick Clifton <nickc@redhat.com>
1013 * binutils.texi: Add GNU Free Documentation License.
1014 * objcopy.1: Add GNU Free Documentation License.
1015 * objdump.1: Add GNU Free Documentation License.
1016 * addr2line.1: Add GNU Free Documentation License.
1017 * ar.1: Add GNU Free Documentation License.
1018 * nlmconv.1: Add GNU Free Documentation License.
1019 * nm.1: Add GNU Free Documentation License.
1020 * ranlib.1: Add GNU Free Documentation License.
1021 * size.1: Add GNU Free Documentation License.
1022 * strings.1: Add GNU Free Documentation License.
1023 * strip.1: Add GNU Free Documentation License.
1025 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1027 * objcopy.c (--srec-len=nn): New parameter to set the
1028 maximum length of generated Srecords.
1029 (--srec-forceS3): New parameter that restricts the generation of
1030 Srecords to type S3 only.
1031 * binutils.texi: Document new command line switches.
1032 * objcopy.1: Docuemnt the new command line switches.
1033 * NEWS: Announce the existence of the new command line switches.
1035 2000-10-31 Nick Clifton <nickc@redhat.com>
1037 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1038 code. Add Eric Chrisopher as maintainer of MN10300 port.
1040 2000-10-12 Roger Sayle <roger@metaphorics.com>
1042 * Make comma after string after icon/control optional.
1044 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1046 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1048 * NEWS: Mention support for MIPS32.
1050 2000-09-08 Nick Clifton <nickc@redhat.com>
1052 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1054 2000-09-07 H.J. Lu <hjl@gnu.org>
1056 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1057 * configure: Rebuild.
1059 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1061 * configure: Rebuilt with new libtool.m4.
1063 2000-09-05 Nick Clifton <nickc@redhat.com>
1065 * aclocal.m4: Regenerate.
1066 * config.in: Regenerate.
1067 * configure: Regenerate.
1069 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1071 * strip.1: Fix stray '\' in -o formatting.
1073 2000-09-02 Nick Clifton <nickc@redhat.com>
1075 * configure.in: Increase version number to 2.10.91.
1076 * configure: Regenerate.
1077 * aclocal.m4: Regenerate.
1078 * config.in: Regenerate.
1079 * po/binutils.pot: Regenerate.
1081 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1083 * acinclude.m4: Include libtool and gettext macros from the
1085 * aclocal.m4, configure: Rebuilt.
1087 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1089 * resrc.c (close_input_stream): Delete extraneous logic
1091 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1093 * NEWS: Mention support for CRIS.
1095 2000-08-21 Nick Clifton <nickc@redhat.com>
1097 * addr2line.c: Changed email address for Ulrich Lauther.
1099 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1101 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1103 2000-08-17 Nick Clifton <nickc@redhat.com>
1105 * readelf.c (display_debug_pubnames): Only issue warning
1106 message once. Terminate message with a new line.
1107 (display_debug_aranges): Only display version 2 debug info.
1109 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1111 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1112 for compatability with old BSD systems.
1114 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1116 * NEWS: Mention i860 support.
1118 2000-08-11 Carlo Wood <carlo@alinoe.com>
1120 * addr2line.c (main): Add const to char *.
1122 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1124 * ar.c (main): Don't crash if called with no arguments
1125 or only '-X32_64' as an argument.
1127 2000-08-08 DJ Delorie <dj@redhat.com>
1129 * resrc.c: use "gcc -xc" instead of -xc-header
1131 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1133 * readelf.c (elf/i860.h): Include.
1134 (dump_relocations): Add recognition of i860 architecture.
1135 (guess_is_rela): Add recognition of i860 architecture.
1137 2000-08-03 Nick Clifton <nickc@cygnus.com>
1139 * MAINTAINERS: Add information about CGEN maintainers.
1141 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1143 * nm.c (main): Ignore '-X32_64' as an option.
1144 * ar.c (main): Likewise.
1145 * binutils.texi (nm): Document new option.
1148 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1150 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1152 2000-07-20 H.J. Lu <hjl@gnu.org>
1154 * binutils.texi: Put back "@end table" deleted by
1157 2000-07-05 Kenneth Block <krblock@computer.org>
1159 * nm.c: Add optional style to demangle switch.
1160 * objdump.c: Add optional style to demangle switch.
1161 * addr2line.c: Add optional style to demangle switch.
1162 * binutils.texi: Document optional style to demangle
1165 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1167 * MAINTAINERS: Add self as CRIS port maintainer.
1168 * readelf.c: Include elf/cris.h.
1169 (guess_is_rela): Handle EM_CRIS.
1170 (dump_relocations): Ditto.
1171 (get_machine_name): Ditto.
1172 * Makefile.am: Rebuild dependencies.
1173 * Makefile.in: Regenerate.
1174 * po/binutils.pot: Regenerate.
1176 2000-07-19 H.J. Lu <hjl@gnu.org>
1178 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1180 (process_dynamic_segment): Print out strings for DT_CONFIG,
1181 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1183 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1185 * nm.c (usage): Change output of `nm --help' to include a
1186 description of the purpose of the program and a detailed
1187 description of the accepted options.
1189 2000-07-19 H.J. Lu <hjl@gnu.org>
1191 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1194 2000-07-19 H.J. Lu <hjl@gnu.org>
1196 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1198 2000-07-19 H.J. Lu <hjl@gnu.org>
1200 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1202 (process_dynamic_segment): Likewise.
1204 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1205 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1206 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1207 DF_1_NODUMP and DF_1_CONLFAT.
1209 2000-07-18 Nick Clifton <nickc@cygnus.com>
1211 * binutils.texi (readelf): Fix spelling typo.
1213 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1215 * objdump.c (usage): Make output of `objdump --help' more
1216 consistent with the rest of the GNU world. Add a line describing
1217 the purpose of the program.
1219 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1221 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1224 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1226 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1228 (process_symbol_table): Ditto.
1229 (procesS_extended_line_op): Ditto.
1230 (display_debug_lines): Ditto.
1231 (display_debug_pubnames): Ditto.
1232 (read_and_display_attr): Ditto.
1234 2000-07-09 Nick Clifton <nickc@cygnus.com>
1236 * MAINTAINERS: Add several more port specific maintainers.
1238 2000-07-05 Nick Clifton <nickc@cygnus.com>
1240 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1242 2000-06-05 DJ Delorie <dj@redhat.com>
1246 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1248 * dllwrap.c: Changed mistaken dyn_string_append() calls
1249 to dyn_string_append_cstr().
1251 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1253 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1254 struct debug_type stores size in bytes.
1256 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1258 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1259 (CLEANFILES): Add DEPA.
1260 * Makefile.in: Regenerate.
1262 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1264 * ar.c: Revert incorrect 2000-06-25 patch.
1265 * bucomm.c: Likewise.
1267 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1269 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1270 (external_coff_symbol_p): New function.
1271 (parse_coff): Use it.
1273 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1275 * ar.c (normalize): Advance past both characters in a DOS based
1276 <letter>: filepath prefix.
1278 * bucomm.c (make_tempname): Likewise.
1280 2000-06-24 Nick Clifton <nickc@cygnus.com>
1282 * objdump.c (usage): Fix description of --stabs switch.
1284 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1286 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1288 * Makefile.in: Regenerate.
1290 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1292 * ar.c (normalize): Correct pointer comparison when checking for
1295 * bucomm.c (make_tempname): Likewise.
1297 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1298 and search for backslashes in the original pathname.
1299 (ieee_add_bb11): Likewise.
1301 2000-06-18 Nick Clifton <nickc@redhat.com>
1303 * ar.c (print_contents): Improve verbose message.
1305 2000-06-15 H.J. Lu <hjl@gnu.org>
1307 * dyn-string.c: Removed. Not needed with dyn-string.c in
1309 * dyn-string.h: Likewise.
1311 * Makefile.am: Remove references to dyn-string.c and
1312 dyn-string.h. Rebuild dependency.
1313 * Makefile.in: Rebuild.
1315 2000-06-15 H.J. Lu <hjl@gnu.org>
1317 * binutils.texi: Put a warning on copying relocatable object
1318 files between two different formats.
1320 2000-06-13 DJ Delorie <dj@cygnus.com>
1322 * rcparse.y (control): ICON controls take an id as the first
1323 parameter, not an optional string. Also, call new convenience
1324 function that takes res_id's.
1325 * resrc.c (define_control): missing text means zero-length string,
1327 (define_icon_control): New.
1328 * windres.h: declare define_icon_control.
1330 2000-06-13 H.J. Lu <hjl@gnu.org>
1332 * configure: Regenerate.
1334 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1336 * configure.in (VERSION): Update to show this is the CVS mainline.
1338 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1340 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1341 analogous to <SPACE>.
1343 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1345 * objdump.c (display_target_list): Use bfd_close_all_done, not
1346 bfd_close to fix crash caused by 2000-05-24 change.
1348 2000-05-25 DJ Delorie <dj@cygnus.com>
1350 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1352 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1354 * Makefile.am: Update dependencies with "make dep-am"
1355 * Makefile.in: Regenerate.
1357 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1359 * ar.c: Include filenames.h.
1360 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1361 and drive letters in file names.
1362 (main): Support backslashes and drive letters in argv[0]. Drop
1363 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1364 FILENAME_CMP instead of strcmp to compare file names.
1365 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1367 (do_quick_append) [__GO32__]: Ditto.
1368 (get_pos_bfd, delete_members, move_members, replace_members):
1369 Compare file names with FILENAME_CMP.
1371 * bucomm.c: Include filenames.h.
1372 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1373 forward/backward slashes and drive letters in file names.
1375 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1376 mixed forward/backward slashes and drive letters in file names.
1378 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1379 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1382 * objcopy.c: Include filenames.h.
1383 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1384 before comparing to "strip".
1385 Use FILENAME_CMP to compare file names.
1387 * arsup.c: Include filenames.h.
1388 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1389 FILENAME_CMP to compare file names.
1390 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1391 the temporary file name.
1393 * configure.in: Check for setmode.
1394 * configure: Regenerate.
1396 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1398 * objdump.c (display_target_list): Close the bfd.
1399 (display_info_table): Likewise.
1401 2000-05-14 H.J. Lu (hjl@gnu.org)
1403 * objcopy.c (filter_symbols): Don't strip global symbols in
1404 relocatable object files.
1406 2000-05-14 Alan Modra <alan@linuxcare.com.au>
1408 * size.c (usage): Associate short options with corresponding long
1409 option to give a clue as to their function.
1411 2000-05-14 Philippe De Muyter <phdm@macqel.be>
1413 * size.c (main): Accept and ignore `-f' option.
1415 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1417 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1418 bindtextdomain): Replace defines with those from intl/libgettext.h
1419 to quieten gcc warnings.
1421 2000-05-12 H.J. Lu <hjl@gnu.org>
1423 * nlmconv.c (temp_filename): Removed.
1425 * nlmconv.c (link_inputs): Use make_temp_file () instead of
1426 choose_temp_base ().
1427 * objdump.c (display_target_list): Likewise.
1428 (display_info_table): Likewise.
1430 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1432 * objcopy.c (setup_section): Add const and gettext calls for err.
1434 2000-05-02 H.J. Lu <hjl@gnu.org>
1436 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1437 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1438 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1439 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1440 and ELFOSABI_OPENBSD.
1442 2000-05-02 Kazu Hirata <kazu@hxi.com>
1444 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1445 * srconv.c: Likewise.
1446 * sysdump.c: Likewise.
1448 2000-04-23 Denis Chertykov <denisc@overta.ru>
1450 * readelf.c (guess_is_rela): AVR uses RELA relocations.
1451 (get_machine_name): machine name for EM_AVR added.
1453 2000-04-21 Richard Henderson <rth@cygnus.com>
1454 David Mosberger <davidm@hpl.hp.com>
1456 * Makefile.am (readelf.o): Add elf/ia64.h.
1457 * Makefile.in: Rebuild.
1458 * readelf.c: Include elf/ia64.h.
1459 (guess_is_rela, dump_relocations): Handle EM_IA_64.
1461 2000-04-17 Timothy Wall <twall@cygnus.com>
1463 * objdump.c (disassemble_data): Set octets per byte *after*
1464 resolving arch/mach for binary files.
1466 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1468 * arlex.l: Add directives to increase lex buffer size.
1470 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1471 already included by bucomm.h.
1473 2000-04-10 Philippe De Muyter <phdm@macqel.be>
1475 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1476 `strftime' since strftime is not available on all systems.
1477 (process_mips_specific): Ditto.
1479 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
1481 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1482 --enable-build-warnings option.
1483 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1484 * Makefile.in, configure: Re-generate.
1486 2000-04-06 Alan Modra <alan@linuxcare.com.au>
1488 * addr2line.c: Update copyright.
1489 * objcopy.1: Likewise, and title.
1490 * strings.1: Likewise.
1492 * version.c (print_version): Add 2000.
1494 * rddbg.c (read_section_stabs_debugging_info): Don't use
1495 bfd_size_type for strx to avoid printf problems if BFD64.
1497 * bucomm.c: (report): Remove `static'.
1498 Move inclusion of stdarg.h/vararg.h from here.
1499 * bucomm.h: To here.
1500 (CONST): Change all occurences to const.
1501 (report): Declare it.
1502 (bfd_fatal): Add ATTRIBUTE_NORETURN.
1503 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1504 (non_fatal): Add ATTRIBUTE_PRINTF_1.
1506 * ar.c (main): Use fatal or non_fatal instead of fprintf.
1507 Correct a typo in an error message.
1508 (do_quick_append): Use non_fatal instead of fprintf.
1509 (move_members): Use fatal instead of fprintf, exit.
1510 * coffdump.c (main): Same here.
1512 * dlltool.c (display): Delete.
1514 (inform): Use `report' instead of `display'.
1515 (rvaafter): Remove trailing \n from fatal error msg.
1517 (asm_prefix): Ditto.
1518 (yyerror): Replace `warn' with `non_fatal', and remove \n.
1519 (def_name): Likewise.
1521 (scan_all_symbols): Likewise.
1522 (gen_lib_file): Likewise.
1523 (def_library): Likewise. Remove extra program_name too.
1524 (run): Remove \n from inform strings.
1525 (scan_drectve_symbols): Likewise.
1526 (add_excludes): Likewise.
1527 (scan_open_obj_file): Likewise.
1528 (gen_exp_file): Likewise.
1529 (gen_lib_file): Likewise.
1530 (process_duplicates): Likewise.
1532 * Makefile.am (dllwrap_SOURCES): Add version.c.
1533 * dllwrap.c (program_version): Delete.
1534 (print_version): Delete.
1535 (display): Always print trailing \n.
1537 (delete_temp_files): Use warn instead of fprintf. Use gettext.
1540 (usage): gettext'ify.
1541 (long_options): Add missing initialisers.
1543 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1544 (select_output_format): Likewise.
1545 (powerpc_mangle_relocs): Likewise.
1546 (link_inputs): Likewise.
1548 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1549 (set_output_format): Likewise.
1550 (main): Use non_fatal instead of fprintf.
1551 (display_rel_file): Likewise.
1553 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1554 (slurp_dynamic_symtab): Same here.
1555 (disassemble_data): And here.
1556 (read_section_stabs): And here.
1557 (read_section_stabs): And here.
1558 (dump_bfd): And here.
1560 (objdump_sprintf): Use fatal instead of fprintf, exit.
1561 (disassemble_data): Same here.
1563 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1564 (parse_coff_struct_type): Same here.
1565 (parse_coff_enum_type): And here.
1566 (parse_coff): And here.
1567 * rddbg.c (read_debugging_info): And here.
1568 * size.c (main): And here.
1569 * windres.c (format_from_name): And here.
1570 * wrstabs.c (stab_write_symbol): Here too.
1571 (write_stabs_in_sections_debugging_info): And here.
1572 (stab_int_type): And here.
1573 (stab_struct_field): And here.
1574 (stab_typdef): And here.
1576 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1577 * srconv.c (main): Same here.
1578 * strings.c (main): And here.
1579 (integer_arg): And here.
1580 * sysdump.c (main): And here.
1582 2000-04-06 Timothy Wall <twall@cygnus.com>
1584 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1586 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
1588 * readelf.c (decode_location_expression): Loop through multiple
1590 (read_and_display_attr): Pass in length.
1592 * readelf.c (read_and_display_attr): Add CU offset to references.
1593 (display_debug_info): Pass it in.
1595 2000-04-06 Nick Clifton <nickc@cygnus.com>
1597 * readelf.c (decode_ARM_machine_flags): New function.
1598 (get_machine_flags): Call decode_ARM_machine_flags for ARM
1601 (get_machine_name): Catch EM_AVR
1603 2000-04-05 Alan Modra <alan@linuxcare.com.au>
1605 * binutils.texi: Remove optional `=' from long options that have
1606 an `=' in the argument.
1607 * objcopy.1: Here too. Remove extra space on discard-all.
1609 * binutils.texi (objcopy): Mention --redefine-sym.
1610 * objcopy.1: Here too.
1613 * objcopy.c (parse_flags): Split off flag names from error message
1614 gettext as they are not translated.
1615 (copy_main): Similarly split off option name for --add-section,
1616 --set-section-flags, --change-section-vma, --change-section-lma
1618 Some white space changes.
1620 from Matthew Benjamin <matt@linuxbox.nu>
1621 * objcopy.c (struct redefine_node): New.
1622 (redefine_sym_list): New.
1623 (redefine_list_append): New.
1624 (lookup_sym_redefinition): New.
1625 (OPTION_REDEFINE_SYM): New.
1626 (copy_options): Add --redefine-sym option.
1627 (copy_usage): Mention it.
1628 (filter_symbols): Rename symbols on redefine_sym_list.
1629 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
1630 (copy_main): Handle OPTION_REDEFINE_SYM.
1632 2000-04-04 H.J. Lu <hjl@gnu.org>
1634 * readelf.c (process_symbol_table): Correctly read in symbol
1635 versioning information.
1637 2000-04-04 Alan Modra <alan@linuxcare.com.au>
1639 * po/binutils.pot: Regenerate.
1641 * addr2line.c (usage): Restore translated part of bug string.
1642 * ar.c (usage): Likewise.
1643 * nlmconv.c (show_usage): Likewise.
1644 * nm.c (usage): Likewise.
1645 * objcopy.c (copy_usage): Likewise.
1646 (strip_usage): Likewise.
1647 * objdump.c (usage): Likewise.
1648 * readelf.c (usage): Likewise.
1649 * size.c (usage): Likewise.
1650 * strings.c (usage): Likewise.
1651 * windres.c (usage): Likewise.
1653 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1654 (DEP): Quote when passing vars to sub-make. Add warning
1656 (DEP1): Rewrite for "gcc -MM".
1657 (CLEANFILES): Add DEP2.
1658 Update dependencies.
1659 * Makefile.in: Regenerate.
1661 2000-04-04 H.J. Lu <hjl@gnu.org>
1663 * Makefile.am (GENERATED_HFILES): Add rcparse.h
1664 (arparse.h): Depend on arparse.c
1665 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
1667 2000-04-03 H.J. Lu (hjl@gnu.org)
1669 * size.c (usage): Use REPORT_BUGS_TO.
1671 2000-04-03 Alan Modra <alan@linuxcare.com.au>
1673 * bucomm.h: #include "bin-bugs.h"
1674 * addr2line.c (usage): Use REPORT_BUGS_TO.
1675 * ar.c (usage): Likewise.
1676 * nlmconv.c (show_usage): Likewise.
1677 * nm.c (usage): Likewise.
1678 (OPTION_TARGET): Define.
1679 (long_options): Use OPTION_TARGET rather than 200.
1682 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
1683 (strip_usage): Likewise.
1684 * objdump.c (usage): Likewise.
1685 * readelf.c (usage): Likewise.
1686 * strings.c (usage): Likewise.
1687 * windres.c (usage): Likewise.
1689 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
1691 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
1693 2000-03-27 Nick Clifton <nickc@cygnus.com>
1695 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
1696 string offsets in corrupt stabs entries.
1698 2000-03-27 Alan Modra <alan@linuxcare.com.au>
1700 * readelf.c: Include elf/avr.h
1701 (dump_relocations): Add EM_AVR case.
1703 2000-03-09 Tim Waugh <twaugh@redhat.com>
1705 * strings.1: Correct '-bytes' to '--bytes'.
1707 2000-03-08 H.J. Lu <hjl@gnu.org>
1709 * Makefile.am (install-exec-local): Depend on
1710 install-binPROGRAMS for parallel make.
1711 * Makefile.in: Regenerated.
1713 2000-02-27 Ian Lance Taylor <ian@zembu.com>
1715 From Brad Lucier <lucier@math.purdue.edu>:
1716 * readelf.c (process_dynamic_segment): Add cast to make sure
1717 argument to %* is int.
1719 2000-02-25 H.J. Lu <hjl@gnu.org>
1721 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
1723 2000-02-24 Nick Clifton <nickc@cygnus.com>
1725 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
1726 * configure: Regenerate.
1728 * dlltool.c: Add support for sh-pe and mips-pe targets.
1729 * rescoff.c: Add support for sh-pe and mips-pe targets.
1731 2000-02-23 H.J. Lu <hjl@gnu.org>
1733 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1735 2000-02-22 Nick Clifton <nickc@cygnus.com>
1737 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1739 2000-02-22 Ian Lance Taylor <ian@zembu.com>
1741 From Brad Lucier <lucier@math.purdue.edu>:
1742 * readelf.c (process_version_sections): Add casts to make sure
1743 argument to %* is an int.
1744 (process_mips_specific): Add casts to make printf arguments match
1747 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
1749 * objdump.c (dump_section_header): Change `opb' to unsigned.
1750 (find_symbol_for_address): Same here.
1751 (disassemble_data): And here. Change `addr_offset',
1752 `stop_offset', `nextstop_offset' to unsigned long.
1753 (dump_data): Change opb to unsigned.
1755 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
1757 * resrc.c: Remove unmatched #if for cygwin.
1759 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
1761 * binutils.texi: Document the change of flavor name from atpcs-special
1762 to special-atpcs to prevent name conflict in gdb.
1764 2000-02-08 Timothy Wall <twall@redhat.com>
1766 * objdump.c (show_line): Fix bug preventing printing of the very
1767 first line (line zero) of a file when interlisting source and
1768 assembly. Added option to print entire context from start of file
1769 when the first line from that file is encountered.
1771 2000-02-03 Timothy Wall <twall@redhat.com>
1773 * objdump.c (dump_section_header, find_symbol_for_address,
1774 show_line, disassemble_bytes, disassemble_data, dump_data):
1775 distinguish between octets and bytes.
1777 2000-01-27 Thomas de Lellis <tdel@windriver.com>
1779 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1780 check to unresolved symbols.
1781 (print_symbol_info_sysv): Ditto.
1782 (print_symbol_info_posix): Ditto.
1784 * binutils.texi: Document new 'V' symclass flag for nm.
1786 2000-01-27 Nick Clifton <nickc@redhat.com>
1788 * binutils.texi (objdump): Document new ARM specific
1789 disassembler options.
1791 * objdump.c (usage): Call disassembler_usage().
1793 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
1795 * readelf.c (get_dynamic_flags): Return buff.
1796 (process_dynamic_segment): Don't pass error strings to printf
1798 (read_and_display_attr): Use lx and ld to print longs.
1799 (process_corefile_note_segment): Cast bfd_vma to unsigned long
1803 2000-01-17 Nick Clifton <nickc@cygnus.com>
1805 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1807 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
1809 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1811 (debug_tag_type): Here too.
1812 * ieee.c (ieee_builtin_type): And here.
1813 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1815 2000-01-13 Nick Clifton <nickc@cygnus.com>
1817 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1820 2000-01-11 Nick Clifton <nickc@cygnus.com>
1822 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1824 2000-01-10 Nick Clifton <nickc@cygnus.com>
1826 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1828 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
1830 * windres.c (long_options): Add --use-temp-file and
1831 --no-use-temp-file options.
1835 * windres.h: Update read_rc_file prototype.
1837 * resrc.c (cpp_temp_file): New static variable.
1838 (istream_type): New static variable.
1839 (close_pipe): Delete function.
1840 (run_cmd): New static function.
1841 (open_input_stream): New static function.
1842 (close_input_stream): New static function.
1843 (look_for_default): Handle DOS directory separator. Use
1844 open_input_stream instead of popen.
1845 (read_rc_file): Likewise.
1847 * binutils.texi: Document --use-temp-file, --no-use-temp-file
1850 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1852 * dlltool.c (create_compat_implib): New variable.
1853 (gen_exp_file): Use.
1854 (make_one_lib_file): Use.
1855 (long_options): Add --compat-implib option.
1859 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1860 (main): Use. Don't look for "32" in cygwin and mingw target names.
1862 2000-01-03 Nick Clifton <nickc@cygnus.com>
1864 * binutils.texi: Document new, ARM specific disassembler
1865 command line switch "-M force-thumb".
1867 For older changes see ChangeLog-9899
1873 version-control: never