* options.cc (version_script): Fix small typo in previous
[binutils.git] / binutils / ChangeLog-0001
blob9d1489432e8b2ee4765bbe30bf524eed7abfbeec
1 2001-12-20  Julian v. Bock  <julian@wongr.net>
3         * readelf.c (print_symbol): New function: Print a formatted symbol
4         name.  If --wide is specified do not truncate it.
5         (dump_relocations): Use print_symbol() to print symbol names.
6         (process_symbol_table): Likewise.
7         (process_syminfo): Likewise.
8         (process_mips_specific): Likewise.
9         (usage): Document new feature of --wide switch.
10         * doc/binutils.texi (objdump): Document additional behaviour of
11         --wide.
13 2001-12-18  Michael Snyder  <msnyder@redhat.com>
15         * objcopy.c (copy_file): Accept corefiles (format bfd_core).
16         (copy_object): Don't set the start address or flags of a core file.
17         (copy_section): Don't relocate a core file.  Don't copy contents
18         if the input section has the contents flag set, but the output
19         section does not (which happens with the fake 'note' pseudo-
20         sections that BFD creates for corefiles).
22 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
24         * readelf.c (get_machine_flags): Recognize header flags for ABI and
25         ASE extensions. More robust code for ISA checking. Ignore empty fields
26         in header flags for GNU extensions.
28 2001-12-18  Alan Modra  <amodra@bigpond.net.au>
30         * objcopy.c (copy_archive): Set output bfd format outside the loop.
32 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
34         * po/ja.po: Import from translation project.
35         * configure.in (ALL_LINGUAS): Add ja.
36         * configure: Regenerate.
38 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
40         * addr2line.c (main): Protoype.
41         * ar.c (main): Protoype.
42         * nm.c (main): Protoype.
43         * objcopy.c (main): Protoype.
44         * objdump.c (main): Protoype.
45         * size.c (main): Protoype.
46         * strings.c (main): Protoype.
48 2001-12-17  Alan Modra  <amodra@bigpond.net.au>
50         * readelf.c (symtab_shndx_hdr): New global.
51         (SECTION_HEADER_INDEX): Define.
52         (SECTION_HEADER_NUM): Define.
53         (SECTION_HEADER): Define.
54         (GET_ELF_SYMBOLS): Pass two params rather than three.
55         (get_32bit_elf_symbols): Take file and section args.  Read and
56         use SHT_SYMTAB_SHNDX.
57         (get_64bit_elf_symbols): Likewise.
58         (dump_relocations): Use SECTION_HEADER to index "section_headers".
59         (process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
60         Remember symtab_shdx_hdr.
61         (process_program_headers): Scan from index 1 for segment map.
62         (slurp_ia64_unwind_table): Use SECTION_HEADER to index
63         "section_headers".
64         (process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
65         (process_unwind): Likewise.
66         (process_version_sections): Likewise.
67         (process_symbol_table): Likewise.
68         (display_debug_info): Likewise.
69         (process_dynamic_segment): Fake up a symtab section for changed
70         GET_ELF_SYMBOLS.
71         (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
72         (process_program_headers): Kill signed/unsigned warning.
73         (load_debug_str): Likewise.
74         (display_debug_info): Likewise.
76 2001-12-13  Jakub Jelinek  <jakub@redhat.com>
78         * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
80 2001-12-11  Alan Modra  <amodra@bigpond.net.au>
82         * readelf.c (process_file_header): Print extended e_shnum and
83         e_shdtrndx values.  Set elf_header values for same.
84         (get_32bit_section_headers): Add "num" arg to read "num" headers.
85         (get_64bit_section_headers): Likewise.
86         (process_section_headers): Update calls.
87         (get_file_header): Call get_32bit_section_headers or 64bit variant.
89 2001-12-10  Jakub Jelinek  <jakub@redhat.com>
91         * objcopy.c (setup_section): Copy entsize.
93 2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
95         * readelf.c (guess_is_rela): Add support for stormy16.
96         (dump_relocations): Likewise.
97         (get_machine_name): Likewise.
99 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
101         * dllwrap.c (main) Replace multiple strings describing a
102         single error with a single, newline escaped sentence to permit
103         better translation into foreign languages.
105         * readelf.c (get_elf_class): Remove internalionalisation of ELF
106         class names.
108 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
110         * strings.c (get_char): Initialize value.
112 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
114         * arlex.l: Silence compile warnings.
115         * arsup.h: Likewise. Fix formatting.
117 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
119         * strings.c: Include config.h before bfd.h.
120         (file_off): New type.
121         (file_open): Define.
122         (print_strings): Use file_off instead of file_ptr.  Print addresses
123         which don't fit into long correctly.
124         (get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
125         available.
126         (strings_file): Use file_off instead of file_ptr.  Use file_open.
127         * configure.in: Check for getc_unlocked.
128         Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
129         be defined for it.
130         * configure: Rebuilt.
131         * config.h.in: Rebuilt.
133 2001-11-29  H.J. Lu <hjl@gnu.org>
135         * bucomm.c (make_tempname): Revert the changes made on
136         2001-11-14 and 2001-11-12. They won't work with directories.
138 2001-11-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
140         * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
141         CFLAGS_FOR_TARGET to runtest in environment.
142         * Makefile.in: Rebuild.
143         * doc/Makefile.in: Rebuild.
145 2001-11-28  Mike Stump  <mrs@wrs.com>
147         * objcopy.c (setup_section): Preserve SEC_RELOC when
148         --set-section-flags is used.
150 2001-11-19  Nick Clifton  <nickc@cambridge.redhat.com>
152         * readelf.c (do_debug_str): New variable.
153         (display_debug_str): New function: Display the contents of a
154         .debug_str section.
155         (load_debug_str): New function: Load in the contents of a
156         .debug_str section.
157         (free_debug_str): New function: Free the memory used by
158         load_debug_str().
159         (fetch_indirect_string): Retrieve a string from the .debug_str
160         section.
161         (usage): Add -ws.
162         (parse_args): Accept -ws.
163         (process_section_headers): Allow the display of the .debug_str
164         section.
165         (read_and_display_attr_value): Use fetch_indirect_string.  Show
166         offset into .debug_str section.
167         (display_debug_info): Use load_debug_str and free_debug_str.
168         (debug_displays): Add .debug_str.
169         * doc/binutils.texi: Document -ws.
171 2001-11-19  Andreas Jaeger  <aj@suse.de>
173         * testsuite/binutils-all/objdump.exp: Add x86-64.
175 2001-11-15  Andreas Schwab  <schwab@suse.de>
177         * readelf.c: Fix warnings without terminating newline.
179 2001-11-15  Alan Modra  <amodra@bigpond.net.au>
181         * doc/binutils.texi (objdump): Document ppc -M options.
183 2001-11-14  Andreas Jaeger  <aj@suse.de>
185         * doc/binutils.texi (objdump): Fix description to use x86-64.
187 2001-11-14  Nick Clifton  <nickc@cambridge.redhat.com>
189         * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
190         not all systems provide mkstemp.
192 2001-11-14  Alan Modra  <amodra@bigpond.net.au>
194         * doc/binutils.texi (objdump): Document x86 -M options.
196 2001-11-13  Keith Walker <keith.walker@arm.com>
198         * readelf.c (read_and_display_attr_value): New function to
199         handle DW_FORM_indirect.
200         (read_and_display_attr): Use it.
202 2001-11-13  Geoffrey Keating  <geoffk@redhat.com>
204         * readelf.c (display_debug_lines): Deal with unknown standard
205         opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
206         DW_LNS_set_isa.
208 2001-11-13  Timothy Wall  <twall@alum.mit.edu>
210         * MAINTAINERS: Add self as tic54x maintainer.  This target
211         includes the IBM C54XDSP clone.
213 2001-11-12  * Steven J. Hill <sjhill@realitydiluted.com>
215         * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
217 2001-11-09  Jeffrey A Law  (law@cygnus.com)
219         * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
220         (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
221         (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
222         (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
223         (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
224         (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
225         (unw_decode_b2, unw_decode_b3_b4): Likewise.
227         * readelf.c (get_elf_class): Fix ISO portability glitch.
228         (get_data_encoding, get_osabi_name, request_dump): Likewise.
230 2001-11-07  Jakub Jelinek  <jakub@redhat.com>
232         * readelf.c (debug_str, debug_str_size): New.
233         (display_debug_abbrev): If no abbrevs were read, skip the CU.
234         Call free_abbrevs.
235         (read_and_display_addr): Handle DW_FORM_strp.
236         (display_debug_info): Read .debug_str section if present,
237         so that DW_FORM_strp can be handled.
238         Fix test for non-existant .debug_abbrev section.
240 2001-11-05  Jakub Jelinek  <jakub@redhat.com>
242         * arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.
244         * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
246 2001-11-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
248         * MAINTAINERS: Add self as s390/s390x maintainer.
250 2001-11-02  Tom Rix  <trix@bluey.cygnus.com>
252         * MAINTAINERS: Add self as PPC XCOFF maintainer.
254 2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
256         * configure.in (ALL_LINGUAS): Add "fr" and "tr".
257         * configure: Regernate.
258         * po/fr.po: New file.
259         * po/tr.po: New file.
261 2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
263         * MAINTAINERS: Add self as MMIX port maintainer.
264         * readelf.c: Include elf/mmix.h.
265         (guess_is_rela): MMIX is RELA.
266         (dump_relocations): Handle MMIX relocations.
267         * Makefile.am: Regenerate dependencies.
268         * Makefile.in: Regenerate.
270 2001-10-13  Nick Clifton  <nickc@cambridge.redhat.com>
272         * readelf.c (parse_args): Handle multiple options to the -w
273         switch.
275 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
277         * readelf.c (get_section_type_name): Don't print SHT_ prefix for
278         LOPROC, LOOS and LOUSER.
280 2001-10-11  J"orn Rennecke <amylaar@onetel.net.uk>
282         * MAINTAINERS: Update my email address.
284 2001-10-03  Alan Modra  <amodra@bigpond.net.au>
286         * doc/Makefile.in: Regenerate.
287         * configure: Regenerate.
289 2001-10-02  Nick Clifton  <nickc@cambridge.redhat.com>
291         * readelf.c (display_debug_line, display_debug_pubnames,
292         display_debug_info, display_debug_frames): Detect and warn
293         about 64-bit format entries.
294         (display_debug_aranges): Reword 64-bit warning.
295         (debug_displays): Add .debug_pubtypes as a known, but not yet
296         supported, debug section.
298 2001-10-02  Alan Modra  <amodra@bigpond.net.au>
300         * coffdump.c (PROGRAM_VERSION): Delete.
301         (main <'V'>): Call print_version.
302         * srconv.c: Likewise.
303         * sysdump.c: Likewise.
304         * version.c (program_version): Remove.
305         (print_version): Use BFD_VERSION_STRING.  Just print the current
306         year in copyright message.
307         * addr2line.c (program_version): Remove unused declaration.
308         * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
309         place of BFD_VERSION.
310         * Makefile.am (Makefile): Depend on bfd/configure.in.
311         (cplus-dem.o): Depend on Makefile.
312         Run "make dep-am".
313         * Makefile.in: Regenerate.
315 2001-10-01  Nick Clifton  <nickc@cambridge.redhat.com>
317         * readelf.c (display_debug_aranges): Detect and warn about DWARF64
318         format .debug_arange sections.
319         (main): Add missing prototype.
321 2001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
323         * Makefile.am: Update dependencies with "make dep-am".
324         * Makefile.in: Regenerate.
326 2001-09-28  Richard Henderson  <rth@redhat.com>
328         * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
330 2001-09-26  Alan Modra  <amodra@bigpond.net.au>
332         * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
333         VA_CLOSE.
334         (non_fatal): Likewise.
335         * objdump.c (objdump_sprintf): Likewise.
336         * readelf.c (error): Likewise.
337         (warn): Likewise.
339 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
341         * readelf.c (do_wide): New.
342         (options): Add --wide.
343         (usage, parse_args): Likewise.
344         (process_program_headers): Put each segment on a single line if
345         --wide is given.
346         (process_section_headers): Put each section on a single line if
347         --wide is given.
348         * doc/binutils.texi: Document it.
349         * NEWS: Likewise.
351 2001-09-25  Alan Modra  <amodra@bigpond.net.au>
353         * readelf.c (print_vma): Print 8 digits of low hex value.
355 2001-09-24  Andreas Jaeger  <aj@suse.de>
357         * nlmconv.c: Fix warnings about unused attributes and function
358         prototypes.
360         * strings.c: Add prototype for get_char.
362 2000-09-19  H.J. Lu  <hjl@gnu.org>
364         * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
365         $(srcdir)/cxxfilt.man.
366         * doc/Makefile.in: Rebuild.
368 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
370         * objcopy.c (copy_main): Correct rename-section string parsing.
371         Consolidate new_name parsing, and error messages.
373 2001-09-18  Bruno Haible  <haible@clisp.cons.org>
375         * addr2line.c: Don't include <ctype.h>.
376         (main): For gettext, also set the LC_CTYPE locate facet.
377         * ar.c (main): Likewise.
378         * coffdump.c (main): Likewise.
379         * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
380         (main): For gettext, also set the LC_CTYPE locate facet.
381         Use ISALNUM instead of isalpha/isdigit.
382         * dllwrap.c: Don't include <ctype.h>.
383         (main): For gettext, also set the LC_CTYPE locate facet.
384         * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
385         (main): For gettext, also set the LC_CTYPE locate facet.
386         Use TOUPPER instead of islower/toupper.
387         * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
388         (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
389         Use TOUPPER instead of islower/toupper.
390         * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
391         * objcopy.c (main): Likewise.
392         * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
393         (disassemble_bytes): Use ISPRINT instead of isprint.
394         (dump_section_stabs): Use ISDIGIT instead of isdigit.
395         (dump_data): Use ISPRINT instead of isprint.
396         (main): For gettext, also set the LC_CTYPE locate facet.
397         * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
398         (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
399         * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
400         Use TOUPPER instead of islower/toupper.
401         * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
402         * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
403         (write_rc_accelerators): Use ISPRINT instead of isprint.
404         (write_rc_rcdata): Likewise.
405         * size.c (main): For gettext, also set the LC_CTYPE locate facet.
406         * srconv.c (main): Likewise.
407         * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
408         (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
409         isdigit/isupper/islower.
410         (parse_stab_string, parse_stab_type, parse_stab_argtypes,
411         parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
412         stab_demangle_prefix, stab_demangle_qualified,
413         stab_demangle_template, stab_demangle_type,
414         stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
415         * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
416         (isgraphic): Use ISPRINT instead of isascii/isprint.
417         (main): Remove HAVE_LC_MESSAGES dependency.
418         * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
419         (pbarray): Use ISPRINT instead of isprint.
420         (main): For gettext, also set the LC_CTYPE locate facet.
421         * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
422         (format_from_filename): Use ISPRINT instead of isprint.
423         (main): For gettext, also set the LC_CTYPE locate facet.
424         * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
425         (unicode_print): Use ISPRINT instead of isprint.
426         * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
427         (stab_variable): Use ISDIGIT instead of isdigit.
429 2001-09-18  Alan Modra  <amodra@bigpond.net.au>
431         * ar.c (print_contents): Cast args of bfd_seek to the right types.
432         Replace bfd_read call with call to bfd_bread.
433         (extract_file): Likewise.
435         * objdump.c (dump_section_header): Cast section->filepos to
436         unsigned long to suit printf format string.
437         * readelf.c (process_section_headers): Similarly for sh_offset.
438         (process_unwind): Likewise.
440 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
442         * strings.c (encoding, encoding_bytes): New variables.
443         (long_options): Add --encoding.
444         (main): Accept -e and --encoding.
445         (get_char): New function.  Read a, possibly wide, character from
446         the input stream.
447         (print_strings): Use get_char().
448         (usage): Document new command line option.
449         * doc/binutils.texi: Document new command line option.
450         * NEWS: Announce new command line option.
452 2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
454         * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
455         get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
456         EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
457         Removed EM_CYGNUS_ARC.
459 2001-09-04  Jeffrey A Law  (law@cygnus.com)
461         * readelf.c: Include elf/h8 for H8 series definitions.
462         (guess_is_rela): H8 series if RELA.
463         (dump_relocations): Handle H8 series relocations.
465 2001-08-31  Eric Christopher  <echristo@redhat.com>
467         * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
469 2001-08-29  Peter Targett  <peter.targett@arccores.com>
471         * MAINTAINERS: Include ARC Maintainer.
473 2001-08-29  Ben Elliston  <bje@redhat.com>
475         * stabs.c (stab_demangle_template): Initialise s4.
477 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
479         * readelf.c (dump_relocations): Recognise EM_PPC64.
481 2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
483         * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
485 2001-08-25  H.J. Lu  <hjl@gnu.org>
487         * nm.c (print_width): New.
488         (display_rel_file): Set `print_width' according to
489         bfd_sprintf_vma.
490         (print_symbol_info_bsd): Check `print_width' instead of BFD64.
492 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
494         * objcopy.c (use_alt_mach_code): New variable.
495         (OPTION_ALT_MACH_CODE): Define.
496         (copy_options): Added --alt-machine-code.
497         (copy_main): Handle it.
498         (copy_object): Switch to alternate machine code if requested.
499         * doc/binutils.texi: Document new option.
500         * NEWS: Likewise.
502 2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
504         * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
506 2001-08-21  H.J. Lu  <hjl@gnu.org>
508         * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
509         (display_debug_info): Cast for 64bit hosts.
510         (display_debug_frames): Likewise.
511         (process_mips_specific): Likewise.
513 2001-08-21  Andreas Jaeger  <aj@suse.de>
515         * coffgrok.h: Add missing parameter for prototype of coff_grok.
517         * sysdump.c: Add missing prototypes.
518         * srconv.c: Likewise.
519         * unwind-ia64.c: Likewise.
520         * coffdump.c: Likewise.
522         * sysinfo.y: Print prototypes, include <ansidecl.h>.
524         * coffgrok.c: Add missing prototypes, include libiberty.h instead
525         of declaring xcalloc.
527 2001-08-10  H.J. Lu  <hjl@gnu.org>
529         * nm.c (print_value): Add one arg, bfd *.
530         (print_value): Replace fprintf_vma with bfd_fprintf_vma.
531         (print_symbol_info_bsd): Also pass `abfd' to print_value ().
532         (print_symbol_info_sysv): Likewise.
533         (print_symbol_info_posix): Likewise.
535         * objdump.c (dump_section_header): Replace printf_vma with
536         bfd_printf_vma.
537         (print_section_stabs): Likewise.
538         (dump_bfd_header): Likewise.
539         (objdump_print_value): Replace sprintf_vma with
540         bfd_sprintf_vma.
541         (disassemble_bytes): Likewise.
542         (dump_reloc_set): Likewise.
544 2001-08-10  Andreas Jaeger  <aj@suse.de>
546         * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
547         to build warnings.
548         * configure: Regenerate.
550 2001-08-09  Alan Modra  <amodra@bigpond.net.au>
552         * readelf.c: Add missing prototypes.
553         * objdump.c: Likewise.  Format existing prototypes.
555 2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
557         * readelf.c (display_debug_info): Add to abbrev_offset the addend
558         of any RELA relocation for the abbrev_offset memory location that
559         refers to the .debug_abbrev section symbol.
561 2001-08-07  H.J. Lu  <hjl@gnu.org>
563         * readelf.c (process_file): Return 0 if OK, otherwise return 1.
564         (main): Return process_file ().
566 2001-08-05  Philip Blundell  <philb@gnu.org>
568         * doc/binutils.texi: Use "Thumb" not "THUMB".
570 2001-08-03  John Healy  <jhealy@redhat.com>
572         Patch suggested by Frank Eigler <fche@redhat.com>.
573         * objdump.c (disassemble_data): Fill in section member of the
574         disasm_info structure.
576 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
578         * configure.in: Added --with-windres option.
579         * configure: Regenerated.
581 2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
583         * doc/binutils.texi: Use @command{name} for commands;
584         use @option{-opt} for options; use @table @env for list of options;
585         remove spaces arround [ | ] in synopsis.
587         * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
588         center title.
590 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
592         * objcopy.c: Fix formatting.
593         (section_rename): New structure.
594         (OPTION_RENAME_SECTION): New switch.
595         (copy_usage): Document new switch.
596         (add_section_rename): New function: Add a node to the section
597         rename list.
598         (find_section_rename): New function: Find the new name and
599         flags for a section.
600         (setup_section): Call find_section_name to determine the name
601         of the output section.
602         (copy_main): Handle OPTION_RENAME_SECTION.
603         * binutils.texi: Document new switch.
604         * NEWS: Mention new switch.
606 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
608         * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
609         * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
610         bug-binutils@gcc.org.
612 2001-07-28  Matthias Kramm  <kramm@quiss.org>
614         * bucomm.c (list_supported_architectures): New function.
615         * bucomm.h (list_supported_architectures): Declare.
616         * objdump.c (usage): Call the above.
618 2001-07-25  Dave Brolley  <brolley@redhat.com>
620         * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
621         (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
623 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
625         * README: Update for 2.11.  Change bug reporting email address.
626         * MAINTAINERS: Tidy up.  Change bug reporting email address.
628 2001-07-16  DJ Delorie  <dj@redhat.com>
630         * resres.c (write_res_header): Align header size.
631         (res_align_file): Calculate alignment correctly.
633         * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
634         correct 10).
635         * resrc.c (write_rc_resource): Likewise.
636         * windres.h (SUBLANG_SHIFT): Define - as 10.
638 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
640         * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
642 2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
644         * MAINTAINERS: Add notes about branch checkins.
646 2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
648         * readelf.c (display_debug_macinfo): New function, display
649         .debug_macinfo section.
650         (do_debug_macinfo): New variable.
651         (parse_args): Handle "-w[mM]" to mean display macro info.
652         (process_section_headers): Handle debug_macinfo.
653         (debug_displays): Replace unsupported function with macinfo
654         function for .debug_macinfo display.
655         * doc/binutils.texi: Document new command line switch.
656         * NEWS: Document new feature of readelf.
658 2001-07-05  H.J. Lu  <hjl@gnu.org>
660         * objcopy.c (filter_symbols): Don't turn undefined symbols
661         into local.
663 2001-07-03  H.J. Lu <hjl@gnu.org>
665         * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
666         $@.pod.
667         (ar.1): Likewise.
668         (dlltool.1): Likewise.
669         (nlmconv.1): Likewise.
670         (nm.1): Likewise.
671         (objcopy.1): Likewise.
672         (objdump.1): Likewise.
673         (ranlib.1): Likewise.
674         (readelf.1): Likewise.
675         (size.1): Likewise.
676         (strings.1): Likewise.
677         (strip.1): Likewise.
678         (windres.1): Likewise.
679         (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
680         ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
681         $(DEMANGLER_NAME).
682         (as.1): Removed.
683         * doc/Makefile.in: Regenerated.
685 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
687         * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
689 2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
691         * readelf.c: Support DWARF 2.1 tags, encodings, languages.
693 2001-06-29  James Cownie <jcownie@etnus.com>
695         * readelf.c: Support DWARF 2.1 attributes.
697 2001-06-28  Alan Modra  <amodra@bigpond.net.au>
699         * readelf.c (GET_DATA_ALLOC): Remove.
700         (GET_DATA): Remove.
701         (get_data): New function combining above macros, with an extra
702         test for zero size.
703         (slurp_rela_relocs): Use get_data, and catch error return.
704         (slurp_rel_relocs): Likewise.
705         (get_32bit_program_headers): Likewise.
706         (get_64bit_program_headers): Likewise.
707         (get_32bit_section_headers): Likewise.
708         (get_64bit_section_headers): Likewise.
709         (get_32bit_elf_symbols): Likewise.
710         (get_64bit_elf_symbols): Likewise.
711         (process_section_headers): Likewise.
712         (process_relocs): Likewise.
713         (slurp_ia64_unwind_table): Likewise.
714         (process_unwind): Likewise.
715         (get_32bit_dynamic_segment): Likewise.
716         (get_64bit_dynamic_segment): Likewise.
717         (process_dynamic_segment): Likewise.
718         (process_version_sections): Likewise.
719         (process_symbol_table): Likewise.
720         (dump_section): Likewise.
721         (display_debug_info): Likewise.
722         (display_debug_section): Likewise.
723         (process_section_contents): Likewise.
724         (process_corefile_note_segment): Likewise.
725         (process_mips_specific): Likewise.  Also free econf32, econf64.
727 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
729         * readelf.c (dump_relocations): Print "bad symbol index" if
730         symtab == NULL with non-zero symtab_index.
731         (process_relocs): Don't bomb if reloc section has no symsec.
733 2001-06-24  H.J. Lu  <hjl@gnu.org>
735         * objcopy.c (strip_main): Revert the change made on 2001-05-30
736         by accident.
737         (copy_main): Apply the the change made to strip_main on
738         2001-05-30 by accident.
740 2001-06-23  Andreas Jaeger  <aj@suse.de>
742         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
743         parameter 'code'.
744         (unw_decode_x2): Likewise.
745         (unw_decode_x3): Likewise.
746         (unw_decode_x4): Likewise.
748 2001-06-23  Ben Elliston  <bje@redhat.com>
750         * MAINTAINERS: Add myself as M88k maintainer.
752 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
754         * objcopy.c (strip_main): Support -o or --output-file command lien
755         switch.
757 2001-06-19  H.J. Lu <hjl@gnu.org>
759         * doc/Makefile.in: Regenerated.
761 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
763         * readelf.c: Restore formatting.
765 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
767         * Makefile.am: Move documentation into doc subdirectory.
768         * Makefile.in: Regenerated.
769         * binutils.texi: Move into doc subdirectory.
770         * addr2line.1: Removed.
771         * ar.1: Likewise.
772         * dlltool.1: Likewise.
773         * nlmconv.1: Likewise.
774         * nm.1: Likewise.
775         * objcopy.1: Likewise.
776         * objdump.1: Likewise.
777         * ranlib.1: Likewise.
778         * readelf.1: Likewise.
779         * size.1: Likewise.
780         * strings.1: Likewise.
781         * strip.1: Likewise.
782         * windres.1: Likewise.
783         * cxxfilt.man: Likewise.
784         * doc: New Directory.
785         * doc/Makefile.am: New file.
786         * doc/Makefile.in: Generate.
788 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
790         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
792 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
794         * MAINTAINERS: Update my email address.
796 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
798         * objcopy.c: Add new switches: --keep-global-symbol,
799         --keep-symbols, --localize-symbols, --keep-global-symbols and
800         --weaken-symbols.
801         * binutils.texi: Document new switches.
802         * objcopy.1: Regenerate.
803         * NEWS: Announce new feature.
805 2001-05-28  Andreas Jaeger  <aj@suse.de>
807         * readelf.c (display_debug_frames): Fix warnings: Remove unused
808         variables, fix format strings.
810 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
812         * objdump.c (disassemble_bytes): Remove section VMA adjustment
813         when computing the address of the line to show.
815 2001-05-16  Richard Henderson  <rth@redhat.com>
817         * readelf.c (do_debug_frames_interp): New.
818         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
819         (byte_get_big_endian): Likewise.
820         (parse_args) ['F']: Set do_debug_frames_interp.
821         (Frame_Chunk): Make data_factor signed, add fde_encoding.
822         (frame_display_row): Don't trunc pc_begin to int.
823         (size_of_encoded_value): New.
824         (display_debug_frames): Handle 64-bit targets.  Print raw data
825         unless do_debug_frames_interp.
826         (debug_displays): Remove duplicate .debug_frame.
828 2001-05-15  Ralf Baechle  <ralf@gnu.org>
830         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
831         The former constant was never in active use and is used otherwise
832         by the ABI.
834 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
836         * readelf.c (process_unwind): Print all unwind sections, not just
837         one.
839 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
841         * readelf.c (process_unwind): Remove const specifier.
843 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
845         * strings.c (isgraphic): Do not use isascii() unless it is needed
846         for isprint() to work.
847         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
849 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
851         * NEWS: Announce support for OpenRISC.
853 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
855         * dlltool.c (do_default_excludes): Initialise to true.
857 2001-04-10  Alan Modra  <amodra@one.net.au>
859         * MAINTAINERS: Update my email address
860         * nm.c (print_symbol_info_bsd): Use a simple printf string.
862 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
864         * readelf.c (display_debug_lines): Fix typo for "Prologue".
866 2001-03-30  H.J. Lu  <hjl@gnu.org>
868         * readelf.c (process_unwind): Just return if do_unwind is 0.
870 2001-03-28  Roger Sayle  <roger@metaphorics.com>
872         * dlltool.c (make_one_lib_file): Fix section flags for
873         .text, .data and .bss in stub ds*.o files to match those
874         generated by gas.
876 2001-03-29  H.J. Lu  <hjl@gnu.org>
878         * readelf.c (process_unwind): Only do unwind sections for
879         IA64.
881 2001-03-28  H.J. Lu  <hjl@gnu.org>
883         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
884         * Makefile.in: Regenerate.
886 2001-03-26  Andreas Jaeger  <aj@suse.de>
888         * binutils.texi (nm): Fix texi syntax.
890 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
892         * binutils.texi: Put @c man begin and @c man end indications
893         to generate man pages using texi2pod and pod2man. Put @c man title
894         to identify each man. Add SEEALSO entries.
895         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
896         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
897         sort the list.
898         (*.1): Build the man pages from binutils.texi.
899         * Makefile.in: Regenerate.
901 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
903         * defparse.y (opt_equal_name): allow "." in name.
904         * dlltool.c (def_exports): Added ability to generate forwarded exports.
905         (gen_exp_file): Likewise.
907 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
909         * NEWS: Document addition of -B switch to objcopy.
910         * binutils.texi:  Document addition of -B switch to objcopy.
911         * objcopy.c: (copy_options): Add --binary-architecture.
912         (copy_usage): Document -B/--binary-architecture.
913         (copy_main): Support -B/--binary-architecture.  Set
914         bfd_external_binary_architecture.
916 2001-03-11  Andreas Jaeger  <aj@suse.de>
918         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
919         (dump_relocations): Likewise.
920         (get_machine_name): Likewise.
922 2001-02-28  Nick Clifton  <nickc@redhat.com>
924         * readelf.c: (struct unw_aux_info): Remove const modifier for
925         'strtab' field.
926         (process_unwind): Remove non-K&R compliant LHS type cast in call
927         to GET_DATA_ALLOC macro.
929 2001-02-28  Philip Blundell  <pb@futuretv.com>
931         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
932         ABI is in use; remove ambiguity between the "unknown" EABI and
933         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
934         renamed EF_xx constants.
936 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
938         * configure.in (BFD_VERSION): New.
939         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
940         * configure: Regenerate.
941         * Makefile.am: Run "make dep-am"
942         * Makefile.in: Regenerate.
944 2001-02-14  Nick Clifton  <nickc@redhat.com>
946         * MAINTAINERS: Add "Obvious Fix" rule.
948 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
950         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
951         literal concatenation.
953 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
955         * readelf.c (struct unw_aux_info): Remove const from the info member.
956         (process_unwind): Don't type-cast the third argument to the
957         GET_DATA_ALLOC macro.
959 2001-02-11  Nick Clifton  <nickc@redhat.com>
961         * readelf.c (dump_relocations): Free corrected allocated
962         array.
963         (process_unwind): Fix compile time warning.
965 2001-02-10  Nick Clifton  <nickc@redhat.com>
967         * binutils.texi: Document new --unwind option to readelf.
969 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
971         * readelf.c: Add linux target for S/390.
973 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
975         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
976         printf is a macro.
978 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
980         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
981         * aclocal.m4: Regenerate.
982         * configure: Regenerate.
984 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
986         * bucomm.c (bfd_target_vector): Change extern array to pointer.
987         * objdump.c (bfd_target_vector): Likewise.
989 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
991         * readelf.c (process_unwind): New function.
992         (slurp_ia64_unwind_table): Ditto.
993         (dump_ia64_unwind): Ditto.
994         (find_symbol_for_address): Ditto.
995         (slurp_rela_relocs): New function (split off from dump_relocations()).
996         (slurp_rel_relocs): Ditto.
997         (parse_args): Handle '-u' option.
999         * unwind-ia64.c: New file.
1000         * unwind-ia64.h: New file.
1001         * Makefile.am: Include unwind-ia64.c in readelf build.
1002         * Makefile.in: Regenerate.
1003         * po/binutils.pot: Regenerate.
1005 2001-02-04  Philip Blundell  <philb@gnu.org>
1007         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1008         * configure: Regenerate.
1010 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
1012         * ieee.c (ieee_add_bb11): Don't check for backslashes
1013         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1015 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
1017         * ieee.c: Update copyright.
1018         (ieee_start_compilation_unit): Don't check for backslashes
1019         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1021         * stabs.c: Update copyright. Include "filenames.h".
1022         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1024 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
1026         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1027         sections are present before using them.  Remove code duplication.
1028         (process_symbol_table): Check if VERDEF or VERNEED sections are
1029         present before using them.
1031 2001-01-17  Nick Clifton  <nickc@redhat.com>
1033         * objcopy.c (copy_object): Fail if attempting to convert the
1034         endianness of the input object file.
1036         * binutils.texi: Explain that objcopy cannot convert endianness.
1038 2001-01-16  Nick Clifton  <nickc@redhat.com>
1040         * readelf.c (string_table_length): New variable.
1041         (SECTION_NAME): Catch out of range indices and missing section
1042         pointers.
1043         (process_section_headers): Delete useless local variable
1044         string_table_offset.  Set the value of string_table_length
1045         after loading the string table.
1046         (process_mips_specific): Use SECTION_NAME macro.
1047         (process_file): Set string_table_length to 0 when it is freed.
1049 2001-01-12  Nick Clifton  <nickc@redhat.com>
1051         * version.c (print_version): Update copyright date.
1053 2001-01-11  Peter Targett  <peter.targett@arccores.com>
1055         * readelf.c (dump_relocations): Include selection with EM_ARC.
1056         (get_machine_name) Update name to "ARC".
1058 2001-01-09  Nick Clifton  <nickc@redhat.com>
1060         * Makefile.am: Add rule to build objdump.o from objdump.c and
1061         using OBJDUMP_DEFS.
1062         * Makefile.in: Regenerate.
1064         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
1065         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1066         -DDISASSEMBLER_NEEDS_RELOCS.
1067         * configure: Regenerate.
1069         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1070         is defined read in the relocs even if dump_reloc_info is
1071         false.
1073 2001-01-07  Philip Blundell  <philb@gnu.org>
1075         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1076         `bug-binutils'.
1077         * README: Likewise.
1079 2000-12-19  Nick Clifton  <nickc@redhat.com>
1081         * dlltool.c: Add missing support for arm-epoc-pe.
1082         * configure.in: Add missing support for arm-epoc-pe.
1083         * configure: Regenerate.
1085 2000-12-15  Nick Clifton  <nickc@redhat.com>
1087         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1088         Mode parts of the x86 port.
1090 2000-12-04  Andreas Jaeger  <aj@suse.de>
1092         * readelf.c (guess_is_rela): Add EM_X86_64.
1093         (dump_relocations): Add EM_X86_64.
1094         (get_machine_name): Add EM_X86_64.
1095         Include "elf/x86-64.h".
1097 2000-12-12  Nick Clifton  <nickc@redhat.com>
1099         * readelf.c: Fix formatting.
1101 2000-12-11  Jan Hubicka  <jh@suse.cz>
1103         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1105 2000-12-07  Andrew Haley  <aph@redhat.com>
1107         * readelf.c (display_debug_frames): Only display columns that are
1108         referenced by the frame debug info.
1110 2000-12-05  Nick Clifton  <nickc@redhat.com>
1112         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1114 2000-12-04  Jason Merrill  <jason@redhat.com>
1116         * readelf.c (process_section_headers): Handle linkonce.wi sections.
1117         (display_debug_section): Likewise.
1118         (display_debug_info): Display CU header before bailing.
1120 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
1122         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1123         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
1124         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1126         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1127         and E_MIPS_ARCH_64.
1129         * readelf.c (get_machine_flags): Add case for
1130         E_MIPS_MACH_SB1.
1132 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
1134         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1136 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
1138         * MAINTAINERS: Add J�örn Rennecke and self as SH maintainers.
1139         Change sourceware.cygnus.com to sources.redhat.com.
1140         Fix typo for "amongst".
1142 2000-11-28  Nick Clifton  <nickc@redhat.com>
1144         * strip.1 (COPYING): Mention that the GNU Free Documentation
1145         License is present in the sources, but not the output, and
1146         also available from the GNU website.
1147         (GNU Free Documentation License): Comment out this section.
1148         * strings.1: Ditto.
1149         * size.1: Ditto.
1150         * ranlib.1: Ditto.
1151         * objdump.1: Ditto.
1152         * objcopy.1: Ditto.
1153         * nm.1: Ditto.
1154         * nlmconv.1: Ditto.
1155         * ar.1: Ditto.
1156         * addr2line.1: Ditto.
1158 2000-11-27  DJ Delorie  <dj@redhat.com>
1160         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1161         (parse_args): Support -wf option.
1162         (process_section_headers): Ditto.
1163         (debug_displays): Ditto.
1164         (display_debug_frames): New, dump *_frame sections.
1165         (frame_need_space): Support for above.
1166         (frame_display_row): Ditto.
1167         * binutils.texi: Document it.
1169 2000-11-24  Nick Clifton  <nickc@redhat.com>
1171         * NEWS: Announce support for v5t, v5te and XScale.
1173 2000-11-22  Nick Clifton  <nickc@redhat.com>
1175         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1176         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1177         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1178         (get_elf_section_flags: Add SHF_GROUP.
1179         (process_section_headers): Adjust output for 32-bit binaries
1180         to look nice on an 80 column terminal.
1182 2000-11-20  H.J. Lu  <hjl@gnu.org>
1184         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1185         ELFOSABI_AIX.
1187 2000-11-17  Richard Henderson  <rth@redhat.com>
1189         * readelf.c (display_debug_lines): Adjust last change to
1190         use sizeof (external->li_length).
1192 2000-11-17  Richard Henderson  <rth@redhat.com>
1194         * readelf.c (display_debug_lines): Fix section length check
1195         and end_of_sequence computation.
1197 2000-11-06  Nick Clifton  <nickc@redhat.com>
1199         * binutils.texi: Add GNU Free Documentation License.
1200         * objcopy.1: Add GNU Free Documentation License.
1201         * objdump.1: Add GNU Free Documentation License.
1202         * addr2line.1: Add GNU Free Documentation License.
1203         * ar.1: Add GNU Free Documentation License.
1204         * nlmconv.1: Add GNU Free Documentation License.
1205         * nm.1: Add GNU Free Documentation License.
1206         * ranlib.1: Add GNU Free Documentation License.
1207         * size.1: Add GNU Free Documentation License.
1208         * strings.1: Add GNU Free Documentation License.
1209         * strip.1: Add GNU Free Documentation License.
1211 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
1213         * objcopy.c (--srec-len=nn): New parameter to set the
1214         maximum length of generated Srecords.
1215         (--srec-forceS3): New parameter that restricts the generation of
1216         Srecords to type S3 only.
1217         * binutils.texi: Document new command line switches.
1218         * objcopy.1: Docuemnt the new command line switches.
1219         * NEWS: Announce the existence of the new command line switches.
1221 2000-10-31  Nick Clifton  <nickc@redhat.com>
1223         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1224         code.  Add Eric Chrisopher as maintainer of MN10300 port.
1226 2000-10-12  Roger Sayle  <roger@metaphorics.com>
1228         * Make comma after string after icon/control optional.
1230 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
1232         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1234         * NEWS: Mention support for MIPS32.
1236 2000-09-08  Nick Clifton  <nickc@redhat.com>
1238         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1240 2000-09-07  H.J. Lu  <hjl@gnu.org>
1242         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1243         * configure: Rebuild.
1245 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
1247         * configure: Rebuilt with new libtool.m4.
1249 2000-09-05  Nick Clifton  <nickc@redhat.com>
1251         * aclocal.m4: Regenerate.
1252         * config.in: Regenerate.
1253         * configure: Regenerate.
1255 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
1257         * strip.1: Fix stray '\' in -o formatting.
1259 2000-09-02  Nick Clifton  <nickc@redhat.com>
1261         * configure.in: Increase version number to 2.10.91.
1262         * configure: Regenerate.
1263         * aclocal.m4: Regenerate.
1264         * config.in: Regenerate.
1265         * po/binutils.pot: Regenerate.
1267 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
1269         * acinclude.m4: Include libtool and gettext macros from the
1270         top level.
1271         * aclocal.m4, configure: Rebuilt.
1273 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
1275         * resrc.c (close_input_stream): Delete extraneous logic
1277 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
1279         * NEWS: Mention support for CRIS.
1281 2000-08-21  Nick Clifton  <nickc@redhat.com>
1283         * addr2line.c: Changed email address for Ulrich Lauther.
1285 2000-08-17  Christopher C. Chimelis <chris@debian.org>
1287         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1289 2000-08-17  Nick Clifton  <nickc@redhat.com>
1291         * readelf.c (display_debug_pubnames): Only issue warning
1292         message once.  Terminate message with a new line.
1293         (display_debug_aranges): Only display version 2 debug info.
1295 2000-08-14  Todd Vierling <tv@wasabisystems.com>
1297         * objcopy.c (strip_main): Silently accept -d as an alias for -g
1298         for compatibility with old BSD systems.
1300 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
1302         * NEWS: Mention i860 support.
1304 2000-08-11  Carlo Wood <carlo@alinoe.com>
1306         * addr2line.c (main): Add const to char *.
1308 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
1310         * ar.c (main): Don't crash if called with no arguments
1311         or only '-X32_64' as an argument.
1313 2000-08-08  DJ Delorie  <dj@redhat.com>
1315         * resrc.c: use "gcc -xc" instead of -xc-header
1317 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
1319         * readelf.c (elf/i860.h): Include.
1320         (dump_relocations): Add recognition of i860 architecture.
1321         (guess_is_rela): Add recognition of i860 architecture.
1323 2000-08-03  Nick Clifton  <nickc@cygnus.com>
1325         * MAINTAINERS: Add information about CGEN maintainers.
1327 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
1329         * nm.c (main): Ignore '-X32_64' as an option.
1330         * ar.c (main): Likewise.
1331         * binutils.texi (nm): Document new option.
1332         (ar): Likewise.
1334 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1336         * rdcoff.c (external_coff_symbol_p): K&R-ise.
1338 2000-07-20  H.J. Lu  <hjl@gnu.org>
1340         * binutils.texi: Put back "@end table" deleted by
1341         accident.
1343 2000-07-05  Kenneth Block  <krblock@computer.org>
1345         * nm.c: Add optional style to demangle switch.
1346         * objdump.c: Add optional style to demangle switch.
1347         * addr2line.c: Add optional style to demangle switch.
1348         * binutils.texi: Document optional style to demangle
1349         switch.
1351 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
1353         * MAINTAINERS: Add self as CRIS port maintainer.
1354         * readelf.c: Include elf/cris.h.
1355         (guess_is_rela): Handle EM_CRIS.
1356         (dump_relocations): Ditto.
1357         (get_machine_name): Ditto.
1358         * Makefile.am: Rebuild dependencies.
1359         * Makefile.in: Regenerate.
1360         * po/binutils.pot: Regenerate.
1362 2000-07-19  H.J. Lu  <hjl@gnu.org>
1364         * readelf.c (get_dynamic_type): Change "AUXILARY" to
1365         "AUXILIARY".
1366         (process_dynamic_segment): Print out strings for DT_CONFIG,
1367         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1369 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
1371         * nm.c (usage): Change output of `nm --help' to include a
1372         description of the purpose of the program and a detailed
1373         description of the accepted options.
1375 2000-07-19  H.J. Lu  <hjl@gnu.org>
1377         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1378         to DF_1_NODEFLIB.
1380 2000-07-19  H.J. Lu  <hjl@gnu.org>
1382         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1384 2000-07-19  H.J. Lu  <hjl@gnu.org>
1386         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1387         DT_FEATURE.
1388         (process_dynamic_segment): Likewise.
1390         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1391         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1392         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1393         DF_1_NODUMP and DF_1_CONLFAT.
1395 2000-07-18  Nick Clifton  <nickc@cygnus.com>
1397         * binutils.texi (readelf): Fix spelling typo.
1399 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
1401         * objdump.c (usage): Make output of `objdump --help' more
1402         consistent with the rest of the GNU world.  Add a line describing
1403         the purpose of the program.
1405 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
1407         * stabs.c (parse_stab_range_type): Cast to proper type to fix
1408         warning.
1410 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
1412         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1413         to fix warnings.
1414         (process_symbol_table): Ditto.
1415         (procesS_extended_line_op): Ditto.
1416         (display_debug_lines): Ditto.
1417         (display_debug_pubnames): Ditto.
1418         (read_and_display_attr): Ditto.
1420 2000-07-09  Nick Clifton  <nickc@cygnus.com>
1422         * MAINTAINERS: Add several more port specific maintainers.
1424 2000-07-05  Nick Clifton  <nickc@cygnus.com>
1426         * MAINTAINERS: Add blanket write privs for Michael Meissner.
1428 2000-06-05  DJ Delorie  <dj@redhat.com>
1430         * MAINTAINERS: New.
1432 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
1434         * dllwrap.c: Changed mistaken dyn_string_append() calls
1435         to dyn_string_append_cstr().
1437 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
1439         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1440         struct debug_type stores size in bytes.
1442 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
1444         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
1445         (CLEANFILES): Add DEPA.
1446         * Makefile.in: Regenerate.
1448 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
1450         * ar.c: Revert incorrect 2000-06-25 patch.
1451         * bucomm.c: Likewise.
1453 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1455         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1456         (external_coff_symbol_p): New function.
1457         (parse_coff): Use it.
1459 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
1461         * ar.c (normalize): Advance past both characters in a DOS based
1462         <letter>: filepath prefix.
1463         (main): Likewise.
1464         * bucomm.c (make_tempname): Likewise.
1466 2000-06-24  Nick Clifton  <nickc@cygnus.com>
1468         * objdump.c (usage): Fix description of --stabs switch.
1470 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
1472         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1473         find one.
1474         * Makefile.in: Regenerate.
1476 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
1478         * ar.c (normalize): Correct pointer comparison when checking for
1479         backslashes.
1480         (main): Likewise.
1481         * bucomm.c (make_tempname): Likewise.
1483         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1484         and search for backslashes in the original pathname.
1485         (ieee_add_bb11): Likewise.
1487 2000-06-18  Nick Clifton  <nickc@redhat.com>
1489         * ar.c (print_contents): Improve verbose message.
1491 2000-06-15  H.J. Lu  <hjl@gnu.org>
1493         * dyn-string.c: Removed. Not needed with dyn-string.c in
1494         libiberty.
1495         * dyn-string.h: Likewise.
1497         * Makefile.am: Remove references to dyn-string.c and
1498         dyn-string.h. Rebuild dependency.
1499         * Makefile.in: Rebuild.
1501 2000-06-15  H.J. Lu  <hjl@gnu.org>
1503         * binutils.texi: Put a warning on copying relocatable object
1504         files between two different formats.
1506 2000-06-13  DJ Delorie  <dj@cygnus.com>
1508         * rcparse.y (control): ICON controls take an id as the first
1509         parameter, not an optional string.  Also, call new convenience
1510         function that takes res_id's.
1511         * resrc.c (define_control): missing text means zero-length string,
1512         not zero ID.
1513         (define_icon_control): New.
1514         * windres.h: declare define_icon_control.
1516 2000-06-13  H.J. Lu  <hjl@gnu.org>
1518         * configure: Regenerate.
1520 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
1522         * configure.in (VERSION): Update to show this is the CVS mainline.
1524 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
1526         * strings.c (isgraphic): Interpret <TAB> as a printable character,
1527         analogous to <SPACE>.
1529 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
1531         * objdump.c (display_target_list): Use bfd_close_all_done, not
1532         bfd_close to fix crash caused by 2000-05-24 change.
1534 2000-05-25  DJ Delorie  <dj@cygnus.com>
1536         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1538 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
1540         * Makefile.am: Update dependencies with "make dep-am"
1541         * Makefile.in: Regenerate.
1543 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
1545         * ar.c: Include filenames.h.
1546         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1547         and drive letters in file names.
1548         (main): Support backslashes and drive letters in argv[0].  Drop
1549         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
1550         FILENAME_CMP instead of strcmp to compare file names.
1551         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1552         DJGPP v2.
1553         (do_quick_append) [__GO32__]: Ditto.
1554         (get_pos_bfd, delete_members, move_members, replace_members):
1555         Compare file names with FILENAME_CMP.
1557         * bucomm.c: Include filenames.h.
1558         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1559         forward/backward slashes and drive letters in file names.
1561         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1562         mixed forward/backward slashes and drive letters in file names.
1564         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1565         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1566         mode.
1568         * objcopy.c: Include filenames.h.
1569         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1570         before comparing to "strip".
1571         Use FILENAME_CMP to compare file names.
1573         * arsup.c: Include filenames.h.
1574         (map_over_list, ar_delete, ar_replace, ar_extract): Use
1575         FILENAME_CMP to compare file names.
1576         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1577         the temporary file name.
1579         * configure.in: Check for setmode.
1580         * configure: Regenerate.
1582 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
1584         * objdump.c (display_target_list): Close the bfd.
1585         (display_info_table): Likewise.
1587 2000-05-14  H.J. Lu  (hjl@gnu.org)
1589         * objcopy.c (filter_symbols): Don't strip global symbols in
1590         relocatable object files.
1592 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
1594         * size.c (usage): Associate short options with corresponding long
1595         option to give a clue as to their function.
1597 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
1599         * size.c (main): Accept and ignore `-f' option.
1601 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
1603         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1604         bindtextdomain): Replace defines with those from intl/libgettext.h
1605         to quieten gcc warnings.
1607 2000-05-12  H.J. Lu  <hjl@gnu.org>
1609         * nlmconv.c (temp_filename): Removed.
1611         * nlmconv.c (link_inputs): Use make_temp_file () instead of
1612         choose_temp_base ().
1613         * objdump.c (display_target_list): Likewise.
1614         (display_info_table): Likewise.
1616 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
1618         * objcopy.c (setup_section): Add const and gettext calls for err.
1620 2000-05-02  H.J. Lu  <hjl@gnu.org>
1622         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1623         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1624         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1625         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1626         and ELFOSABI_OPENBSD.
1628 2000-05-02  Kazu Hirata  <kazu@hxi.com>
1630         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1631         * srconv.c: Likewise.
1632         * sysdump.c: Likewise.
1634 2000-04-23  Denis Chertykov  <denisc@overta.ru>
1636         * readelf.c (guess_is_rela): AVR uses RELA relocations.
1637         (get_machine_name): machine name for EM_AVR added.
1639 2000-04-21  Richard Henderson  <rth@cygnus.com>
1640             David Mosberger  <davidm@hpl.hp.com>
1642         * Makefile.am (readelf.o): Add elf/ia64.h.
1643         * Makefile.in: Rebuild.
1644         * readelf.c: Include elf/ia64.h.
1645         (guess_is_rela, dump_relocations): Handle EM_IA_64.
1647 2000-04-17  Timothy Wall  <twall@cygnus.com>
1649         * objdump.c (disassemble_data): Set octets per byte *after*
1650         resolving arch/mach for binary files.
1652 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1654         * arlex.l: Add directives to increase lex buffer size.
1656         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1657         already included by bucomm.h.
1659 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
1661         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1662         `strftime' since strftime is not available on all systems.
1663         (process_mips_specific): Ditto.
1665 2000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
1667         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
1668         --enable-build-warnings option.
1669         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1670         * Makefile.in, configure: Re-generate.
1672 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
1674         * addr2line.c: Update copyright.
1675         * objcopy.1: Likewise, and title.
1676         * strings.1: Likewise.
1678         * version.c (print_version): Add 2000.
1680         * rddbg.c (read_section_stabs_debugging_info): Don't use
1681         bfd_size_type for strx to avoid printf problems if BFD64.
1683         * bucomm.c: (report): Remove `static'.
1684         Move inclusion of stdarg.h/vararg.h from here.
1685         * bucomm.h: To here.
1686         (CONST): Change all occurences to const.
1687         (report): Declare it.
1688         (bfd_fatal): Add ATTRIBUTE_NORETURN.
1689         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1690         (non_fatal): Add ATTRIBUTE_PRINTF_1.
1692         * ar.c (main): Use fatal or non_fatal instead of fprintf.
1693         Correct a typo in an error message.
1694         (do_quick_append): Use non_fatal instead of fprintf.
1695         (move_members): Use fatal instead of fprintf, exit.
1696         * coffdump.c (main): Same here.
1698         * dlltool.c (display): Delete.
1699         (warn): Delete.
1700         (inform): Use `report' instead of `display'.
1701         (rvaafter): Remove trailing \n from fatal error msg.
1702         (rvabefore): Ditto.
1703         (asm_prefix): Ditto.
1704         (yyerror): Replace `warn' with `non_fatal', and remove \n.
1705         (def_name): Likewise.
1706         (run): Likewise.
1707         (scan_all_symbols): Likewise.
1708         (gen_lib_file): Likewise.
1709         (def_library): Likewise.  Remove extra program_name too.
1710         (run): Remove \n from inform strings.
1711         (scan_drectve_symbols): Likewise.
1712         (add_excludes): Likewise.
1713         (scan_open_obj_file): Likewise.
1714         (gen_exp_file): Likewise.
1715         (gen_lib_file): Likewise.
1716         (process_duplicates): Likewise.
1718         * Makefile.am (dllwrap_SOURCES): Add version.c.
1719         * dllwrap.c (program_version): Delete.
1720         (print_version): Delete.
1721         (display): Always print trailing \n.
1722         (warn): New.
1723         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
1724         (run): Here too.
1725         (main): And here.
1726         (usage): gettext'ify.
1727         (long_options): Add missing initialisers.
1729         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1730         (select_output_format): Likewise.
1731         (powerpc_mangle_relocs): Likewise.
1732         (link_inputs): Likewise.
1734         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1735         (set_output_format): Likewise.
1736         (main): Use non_fatal instead of fprintf.
1737         (display_rel_file): Likewise.
1739         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1740         (slurp_dynamic_symtab): Same here.
1741         (disassemble_data): And here.
1742         (read_section_stabs): And here.
1743         (read_section_stabs): And here.
1744         (dump_bfd): And here.
1745         (main): And here.
1746         (objdump_sprintf): Use fatal instead of fprintf, exit.
1747         (disassemble_data): Same here.
1749         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1750         (parse_coff_struct_type): Same here.
1751         (parse_coff_enum_type): And here.
1752         (parse_coff): And here.
1753         * rddbg.c (read_debugging_info): And here.
1754         * size.c (main): And here.
1755         * windres.c (format_from_name): And here.
1756         * wrstabs.c (stab_write_symbol): Here too.
1757         (write_stabs_in_sections_debugging_info): And here.
1758         (stab_int_type): And here.
1759         (stab_struct_field): And here.
1760         (stab_typdef): And here.
1762         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1763         * srconv.c (main): Same here.
1764         * strings.c (main): And here.
1765         (integer_arg): And here.
1766         * sysdump.c (main): And here.
1768 2000-04-06  Timothy Wall  <twall@cygnus.com>
1770         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1772 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
1774         * readelf.c (decode_location_expression): Loop through multiple
1775         operations.
1776         (read_and_display_attr): Pass in length.
1778         * readelf.c (read_and_display_attr): Add CU offset to references.
1779         (display_debug_info): Pass it in.
1781 2000-04-06  Nick Clifton  <nickc@cygnus.com>
1783         * readelf.c (decode_ARM_machine_flags): New function.
1784         (get_machine_flags): Call decode_ARM_machine_flags for ARM
1785         targets.
1787         (get_machine_name): Catch EM_AVR
1789 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
1791         * binutils.texi: Remove optional `=' from long options that have
1792         an `=' in the argument.
1793         * objcopy.1: Here too.  Remove extra space on discard-all.
1795         * binutils.texi (objcopy): Mention --redefine-sym.
1796         * objcopy.1: Here too.
1797         * NEWS: And here.
1799         * objcopy.c (parse_flags): Split off flag names from error message
1800         gettext as they are not translated.
1801         (copy_main): Similarly split off option name for --add-section,
1802         --set-section-flags, --change-section-vma, --change-section-lma
1803         error messages.
1804         Some white space changes.
1806         from Matthew Benjamin <matt@linuxbox.nu>
1807         * objcopy.c (struct redefine_node): New.
1808         (redefine_sym_list): New.
1809         (redefine_list_append): New.
1810         (lookup_sym_redefinition): New.
1811         (OPTION_REDEFINE_SYM): New.
1812         (copy_options): Add --redefine-sym option.
1813         (copy_usage): Mention it.
1814         (filter_symbols): Rename symbols on redefine_sym_list.
1815         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
1816         (copy_main): Handle OPTION_REDEFINE_SYM.
1818 2000-04-04  H.J. Lu  <hjl@gnu.org>
1820         * readelf.c (process_symbol_table): Correctly read in symbol
1821         versioning information.
1823 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
1825         * po/binutils.pot: Regenerate.
1827         * addr2line.c (usage): Restore translated part of bug string.
1828         * ar.c (usage): Likewise.
1829         * nlmconv.c (show_usage): Likewise.
1830         * nm.c (usage): Likewise.
1831         * objcopy.c (copy_usage): Likewise.
1832         (strip_usage): Likewise.
1833         * objdump.c (usage): Likewise.
1834         * readelf.c (usage): Likewise.
1835         * size.c (usage): Likewise.
1836         * strings.c (usage): Likewise.
1837         * windres.c (usage): Likewise.
1839         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1840         (DEP): Quote when passing vars to sub-make.  Add warning
1841         message to end.
1842         (DEP1): Rewrite for "gcc -MM".
1843         (CLEANFILES): Add DEP2.
1844         Update dependencies.
1845         * Makefile.in: Regenerate.
1847 2000-04-04  H.J. Lu  <hjl@gnu.org>
1849         * Makefile.am (GENERATED_HFILES): Add rcparse.h
1850         (arparse.h): Depend on arparse.c
1851         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
1853 2000-04-03  H.J. Lu  (hjl@gnu.org)
1855         * size.c (usage): Use REPORT_BUGS_TO.
1857 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
1859         * bucomm.h: #include "bin-bugs.h"
1860         * addr2line.c (usage): Use REPORT_BUGS_TO.
1861         * ar.c (usage): Likewise.
1862         * nlmconv.c (show_usage): Likewise.
1863         * nm.c (usage): Likewise.
1864         (OPTION_TARGET): Define.
1865         (long_options): Use OPTION_TARGET rather than 200.
1866         (main): Likewise.
1868         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
1869         (strip_usage): Likewise.
1870         * objdump.c (usage): Likewise.
1871         * readelf.c (usage): Likewise.
1872         * strings.c (usage): Likewise.
1873         * windres.c (usage): Likewise.
1875 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1877         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
1879 2000-03-27  Nick Clifton  <nickc@cygnus.com>
1881         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
1882         string offsets in corrupt stabs entries.
1884 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
1886         * readelf.c: Include elf/avr.h
1887         (dump_relocations): Add EM_AVR case.
1889 2000-03-09  Tim Waugh  <twaugh@redhat.com>
1891         * strings.1: Correct '-bytes' to '--bytes'.
1893 2000-03-08  H.J. Lu  <hjl@gnu.org>
1895         * Makefile.am (install-exec-local): Depend on
1896         install-binPROGRAMS for parallel make.
1897         * Makefile.in: Regenerated.
1899 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
1901         From Brad Lucier <lucier@math.purdue.edu>:
1902         * readelf.c (process_dynamic_segment): Add cast to make sure
1903         argument to %* is int.
1905 2000-02-25  H.J. Lu  <hjl@gnu.org>
1907         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
1909 2000-02-24  Nick Clifton  <nickc@cygnus.com>
1911         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
1912         * configure: Regenerate.
1914         * dlltool.c: Add support for sh-pe and mips-pe targets.
1915         * rescoff.c: Add support for sh-pe and mips-pe targets.
1917 2000-02-23  H.J. Lu  <hjl@gnu.org>
1919         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1921 2000-02-22  Nick Clifton  <nickc@cygnus.com>
1923         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1925 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
1927         From Brad Lucier <lucier@math.purdue.edu>:
1928         * readelf.c (process_version_sections): Add casts to make sure
1929         argument to %* is an int.
1930         (process_mips_specific): Add casts to make printf arguments match
1931         format.
1933 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
1935         * objdump.c (dump_section_header): Change `opb' to unsigned.
1936         (find_symbol_for_address): Same here.
1937         (disassemble_data): And here.  Change `addr_offset',
1938         `stop_offset', `nextstop_offset' to unsigned long.
1939         (dump_data): Change opb to unsigned.
1941 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
1943         * resrc.c: Remove unmatched #if for cygwin.
1945 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1947         * binutils.texi: Document the change of flavor name from atpcs-special
1948         to special-atpcs to prevent name conflict in gdb.
1950 2000-02-08  Timothy Wall  <twall@redhat.com>
1952         * objdump.c (show_line): Fix bug preventing printing of the very
1953         first line (line zero) of a file when interlisting source and
1954         assembly.  Added option to print entire context from start of file
1955         when the first line from that file is encountered.
1957 2000-02-03  Timothy Wall <twall@redhat.com>
1959         * objdump.c (dump_section_header, find_symbol_for_address,
1960         show_line, disassemble_bytes, disassemble_data, dump_data):
1961         distinguish between octets and bytes.
1963 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
1965         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1966         check to unresolved symbols.
1967         (print_symbol_info_sysv):  Ditto.
1968         (print_symbol_info_posix):  Ditto.
1970         * binutils.texi: Document new 'V' symclass flag for nm.
1972 2000-01-27  Nick Clifton  <nickc@redhat.com>
1974         * binutils.texi (objdump): Document new ARM specific
1975         disassembler options.
1977         * objdump.c (usage): Call disassembler_usage().
1979 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
1981         * readelf.c (get_dynamic_flags): Return buff.
1982         (process_dynamic_segment): Don't pass error strings to printf
1983         as format arg.
1984         (read_and_display_attr): Use lx and ld to print longs.
1985         (process_corefile_note_segment): Cast bfd_vma to unsigned long
1986         before printing.
1987         Update copyright.
1989 2000-01-17  Nick Clifton  <nickc@cygnus.com>
1991         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1993 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
1995         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1996         false.
1997         (debug_tag_type): Here too.
1998         * ieee.c (ieee_builtin_type): And here.
1999         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2001 2000-01-13  Nick Clifton  <nickc@cygnus.com>
2003         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2004         System/370".
2006 2000-01-11  Nick Clifton  <nickc@cygnus.com>
2008         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2010 2000-01-10  Nick Clifton  <nickc@cygnus.com>
2012         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2014 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
2016         * windres.c (long_options): Add --use-temp-file and
2017         --no-use-temp-file options.
2018         (usage): Document.
2019         (main): Handle.
2021         * windres.h: Update read_rc_file prototype.
2023         * resrc.c (cpp_temp_file): New static variable.
2024         (istream_type): New static variable.
2025         (close_pipe): Delete function.
2026         (run_cmd): New static function.
2027         (open_input_stream): New static function.
2028         (close_input_stream): New static function.
2029         (look_for_default): Handle DOS directory separator. Use
2030         open_input_stream instead of popen.
2031         (read_rc_file): Likewise.
2033         * binutils.texi: Document --use-temp-file, --no-use-temp-file
2034         options.
2036 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
2038         * dlltool.c (create_compat_implib): New variable.
2039         (gen_exp_file): Use.
2040         (make_one_lib_file): Use.
2041         (long_options): Add --compat-implib option.
2042         (usage): Handle.
2043         (main): Handle.
2045         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2046         (main): Use. Don't look for "32" in cygwin and mingw target names.
2048 2000-01-03  Nick Clifton  <nickc@cygnus.com>
2050         * binutils.texi: Document new, ARM specific disassembler
2051         command line switch "-M force-thumb".
2053 For older changes see ChangeLog-9899
2055 Local Variables:
2056 mode: change-log
2057 left-margin: 8
2058 fill-column: 74
2059 version-control: never
2060 End: