* lexsup.c (parse_args): Don't pass shortopts to second call to
[binutils.git] / binutils / ChangeLog
blobdee8f60e950ff44d2d31e9f1e5335b602a1a733d
1 2001-12-11  Alan Modra  <amodra@bigpond.net.au>
3         * readelf.c (process_file_header): Print extended e_shnum and
4         e_shdtrndx values.  Set elf_header values for same.
5         (get_32bit_section_headers): Add "num" arg to read "num" headers.
6         (get_64bit_section_headers): Likewise.
7         (process_section_headers): Update calls.
8         (get_file_header): Call get_32bit_section_headers or 64bit variant.
10 2001-12-10  Jakub Jelinek  <jakub@redhat.com>
12         * objcopy.c (setup_section): Copy entsize.
14 2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
16         * readelf.c (guess_is_rela): Add support for stormy16.
17         (dump_relocations): Likewise.
18         (get_machine_name): Likewise.
20 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
22         * dllwrap.c (main) Replace multiple strings describing a
23         single error with a single, newline escaped sentence to permit
24         better translation into foreign languages.
26         * readelf.c (get_elf_class): Remove internalionalisation of ELF
27         class names.
29 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
31         * strings.c (get_char): Initialize value.
33 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
35         * arlex.l: Silence compile warnings.
36         * arsup.h: Likewise. Fix formatting.
38 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
40         * strings.c: Include config.h before bfd.h.
41         (file_off): New type.
42         (file_open): Define.
43         (print_strings): Use file_off instead of file_ptr.  Print addresses
44         which don't fit into long correctly.
45         (get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
46         available.
47         (strings_file): Use file_off instead of file_ptr.  Use file_open.
48         * configure.in: Check for getc_unlocked.
49         Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
50         be defined for it.
51         * configure: Rebuilt.
52         * config.h.in: Rebuilt.
54 2001-11-29  H.J. Lu <hjl@gnu.org>
56         * bucomm.c (make_tempname): Revert the changes made on
57         2001-11-14 and 2001-11-12. They won't work with directories.
59 2001-11-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
61         * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
62         CFLAGS_FOR_TARGET to runtest in environment.
63         * Makefile.in: Rebuild.
64         * doc/Makefile.in: Rebuild.
66 2001-11-28  Mike Stump  <mrs@wrs.com>
68         * objcopy.c (setup_section): Preserve SEC_RELOC when
69         --set-section-flags is used.
71 2001-11-19  Nick Clifton  <nickc@cambridge.redhat.com>
73         * readelf.c (do_debug_str): New variable.
74         (display_debug_str): New function: Display the contents of a
75         .debug_str section.
76         (load_debug_str): New function: Load in the contents of a
77         .debug_str section.
78         (free_debug_str): New function: Free the memory used by
79         load_debug_str().
80         (fetch_indirect_string): Retrieve a string from the .debug_str
81         section.
82         (usage): Add -ws.
83         (parse_args): Accept -ws.
84         (process_section_headers): Allow the display of the .debug_str
85         section.
86         (read_and_display_attr_value): Use fetch_indirect_string.  Show
87         offset into .debug_str section.
88         (display_debug_info): Use load_debug_str and free_debug_str.
89         (debug_displays): Add .debug_str.
90         * doc/binutils.texi: Document -ws.
92 2001-11-19  Andreas Jaeger  <aj@suse.de>
94         * testsuite/binutils-all/objdump.exp: Add x86-64.
96 2001-11-15  Andreas Schwab  <schwab@suse.de>
98         * readelf.c: Fix warnings without terminating newline.
100 2001-11-15  Alan Modra  <amodra@bigpond.net.au>
102         * doc/binutils.texi (objdump): Document ppc -M options.
104 2001-11-14  Andreas Jaeger  <aj@suse.de>
106         * doc/binutils.texi (objdump): Fix description to use x86-64.
108 2001-11-14  Nick Clifton  <nickc@cambridge.redhat.com>
110         * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
111         not all systems provide mkstemp.
113 2001-11-14  Alan Modra  <amodra@bigpond.net.au>
115         * doc/binutils.texi (objdump): Document x86 -M options.
117 2001-11-13  Keith Walker <keith.walker@arm.com>
119         * readelf.c (read_and_display_attr_value): New function to
120         handle DW_FORM_indirect.
121         (read_and_display_attr): Use it.
123 2001-11-13  Geoffrey Keating  <geoffk@redhat.com>
125         * readelf.c (display_debug_lines): Deal with unknown standard
126         opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
127         DW_LNS_set_isa.
129 2001-11-13  Timothy Wall  <twall@alum.mit.edu>
131         * MAINTAINERS: Add self as tic54x maintainer.  This target
132         includes the IBM C54XDSP clone.
134 2001-11-12  * Steven J. Hill <sjhill@realitydiluted.com>
136         * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
138 2001-11-09  Jeffrey A Law  (law@cygnus.com)
140         * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
141         (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
142         (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
143         (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
144         (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
145         (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
146         (unw_decode_b2, unw_decode_b3_b4): Likewise.
148         * readelf.c (get_elf_class): Fix ISO portability glitch.
149         (get_data_encoding, get_osabi_name, request_dump): Likewise.
151 2001-11-07  Jakub Jelinek  <jakub@redhat.com>
153         * readelf.c (debug_str, debug_str_size): New.
154         (display_debug_abbrev): If no abbrevs were read, skip the CU.
155         Call free_abbrevs.
156         (read_and_display_addr): Handle DW_FORM_strp.
157         (display_debug_info): Read .debug_str section if present,
158         so that DW_FORM_strp can be handled.
159         Fix test for non-existant .debug_abbrev section.
161 2001-11-05  Jakub Jelinek  <jakub@redhat.com>
163         * arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.
165         * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
167 2001-11-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
169         * MAINTAINERS: Add self as s390/s390x maintainer.
171 2001-11-02  Tom Rix  <trix@bluey.cygnus.com>
173         * MAINTAINERS: Add self as PPC XCOFF maintainer.
175 2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
177         * configure.in (ALL_LINGUAS): Add "fr" and "tr".
178         * configure: Regernate.
179         * po/fr.po: New file.
180         * po/tr.po: New file.
182 2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
184         * MAINTAINERS: Add self as MMIX port maintainer.
185         * readelf.c: Include elf/mmix.h.
186         (guess_is_rela): MMIX is RELA.
187         (dump_relocations): Handle MMIX relocations.
188         * Makefile.am: Regenerate dependencies.
189         * Makefile.in: Regenerate.
191 2001-10-13  Nick Clifton  <nickc@cambridge.redhat.com>
193         * readelf.c (parse_args): Handle multiple options to the -w
194         switch.
196 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
198         * readelf.c (get_section_type_name): Don't print SHT_ prefix for
199         LOPROC, LOOS and LOUSER.
201 2001-10-11  J"orn Rennecke <amylaar@onetel.net.uk>
203         * MAINTAINERS: Update my email address.
205 2001-10-03  Alan Modra  <amodra@bigpond.net.au>
207         * doc/Makefile.in: Regenerate.
208         * configure: Regenerate.
210 2001-10-02  Nick Clifton  <nickc@cambridge.redhat.com>
212         * readelf.c (display_debug_line, display_debug_pubnames,
213         display_debug_info, display_debug_frames): Detect and warn
214         about 64-bit format entries.
215         (display_debug_aranges): Reword 64-bit warning.
216         (debug_displays): Add .debug_pubtypes as a known, but not yet
217         supported, debug section.
219 2001-10-02  Alan Modra  <amodra@bigpond.net.au>
221         * coffdump.c (PROGRAM_VERSION): Delete.
222         (main <'V'>): Call print_version.
223         * srconv.c: Likewise.
224         * sysdump.c: Likewise.
225         * version.c (program_version): Remove.
226         (print_version): Use BFD_VERSION_STRING.  Just print the current
227         year in copyright message.
228         * addr2line.c (program_version): Remove unused declaration.
229         * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
230         place of BFD_VERSION.
231         * Makefile.am (Makefile): Depend on bfd/configure.in.
232         (cplus-dem.o): Depend on Makefile.
233         Run "make dep-am".
234         * Makefile.in: Regenerate.
236 2001-10-01  Nick Clifton  <nickc@cambridge.redhat.com>
238         * readelf.c (display_debug_aranges): Detect and warn about DWARF64
239         format .debug_arange sections.
240         (main): Add missing prototype.
242 2001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
244         * Makefile.am: Update dependencies with "make dep-am".
245         * Makefile.in: Regenerate.
247 2001-09-28  Richard Henderson  <rth@redhat.com>
249         * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
251 2001-09-26  Alan Modra  <amodra@bigpond.net.au>
253         * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
254         VA_CLOSE.
255         (non_fatal): Likewise.
256         * objdump.c (objdump_sprintf): Likewise.
257         * readelf.c (error): Likewise.
258         (warn): Likewise.
260 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
262         * readelf.c (do_wide): New.
263         (options): Add --wide.
264         (usage, parse_args): Likewise.
265         (process_program_headers): Put each segment on a single line if
266         --wide is given.
267         (process_section_headers): Put each section on a single line if
268         --wide is given.
269         * doc/binutils.texi: Document it.
270         * NEWS: Likewise.
272 2001-09-25  Alan Modra  <amodra@bigpond.net.au>
274         * readelf.c (print_vma): Print 8 digits of low hex value.
276 2001-09-24  Andreas Jaeger  <aj@suse.de>
278         * nlmconv.c: Fix warnings about unused attributes and function
279         prototypes.
281         * strings.c: Add prototype for get_char.
283 2000-09-19  H.J. Lu  <hjl@gnu.org>
285         * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
286         $(srcdir)/cxxfilt.man.
287         * doc/Makefile.in: Rebuild.
289 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
291         * objcopy.c (copy_main): Correct rename-section string parsing.
292         Consolidate new_name parsing, and error messages.
294 2001-09-18  Bruno Haible  <haible@clisp.cons.org>
296         * addr2line.c: Don't include <ctype.h>.
297         (main): For gettext, also set the LC_CTYPE locate facet.
298         * ar.c (main): Likewise.
299         * coffdump.c (main): Likewise.
300         * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
301         (main): For gettext, also set the LC_CTYPE locate facet.
302         Use ISALNUM instead of isalpha/isdigit.
303         * dllwrap.c: Don't include <ctype.h>.
304         (main): For gettext, also set the LC_CTYPE locate facet.
305         * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
306         (main): For gettext, also set the LC_CTYPE locate facet.
307         Use TOUPPER instead of islower/toupper.
308         * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
309         (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
310         Use TOUPPER instead of islower/toupper.
311         * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
312         * objcopy.c (main): Likewise.
313         * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
314         (disassemble_bytes): Use ISPRINT instead of isprint.
315         (dump_section_stabs): Use ISDIGIT instead of isdigit.
316         (dump_data): Use ISPRINT instead of isprint.
317         (main): For gettext, also set the LC_CTYPE locate facet.
318         * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
319         (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
320         * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
321         Use TOUPPER instead of islower/toupper.
322         * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
323         * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
324         (write_rc_accelerators): Use ISPRINT instead of isprint.
325         (write_rc_rcdata): Likewise.
326         * size.c (main): For gettext, also set the LC_CTYPE locate facet.
327         * srconv.c (main): Likewise.
328         * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
329         (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
330         isdigit/isupper/islower.
331         (parse_stab_string, parse_stab_type, parse_stab_argtypes,
332         parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
333         stab_demangle_prefix, stab_demangle_qualified,
334         stab_demangle_template, stab_demangle_type,
335         stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
336         * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
337         (isgraphic): Use ISPRINT instead of isascii/isprint.
338         (main): Remove HAVE_LC_MESSAGES dependency.
339         * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
340         (pbarray): Use ISPRINT instead of isprint.
341         (main): For gettext, also set the LC_CTYPE locate facet.
342         * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
343         (format_from_filename): Use ISPRINT instead of isprint.
344         (main): For gettext, also set the LC_CTYPE locate facet.
345         * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
346         (unicode_print): Use ISPRINT instead of isprint.
347         * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
348         (stab_variable): Use ISDIGIT instead of isdigit.
350 2001-09-18  Alan Modra  <amodra@bigpond.net.au>
352         * ar.c (print_contents): Cast args of bfd_seek to the right types.
353         Replace bfd_read call with call to bfd_bread.
354         (extract_file): Likewise.
356         * objdump.c (dump_section_header): Cast section->filepos to
357         unsigned long to suit printf format string.
358         * readelf.c (process_section_headers): Similarly for sh_offset.
359         (process_unwind): Likewise.
361 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
363         * strings.c (encoding, encoding_bytes): New variables.
364         (long_options): Add --encoding.
365         (main): Accept -e and --encoding.
366         (get_char): New function.  Read a, possibly wide, character from
367         the input stream.
368         (print_strings): Use get_char().
369         (usage): Document new command line option.
370         * doc/binutils.texi: Document new command line option.
371         * NEWS: Announce new command line option.
373 2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
375         * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
376         get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
377         EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
378         Removed EM_CYGNUS_ARC.
380 2001-09-04  Jeffrey A Law  (law@cygnus.com)
382         * readelf.c: Include elf/h8 for H8 series definitions.
383         (guess_is_rela): H8 series if RELA.
384         (dump_relocations): Handle H8 series relocations.
386 2001-08-31  Eric Christopher  <echristo@redhat.com>
388         * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
390 2001-08-29  Peter Targett  <peter.targett@arccores.com>
392         * MAINTAINERS: Include ARC Maintainer.
394 2001-08-29  Ben Elliston  <bje@redhat.com>
396         * stabs.c (stab_demangle_template): Initialise s4.
398 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
400         * readelf.c (dump_relocations): Recognise EM_PPC64.
402 2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
404         * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
406 2001-08-25  H.J. Lu  <hjl@gnu.org>
408         * nm.c (print_width): New.
409         (display_rel_file): Set `print_width' according to
410         bfd_sprintf_vma.
411         (print_symbol_info_bsd): Check `print_width' instead of BFD64.
413 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
415         * objcopy.c (use_alt_mach_code): New variable.
416         (OPTION_ALT_MACH_CODE): Define.
417         (copy_options): Added --alt-machine-code.
418         (copy_main): Handle it.
419         (copy_object): Switch to alternate machine code if requested.
420         * doc/binutils.texi: Document new option.
421         * NEWS: Likewise.
423 2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
425         * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
427 2001-08-21  H.J. Lu  <hjl@gnu.org>
429         * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
430         (display_debug_info): Cast for 64bit hosts.
431         (display_debug_frames): Likewise.
432         (process_mips_specific): Likewise.
434 2001-08-21  Andreas Jaeger  <aj@suse.de>
436         * coffgrok.h: Add missing parameter for prototype of coff_grok.
438         * sysdump.c: Add missing prototypes.
439         * srconv.c: Likewise.
440         * unwind-ia64.c: Likewise.
441         * coffdump.c: Likewise.
443         * sysinfo.y: Print prototypes, include <ansidecl.h>.
445         * coffgrok.c: Add missing prototypes, include libiberty.h instead
446         of declaring xcalloc.
448 2001-08-10  H.J. Lu  <hjl@gnu.org>
450         * nm.c (print_value): Add one arg, bfd *.
451         (print_value): Replace fprintf_vma with bfd_fprintf_vma.
452         (print_symbol_info_bsd): Also pass `abfd' to print_value ().
453         (print_symbol_info_sysv): Likewise.
454         (print_symbol_info_posix): Likewise.
456         * objdump.c (dump_section_header): Replace printf_vma with
457         bfd_printf_vma.
458         (print_section_stabs): Likewise.
459         (dump_bfd_header): Likewise.
460         (objdump_print_value): Replace sprintf_vma with
461         bfd_sprintf_vma.
462         (disassemble_bytes): Likewise.
463         (dump_reloc_set): Likewise.
465 2001-08-10  Andreas Jaeger  <aj@suse.de>
467         * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
468         to build warnings.
469         * configure: Regenerate.
471 2001-08-09  Alan Modra  <amodra@bigpond.net.au>
473         * readelf.c: Add missing prototypes.
474         * objdump.c: Likewise.  Format existing prototypes.
476 2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
478         * readelf.c (display_debug_info): Add to abbrev_offset the addend
479         of any RELA relocation for the abbrev_offset memory location that
480         refers to the .debug_abbrev section symbol.
482 2001-08-07  H.J. Lu  <hjl@gnu.org>
484         * readelf.c (process_file): Return 0 if OK, otherwise return 1.
485         (main): Return process_file ().
487 2001-08-05  Philip Blundell  <philb@gnu.org>
489         * doc/binutils.texi: Use "Thumb" not "THUMB".
491 2001-08-03  John Healy  <jhealy@redhat.com>
493         Patch suggested by Frank Eigler <fche@redhat.com>.
494         * objdump.c (disassemble_data): Fill in section member of the
495         disasm_info structure.
497 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
499         * configure.in: Added --with-windres option.
500         * configure: Regenerated.
502 2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
504         * doc/binutils.texi: Use @command{name} for commands;
505         use @option{-opt} for options; use @table @env for list of options;
506         remove spaces arround [ | ] in synopsis.
508         * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
509         center title.
511 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
513         * objcopy.c: Fix formatting.
514         (section_rename): New structure.
515         (OPTION_RENAME_SECTION): New switch.
516         (copy_usage): Document new switch.
517         (add_section_rename): New function: Add a node to the section
518         rename list.
519         (find_section_rename): New function: Find the new name and
520         flags for a section.
521         (setup_section): Call find_section_name to determine the name
522         of the output section.
523         (copy_main): Handle OPTION_RENAME_SECTION.
524         * binutils.texi: Document new switch.
525         * NEWS: Mention new switch.
527 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
529         * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
530         * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
531         bug-binutils@gcc.org.
533 2001-07-28  Matthias Kramm  <kramm@quiss.org>
535         * bucomm.c (list_supported_architectures): New function.
536         * bucomm.h (list_supported_architectures): Declare.
537         * objdump.c (usage): Call the above.
539 2001-07-25  Dave Brolley  <brolley@redhat.com>
541         * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
542         (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
544 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
546         * README: Update for 2.11.  Change bug reporting email address.
547         * MAINTAINERS: Tidy up.  Change bug reporting email address.
549 2001-07-16  DJ Delorie  <dj@redhat.com>
551         * resres.c (write_res_header): Align header size.
552         (res_align_file): Calculate alignment correctly.
554         * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
555         correct 10).
556         * resrc.c (write_rc_resource): Likewise.
557         * windres.h (SUBLANG_SHIFT): Define - as 10.
559 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
561         * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
563 2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
565         * MAINTAINERS: Add notes about branch checkins.
567 2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
569         * readelf.c (display_debug_macinfo): New function, display
570         .debug_macinfo section.
571         (do_debug_macinfo): New variable.
572         (parse_args): Handle "-w[mM]" to mean display macro info.
573         (process_section_headers): Handle debug_macinfo.
574         (debug_displays): Replace unsupported function with macinfo
575         function for .debug_macinfo display.
576         * doc/binutils.texi: Document new command line switch.
577         * NEWS: Document new feature of readelf.
579 2001-07-05  H.J. Lu  <hjl@gnu.org>
581         * objcopy.c (filter_symbols): Don't turn undefined symbols
582         into local.
584 2001-07-03  H.J. Lu <hjl@gnu.org>
586         * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
587         $@.pod.
588         (ar.1): Likewise.
589         (dlltool.1): Likewise.
590         (nlmconv.1): Likewise.
591         (nm.1): Likewise.
592         (objcopy.1): Likewise.
593         (objdump.1): Likewise.
594         (ranlib.1): Likewise.
595         (readelf.1): Likewise.
596         (size.1): Likewise.
597         (strings.1): Likewise.
598         (strip.1): Likewise.
599         (windres.1): Likewise.
600         (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
601         ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
602         $(DEMANGLER_NAME).
603         (as.1): Removed.
604         * doc/Makefile.in: Regenerated.
606 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
608         * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
610 2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
612         * readelf.c: Support DWARF 2.1 tags, encodings, languages.
614 2001-06-29  James Cownie <jcownie@etnus.com>
616         * readelf.c: Support DWARF 2.1 attributes.
618 2001-06-28  Alan Modra  <amodra@bigpond.net.au>
620         * readelf.c (GET_DATA_ALLOC): Remove.
621         (GET_DATA): Remove.
622         (get_data): New function combining above macros, with an extra
623         test for zero size.
624         (slurp_rela_relocs): Use get_data, and catch error return.
625         (slurp_rel_relocs): Likewise.
626         (get_32bit_program_headers): Likewise.
627         (get_64bit_program_headers): Likewise.
628         (get_32bit_section_headers): Likewise.
629         (get_64bit_section_headers): Likewise.
630         (get_32bit_elf_symbols): Likewise.
631         (get_64bit_elf_symbols): Likewise.
632         (process_section_headers): Likewise.
633         (process_relocs): Likewise.
634         (slurp_ia64_unwind_table): Likewise.
635         (process_unwind): Likewise.
636         (get_32bit_dynamic_segment): Likewise.
637         (get_64bit_dynamic_segment): Likewise.
638         (process_dynamic_segment): Likewise.
639         (process_version_sections): Likewise.
640         (process_symbol_table): Likewise.
641         (dump_section): Likewise.
642         (display_debug_info): Likewise.
643         (display_debug_section): Likewise.
644         (process_section_contents): Likewise.
645         (process_corefile_note_segment): Likewise.
646         (process_mips_specific): Likewise.  Also free econf32, econf64.
648 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
650         * readelf.c (dump_relocations): Print "bad symbol index" if
651         symtab == NULL with non-zero symtab_index.
652         (process_relocs): Don't bomb if reloc section has no symsec.
654 2001-06-24  H.J. Lu  <hjl@gnu.org>
656         * objcopy.c (strip_main): Revert the change made on 2001-05-30
657         by accident.
658         (copy_main): Apply the the change made to strip_main on
659         2001-05-30 by accident.
661 2001-06-23  Andreas Jaeger  <aj@suse.de>
663         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
664         parameter 'code'.
665         (unw_decode_x2): Likewise.
666         (unw_decode_x3): Likewise.
667         (unw_decode_x4): Likewise.
669 2001-06-23  Ben Elliston  <bje@redhat.com>
671         * MAINTAINERS: Add myself as M88k maintainer.
673 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
675         * objcopy.c (strip_main): Support -o or --output-file command lien
676         switch.
678 2001-06-19  H.J. Lu <hjl@gnu.org>
680         * doc/Makefile.in: Regenerated.
682 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
684         * readelf.c: Restore formatting.
686 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
688         * Makefile.am: Move documentation into doc subdirectory.
689         * Makefile.in: Regenerated.
690         * binutils.texi: Move into doc subdirectory.
691         * addr2line.1: Removed.
692         * ar.1: Likewise.
693         * dlltool.1: Likewise.
694         * nlmconv.1: Likewise.
695         * nm.1: Likewise.
696         * objcopy.1: Likewise.
697         * objdump.1: Likewise.
698         * ranlib.1: Likewise.
699         * readelf.1: Likewise.
700         * size.1: Likewise.
701         * strings.1: Likewise.
702         * strip.1: Likewise.
703         * windres.1: Likewise.
704         * cxxfilt.man: Likewise.
705         * doc: New Directory.
706         * doc/Makefile.am: New file.
707         * doc/Makefile.in: Generate.
709 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
711         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
713 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
715         * MAINTAINERS: Update my email address.
717 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
719         * objcopy.c: Add new switches: --keep-global-symbol,
720         --keep-symbols, --localize-symbols, --keep-global-symbols and
721         --weaken-symbols.
722         * binutils.texi: Document new switches.
723         * objcopy.1: Regenerate.
724         * NEWS: Announce new feature.
726 2001-05-28  Andreas Jaeger  <aj@suse.de>
728         * readelf.c (display_debug_frames): Fix warnings: Remove unused
729         variables, fix format strings.
731 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
733         * objdump.c (disassemble_bytes): Remove section VMA adjustment
734         when computing the address of the line to show.
736 2001-05-16  Richard Henderson  <rth@redhat.com>
738         * readelf.c (do_debug_frames_interp): New.
739         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
740         (byte_get_big_endian): Likewise.
741         (parse_args) ['F']: Set do_debug_frames_interp.
742         (Frame_Chunk): Make data_factor signed, add fde_encoding.
743         (frame_display_row): Don't trunc pc_begin to int.
744         (size_of_encoded_value): New.
745         (display_debug_frames): Handle 64-bit targets.  Print raw data
746         unless do_debug_frames_interp.
747         (debug_displays): Remove duplicate .debug_frame.
749 2001-05-15  Ralf Baechle  <ralf@gnu.org>
751         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
752         The former constant was never in active use and is used otherwise
753         by the ABI.
755 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
757         * readelf.c (process_unwind): Print all unwind sections, not just
758         one.
760 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
762         * readelf.c (process_unwind): Remove const specifier.
764 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
766         * strings.c (isgraphic): Do not use isascii() unless it is needed
767         for isprint() to work.
768         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
770 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
772         * NEWS: Announce support for OpenRISC.
774 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
776         * dlltool.c (do_default_excludes): Initialise to true.
778 2001-04-10  Alan Modra  <amodra@one.net.au>
780         * MAINTAINERS: Update my email address
781         * nm.c (print_symbol_info_bsd): Use a simple printf string.
783 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
785         * readelf.c (display_debug_lines): Fix typo for "Prologue".
787 2001-03-30  H.J. Lu  <hjl@gnu.org>
789         * readelf.c (process_unwind): Just return if do_unwind is 0.
791 2001-03-28  Roger Sayle  <roger@metaphorics.com>
793         * dlltool.c (make_one_lib_file): Fix section flags for
794         .text, .data and .bss in stub ds*.o files to match those
795         generated by gas.
797 2001-03-29  H.J. Lu  <hjl@gnu.org>
799         * readelf.c (process_unwind): Only do unwind sections for
800         IA64.
802 2001-03-28  H.J. Lu  <hjl@gnu.org>
804         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
805         * Makefile.in: Regenerate.
807 2001-03-26  Andreas Jaeger  <aj@suse.de>
809         * binutils.texi (nm): Fix texi syntax.
811 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
813         * binutils.texi: Put @c man begin and @c man end indications
814         to generate man pages using texi2pod and pod2man. Put @c man title
815         to identify each man. Add SEEALSO entries.
816         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
817         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
818         sort the list.
819         (*.1): Build the man pages from binutils.texi.
820         * Makefile.in: Regenerate.
822 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
824         * defparse.y (opt_equal_name): allow "." in name.
825         * dlltool.c (def_exports): Added ability to generate forwarded exports.
826         (gen_exp_file): Likewise.
828 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
830         * NEWS: Document addition of -B switch to objcopy.
831         * binutils.texi:  Document addition of -B switch to objcopy.
832         * objcopy.c: (copy_options): Add --binary-architecture.
833         (copy_usage): Document -B/--binary-architecture.
834         (copy_main): Support -B/--binary-architecture.  Set
835         bfd_external_binary_architecture.
837 2001-03-11  Andreas Jaeger  <aj@suse.de>
839         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
840         (dump_relocations): Likewise.
841         (get_machine_name): Likewise.
843 2001-02-28  Nick Clifton  <nickc@redhat.com>
845         * readelf.c: (struct unw_aux_info): Remove const modifier for
846         'strtab' field.
847         (process_unwind): Remove non-K&R compliant LHS type cast in call
848         to GET_DATA_ALLOC macro.
850 2001-02-28  Philip Blundell  <pb@futuretv.com>
852         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
853         ABI is in use; remove ambiguity between the "unknown" EABI and
854         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
855         renamed EF_xx constants.
857 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
859         * configure.in (BFD_VERSION): New.
860         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
861         * configure: Regenerate.
862         * Makefile.am: Run "make dep-am"
863         * Makefile.in: Regenerate.
865 2001-02-14  Nick Clifton  <nickc@redhat.com>
867         * MAINTAINERS: Add "Obvious Fix" rule.
869 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
871         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
872         literal concatenation.
874 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
876         * readelf.c (struct unw_aux_info): Remove const from the info member.
877         (process_unwind): Don't type-cast the third argument to the
878         GET_DATA_ALLOC macro.
880 2001-02-11  Nick Clifton  <nickc@redhat.com>
882         * readelf.c (dump_relocations): Free corrected allocated
883         array.
884         (process_unwind): Fix compile time warning.
886 2001-02-10  Nick Clifton  <nickc@redhat.com>
888         * binutils.texi: Document new --unwind option to readelf.
890 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
892         * readelf.c: Add linux target for S/390.
894 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
896         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
897         printf is a macro.
899 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
901         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
902         * aclocal.m4: Regenerate.
903         * configure: Regenerate.
905 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
907         * bucomm.c (bfd_target_vector): Change extern array to pointer.
908         * objdump.c (bfd_target_vector): Likewise.
910 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
912         * readelf.c (process_unwind): New function.
913         (slurp_ia64_unwind_table): Ditto.
914         (dump_ia64_unwind): Ditto.
915         (find_symbol_for_address): Ditto.
916         (slurp_rela_relocs): New function (split off from dump_relocations()).
917         (slurp_rel_relocs): Ditto.
918         (parse_args): Handle '-u' option.
920         * unwind-ia64.c: New file.
921         * unwind-ia64.h: New file.
922         * Makefile.am: Include unwind-ia64.c in readelf build.
923         * Makefile.in: Regenerate.
924         * po/binutils.pot: Regenerate.
926 2001-02-04  Philip Blundell  <philb@gnu.org>
928         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
929         * configure: Regenerate.
931 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
933         * ieee.c (ieee_add_bb11): Don't check for backslashes
934         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
936 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
938         * ieee.c: Update copyright.
939         (ieee_start_compilation_unit): Don't check for backslashes
940         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
942         * stabs.c: Update copyright. Include "filenames.h".
943         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
945 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
947         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
948         sections are present before using them.  Remove code duplication.
949         (process_symbol_table): Check if VERDEF or VERNEED sections are
950         present before using them.
952 2001-01-17  Nick Clifton  <nickc@redhat.com>
954         * objcopy.c (copy_object): Fail if attempting to convert the
955         endianness of the input object file.
957         * binutils.texi: Explain that objcopy cannot convert endianness.
959 2001-01-16  Nick Clifton  <nickc@redhat.com>
961         * readelf.c (string_table_length): New variable.
962         (SECTION_NAME): Catch out of range indices and missing section
963         pointers.
964         (process_section_headers): Delete useless local variable
965         string_table_offset.  Set the value of string_table_length
966         after loading the string table.
967         (process_mips_specific): Use SECTION_NAME macro.
968         (process_file): Set string_table_length to 0 when it is freed.
970 2001-01-12  Nick Clifton  <nickc@redhat.com>
972         * version.c (print_version): Update copyright date.
974 2001-01-11  Peter Targett  <peter.targett@arccores.com>
976         * readelf.c (dump_relocations): Include selection with EM_ARC.
977         (get_machine_name) Update name to "ARC".
979 2001-01-09  Nick Clifton  <nickc@redhat.com>
981         * Makefile.am: Add rule to build objdump.o from objdump.c and
982         using OBJDUMP_DEFS.
983         * Makefile.in: Regenerate.
985         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
986         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
987         -DDISASSEMBLER_NEEDS_RELOCS.
988         * configure: Regenerate.
990         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
991         is defined read in the relocs even if dump_reloc_info is
992         false.
994 2001-01-07  Philip Blundell  <philb@gnu.org>
996         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
997         `bug-binutils'.
998         * README: Likewise.
1000 2000-12-19  Nick Clifton  <nickc@redhat.com>
1002         * dlltool.c: Add missing support for arm-epoc-pe.
1003         * configure.in: Add missing support for arm-epoc-pe.
1004         * configure: Regenerate.
1006 2000-12-15  Nick Clifton  <nickc@redhat.com>
1008         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1009         Mode parts of the x86 port.
1011 2000-12-04  Andreas Jaeger  <aj@suse.de>
1013         * readelf.c (guess_is_rela): Add EM_X86_64.
1014         (dump_relocations): Add EM_X86_64.
1015         (get_machine_name): Add EM_X86_64.
1016         Include "elf/x86-64.h".
1018 2000-12-12  Nick Clifton  <nickc@redhat.com>
1020         * readelf.c: Fix formatting.
1022 2000-12-11  Jan Hubicka  <jh@suse.cz>
1024         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1026 2000-12-07  Andrew Haley  <aph@redhat.com>
1028         * readelf.c (display_debug_frames): Only display columns that are
1029         referenced by the frame debug info.
1031 2000-12-05  Nick Clifton  <nickc@redhat.com>
1033         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1035 2000-12-04  Jason Merrill  <jason@redhat.com>
1037         * readelf.c (process_section_headers): Handle linkonce.wi sections.
1038         (display_debug_section): Likewise.
1039         (display_debug_info): Display CU header before bailing.
1041 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
1043         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1044         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
1045         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1047         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1048         and E_MIPS_ARCH_64.
1050         * readelf.c (get_machine_flags): Add case for
1051         E_MIPS_MACH_SB1.
1053 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
1055         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1057 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
1059         * MAINTAINERS: Add J�örn Rennecke and self as SH maintainers.
1060         Change sourceware.cygnus.com to sources.redhat.com.
1061         Fix typo for "amongst".
1063 2000-11-28  Nick Clifton  <nickc@redhat.com>
1065         * strip.1 (COPYING): Mention that the GNU Free Documentation
1066         License is present in the sources, but not the output, and
1067         also available from the GNU website.
1068         (GNU Free Documentation License): Comment out this section.
1069         * strings.1: Ditto.
1070         * size.1: Ditto.
1071         * ranlib.1: Ditto.
1072         * objdump.1: Ditto.
1073         * objcopy.1: Ditto.
1074         * nm.1: Ditto.
1075         * nlmconv.1: Ditto.
1076         * ar.1: Ditto.
1077         * addr2line.1: Ditto.
1079 2000-11-27  DJ Delorie  <dj@redhat.com>
1081         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1082         (parse_args): Support -wf option.
1083         (process_section_headers): Ditto.
1084         (debug_displays): Ditto.
1085         (display_debug_frames): New, dump *_frame sections.
1086         (frame_need_space): Support for above.
1087         (frame_display_row): Ditto.
1088         * binutils.texi: Document it.
1090 2000-11-24  Nick Clifton  <nickc@redhat.com>
1092         * NEWS: Announce support for v5t, v5te and XScale.
1094 2000-11-22  Nick Clifton  <nickc@redhat.com>
1096         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1097         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1098         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1099         (get_elf_section_flags: Add SHF_GROUP.
1100         (process_section_headers): Adjust output for 32-bit binaries
1101         to look nice on an 80 column terminal.
1103 2000-11-20  H.J. Lu  <hjl@gnu.org>
1105         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1106         ELFOSABI_AIX.
1108 2000-11-17  Richard Henderson  <rth@redhat.com>
1110         * readelf.c (display_debug_lines): Adjust last change to
1111         use sizeof (external->li_length).
1113 2000-11-17  Richard Henderson  <rth@redhat.com>
1115         * readelf.c (display_debug_lines): Fix section length check
1116         and end_of_sequence computation.
1118 2000-11-06  Nick Clifton  <nickc@redhat.com>
1120         * binutils.texi: Add GNU Free Documentation License.
1121         * objcopy.1: Add GNU Free Documentation License.
1122         * objdump.1: Add GNU Free Documentation License.
1123         * addr2line.1: Add GNU Free Documentation License.
1124         * ar.1: Add GNU Free Documentation License.
1125         * nlmconv.1: Add GNU Free Documentation License.
1126         * nm.1: Add GNU Free Documentation License.
1127         * ranlib.1: Add GNU Free Documentation License.
1128         * size.1: Add GNU Free Documentation License.
1129         * strings.1: Add GNU Free Documentation License.
1130         * strip.1: Add GNU Free Documentation License.
1132 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
1134         * objcopy.c (--srec-len=nn): New parameter to set the
1135         maximum length of generated Srecords.
1136         (--srec-forceS3): New parameter that restricts the generation of
1137         Srecords to type S3 only.
1138         * binutils.texi: Document new command line switches.
1139         * objcopy.1: Docuemnt the new command line switches.
1140         * NEWS: Announce the existence of the new command line switches.
1142 2000-10-31  Nick Clifton  <nickc@redhat.com>
1144         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1145         code.  Add Eric Chrisopher as maintainer of MN10300 port.
1147 2000-10-12  Roger Sayle  <roger@metaphorics.com>
1149         * Make comma after string after icon/control optional.
1151 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
1153         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1155         * NEWS: Mention support for MIPS32.
1157 2000-09-08  Nick Clifton  <nickc@redhat.com>
1159         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1161 2000-09-07  H.J. Lu  <hjl@gnu.org>
1163         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1164         * configure: Rebuild.
1166 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
1168         * configure: Rebuilt with new libtool.m4.
1170 2000-09-05  Nick Clifton  <nickc@redhat.com>
1172         * aclocal.m4: Regenerate.
1173         * config.in: Regenerate.
1174         * configure: Regenerate.
1176 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
1178         * strip.1: Fix stray '\' in -o formatting.
1180 2000-09-02  Nick Clifton  <nickc@redhat.com>
1182         * configure.in: Increase version number to 2.10.91.
1183         * configure: Regenerate.
1184         * aclocal.m4: Regenerate.
1185         * config.in: Regenerate.
1186         * po/binutils.pot: Regenerate.
1188 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
1190         * acinclude.m4: Include libtool and gettext macros from the
1191         top level.
1192         * aclocal.m4, configure: Rebuilt.
1194 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
1196         * resrc.c (close_input_stream): Delete extraneous logic
1198 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
1200         * NEWS: Mention support for CRIS.
1202 2000-08-21  Nick Clifton  <nickc@redhat.com>
1204         * addr2line.c: Changed email address for Ulrich Lauther.
1206 2000-08-17  Christopher C. Chimelis <chris@debian.org>
1208         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1210 2000-08-17  Nick Clifton  <nickc@redhat.com>
1212         * readelf.c (display_debug_pubnames): Only issue warning
1213         message once.  Terminate message with a new line.
1214         (display_debug_aranges): Only display version 2 debug info.
1216 2000-08-14  Todd Vierling <tv@wasabisystems.com>
1218         * objcopy.c (strip_main): Silently accept -d as an alias for -g
1219         for compatability with old BSD systems.
1221 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
1223         * NEWS: Mention i860 support.
1225 2000-08-11  Carlo Wood <carlo@alinoe.com>
1227         * addr2line.c (main): Add const to char *.
1229 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
1231         * ar.c (main): Don't crash if called with no arguments
1232         or only '-X32_64' as an argument.
1234 2000-08-08  DJ Delorie  <dj@redhat.com>
1236         * resrc.c: use "gcc -xc" instead of -xc-header
1238 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
1240         * readelf.c (elf/i860.h): Include.
1241         (dump_relocations): Add recognition of i860 architecture.
1242         (guess_is_rela): Add recognition of i860 architecture.
1244 2000-08-03  Nick Clifton  <nickc@cygnus.com>
1246         * MAINTAINERS: Add information about CGEN maintainers.
1248 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
1250         * nm.c (main): Ignore '-X32_64' as an option.
1251         * ar.c (main): Likewise.
1252         * binutils.texi (nm): Document new option.
1253         (ar): Likewise.
1255 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1257         * rdcoff.c (external_coff_symbol_p): K&R-ise.
1259 2000-07-20  H.J. Lu  <hjl@gnu.org>
1261         * binutils.texi: Put back "@end table" deleted by
1262         accident.
1264 2000-07-05  Kenneth Block  <krblock@computer.org>
1266         * nm.c: Add optional style to demangle switch.
1267         * objdump.c: Add optional style to demangle switch.
1268         * addr2line.c: Add optional style to demangle switch.
1269         * binutils.texi: Document optional style to demangle
1270         switch.
1272 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
1274         * MAINTAINERS: Add self as CRIS port maintainer.
1275         * readelf.c: Include elf/cris.h.
1276         (guess_is_rela): Handle EM_CRIS.
1277         (dump_relocations): Ditto.
1278         (get_machine_name): Ditto.
1279         * Makefile.am: Rebuild dependencies.
1280         * Makefile.in: Regenerate.
1281         * po/binutils.pot: Regenerate.
1283 2000-07-19  H.J. Lu  <hjl@gnu.org>
1285         * readelf.c (get_dynamic_type): Change "AUXILARY" to
1286         "AUXILIARY".
1287         (process_dynamic_segment): Print out strings for DT_CONFIG,
1288         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1290 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
1292         * nm.c (usage): Change output of `nm --help' to include a
1293         description of the purpose of the program and a detailed
1294         description of the accepted options.
1296 2000-07-19  H.J. Lu  <hjl@gnu.org>
1298         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1299         to DF_1_NODEFLIB.
1301 2000-07-19  H.J. Lu  <hjl@gnu.org>
1303         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1305 2000-07-19  H.J. Lu  <hjl@gnu.org>
1307         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1308         DT_FEATURE.
1309         (process_dynamic_segment): Likewise.
1311         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1312         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1313         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1314         DF_1_NODUMP and DF_1_CONLFAT.
1316 2000-07-18  Nick Clifton  <nickc@cygnus.com>
1318         * binutils.texi (readelf): Fix spelling typo.
1320 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
1322         * objdump.c (usage): Make output of `objdump --help' more
1323         consistent with the rest of the GNU world.  Add a line describing
1324         the purpose of the program.
1326 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
1328         * stabs.c (parse_stab_range_type): Cast to proper type to fix
1329         warning.
1331 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
1333         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1334         to fix warnings.
1335         (process_symbol_table): Ditto.
1336         (procesS_extended_line_op): Ditto.
1337         (display_debug_lines): Ditto.
1338         (display_debug_pubnames): Ditto.
1339         (read_and_display_attr): Ditto.
1341 2000-07-09  Nick Clifton  <nickc@cygnus.com>
1343         * MAINTAINERS: Add several more port specific maintainers.
1345 2000-07-05  Nick Clifton  <nickc@cygnus.com>
1347         * MAINTAINERS: Add blanket write privs for Michael Meissner.
1349 2000-06-05  DJ Delorie  <dj@redhat.com>
1351         * MAINTAINERS: New.
1353 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
1355         * dllwrap.c: Changed mistaken dyn_string_append() calls
1356         to dyn_string_append_cstr().
1358 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
1360         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1361         struct debug_type stores size in bytes.
1363 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
1365         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
1366         (CLEANFILES): Add DEPA.
1367         * Makefile.in: Regenerate.
1369 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
1371         * ar.c: Revert incorrect 2000-06-25 patch.
1372         * bucomm.c: Likewise.
1374 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1376         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1377         (external_coff_symbol_p): New function.
1378         (parse_coff): Use it.
1380 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
1382         * ar.c (normalize): Advance past both characters in a DOS based
1383         <letter>: filepath prefix.
1384         (main): Likewise.
1385         * bucomm.c (make_tempname): Likewise.
1387 2000-06-24  Nick Clifton  <nickc@cygnus.com>
1389         * objdump.c (usage): Fix description of --stabs switch.
1391 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
1393         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1394         find one.
1395         * Makefile.in: Regenerate.
1397 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
1399         * ar.c (normalize): Correct pointer comparison when checking for
1400         backslashes.
1401         (main): Likewise.
1402         * bucomm.c (make_tempname): Likewise.
1404         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1405         and search for backslashes in the original pathname.
1406         (ieee_add_bb11): Likewise.
1408 2000-06-18  Nick Clifton  <nickc@redhat.com>
1410         * ar.c (print_contents): Improve verbose message.
1412 2000-06-15  H.J. Lu  <hjl@gnu.org>
1414         * dyn-string.c: Removed. Not needed with dyn-string.c in
1415         libiberty.
1416         * dyn-string.h: Likewise.
1418         * Makefile.am: Remove references to dyn-string.c and
1419         dyn-string.h. Rebuild dependency.
1420         * Makefile.in: Rebuild.
1422 2000-06-15  H.J. Lu  <hjl@gnu.org>
1424         * binutils.texi: Put a warning on copying relocatable object
1425         files between two different formats.
1427 2000-06-13  DJ Delorie  <dj@cygnus.com>
1429         * rcparse.y (control): ICON controls take an id as the first
1430         parameter, not an optional string.  Also, call new convenience
1431         function that takes res_id's.
1432         * resrc.c (define_control): missing text means zero-length string,
1433         not zero ID.
1434         (define_icon_control): New.
1435         * windres.h: declare define_icon_control.
1437 2000-06-13  H.J. Lu  <hjl@gnu.org>
1439         * configure: Regenerate.
1441 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
1443         * configure.in (VERSION): Update to show this is the CVS mainline.
1445 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
1447         * strings.c (isgraphic): Interpret <TAB> as a printable character,
1448         analogous to <SPACE>.
1450 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
1452         * objdump.c (display_target_list): Use bfd_close_all_done, not
1453         bfd_close to fix crash caused by 2000-05-24 change.
1455 2000-05-25  DJ Delorie  <dj@cygnus.com>
1457         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1459 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
1461         * Makefile.am: Update dependencies with "make dep-am"
1462         * Makefile.in: Regenerate.
1464 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
1466         * ar.c: Include filenames.h.
1467         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1468         and drive letters in file names.
1469         (main): Support backslashes and drive letters in argv[0].  Drop
1470         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
1471         FILENAME_CMP instead of strcmp to compare file names.
1472         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1473         DJGPP v2.
1474         (do_quick_append) [__GO32__]: Ditto.
1475         (get_pos_bfd, delete_members, move_members, replace_members):
1476         Compare file names with FILENAME_CMP.
1478         * bucomm.c: Include filenames.h.
1479         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1480         forward/backward slashes and drive letters in file names.
1482         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1483         mixed forward/backward slashes and drive letters in file names.
1485         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1486         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1487         mode.
1489         * objcopy.c: Include filenames.h.
1490         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1491         before comparing to "strip".
1492         Use FILENAME_CMP to compare file names.
1494         * arsup.c: Include filenames.h.
1495         (map_over_list, ar_delete, ar_replace, ar_extract): Use
1496         FILENAME_CMP to compare file names.
1497         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1498         the temporary file name.
1500         * configure.in: Check for setmode.
1501         * configure: Regenerate.
1503 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
1505         * objdump.c (display_target_list): Close the bfd.
1506         (display_info_table): Likewise.
1508 2000-05-14  H.J. Lu  (hjl@gnu.org)
1510         * objcopy.c (filter_symbols): Don't strip global symbols in
1511         relocatable object files.
1513 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
1515         * size.c (usage): Associate short options with corresponding long
1516         option to give a clue as to their function.
1518 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
1520         * size.c (main): Accept and ignore `-f' option.
1522 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
1524         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1525         bindtextdomain): Replace defines with those from intl/libgettext.h
1526         to quieten gcc warnings.
1528 2000-05-12  H.J. Lu  <hjl@gnu.org>
1530         * nlmconv.c (temp_filename): Removed.
1532         * nlmconv.c (link_inputs): Use make_temp_file () instead of
1533         choose_temp_base ().
1534         * objdump.c (display_target_list): Likewise.
1535         (display_info_table): Likewise.
1537 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
1539         * objcopy.c (setup_section): Add const and gettext calls for err.
1541 2000-05-02  H.J. Lu  <hjl@gnu.org>
1543         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1544         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1545         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1546         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1547         and ELFOSABI_OPENBSD.
1549 2000-05-02  Kazu Hirata  <kazu@hxi.com>
1551         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1552         * srconv.c: Likewise.
1553         * sysdump.c: Likewise.
1555 2000-04-23  Denis Chertykov  <denisc@overta.ru>
1557         * readelf.c (guess_is_rela): AVR uses RELA relocations.
1558         (get_machine_name): machine name for EM_AVR added.
1560 2000-04-21  Richard Henderson  <rth@cygnus.com>
1561             David Mosberger  <davidm@hpl.hp.com>
1563         * Makefile.am (readelf.o): Add elf/ia64.h.
1564         * Makefile.in: Rebuild.
1565         * readelf.c: Include elf/ia64.h.
1566         (guess_is_rela, dump_relocations): Handle EM_IA_64.
1568 2000-04-17  Timothy Wall  <twall@cygnus.com>
1570         * objdump.c (disassemble_data): Set octets per byte *after*
1571         resolving arch/mach for binary files.
1573 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1575         * arlex.l: Add directives to increase lex buffer size.
1577         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1578         already included by bucomm.h.
1580 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
1582         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1583         `strftime' since strftime is not available on all systems.
1584         (process_mips_specific): Ditto.
1586 2000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
1588         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
1589         --enable-build-warnings option.
1590         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1591         * Makefile.in, configure: Re-generate.
1593 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
1595         * addr2line.c: Update copyright.
1596         * objcopy.1: Likewise, and title.
1597         * strings.1: Likewise.
1599         * version.c (print_version): Add 2000.
1601         * rddbg.c (read_section_stabs_debugging_info): Don't use
1602         bfd_size_type for strx to avoid printf problems if BFD64.
1604         * bucomm.c: (report): Remove `static'.
1605         Move inclusion of stdarg.h/vararg.h from here.
1606         * bucomm.h: To here.
1607         (CONST): Change all occurences to const.
1608         (report): Declare it.
1609         (bfd_fatal): Add ATTRIBUTE_NORETURN.
1610         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1611         (non_fatal): Add ATTRIBUTE_PRINTF_1.
1613         * ar.c (main): Use fatal or non_fatal instead of fprintf.
1614         Correct a typo in an error message.
1615         (do_quick_append): Use non_fatal instead of fprintf.
1616         (move_members): Use fatal instead of fprintf, exit.
1617         * coffdump.c (main): Same here.
1619         * dlltool.c (display): Delete.
1620         (warn): Delete.
1621         (inform): Use `report' instead of `display'.
1622         (rvaafter): Remove trailing \n from fatal error msg.
1623         (rvabefore): Ditto.
1624         (asm_prefix): Ditto.
1625         (yyerror): Replace `warn' with `non_fatal', and remove \n.
1626         (def_name): Likewise.
1627         (run): Likewise.
1628         (scan_all_symbols): Likewise.
1629         (gen_lib_file): Likewise.
1630         (def_library): Likewise.  Remove extra program_name too.
1631         (run): Remove \n from inform strings.
1632         (scan_drectve_symbols): Likewise.
1633         (add_excludes): Likewise.
1634         (scan_open_obj_file): Likewise.
1635         (gen_exp_file): Likewise.
1636         (gen_lib_file): Likewise.
1637         (process_duplicates): Likewise.
1639         * Makefile.am (dllwrap_SOURCES): Add version.c.
1640         * dllwrap.c (program_version): Delete.
1641         (print_version): Delete.
1642         (display): Always print trailing \n.
1643         (warn): New.
1644         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
1645         (run): Here too.
1646         (main): And here.
1647         (usage): gettext'ify.
1648         (long_options): Add missing initialisers.
1650         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1651         (select_output_format): Likewise.
1652         (powerpc_mangle_relocs): Likewise.
1653         (link_inputs): Likewise.
1655         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1656         (set_output_format): Likewise.
1657         (main): Use non_fatal instead of fprintf.
1658         (display_rel_file): Likewise.
1660         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1661         (slurp_dynamic_symtab): Same here.
1662         (disassemble_data): And here.
1663         (read_section_stabs): And here.
1664         (read_section_stabs): And here.
1665         (dump_bfd): And here.
1666         (main): And here.
1667         (objdump_sprintf): Use fatal instead of fprintf, exit.
1668         (disassemble_data): Same here.
1670         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1671         (parse_coff_struct_type): Same here.
1672         (parse_coff_enum_type): And here.
1673         (parse_coff): And here.
1674         * rddbg.c (read_debugging_info): And here.
1675         * size.c (main): And here.
1676         * windres.c (format_from_name): And here.
1677         * wrstabs.c (stab_write_symbol): Here too.
1678         (write_stabs_in_sections_debugging_info): And here.
1679         (stab_int_type): And here.
1680         (stab_struct_field): And here.
1681         (stab_typdef): And here.
1683         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1684         * srconv.c (main): Same here.
1685         * strings.c (main): And here.
1686         (integer_arg): And here.
1687         * sysdump.c (main): And here.
1689 2000-04-06  Timothy Wall  <twall@cygnus.com>
1691         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1693 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
1695         * readelf.c (decode_location_expression): Loop through multiple
1696         operations.
1697         (read_and_display_attr): Pass in length.
1699         * readelf.c (read_and_display_attr): Add CU offset to references.
1700         (display_debug_info): Pass it in.
1702 2000-04-06  Nick Clifton  <nickc@cygnus.com>
1704         * readelf.c (decode_ARM_machine_flags): New function.
1705         (get_machine_flags): Call decode_ARM_machine_flags for ARM
1706         targets.
1708         (get_machine_name): Catch EM_AVR
1710 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
1712         * binutils.texi: Remove optional `=' from long options that have
1713         an `=' in the argument.
1714         * objcopy.1: Here too.  Remove extra space on discard-all.
1716         * binutils.texi (objcopy): Mention --redefine-sym.
1717         * objcopy.1: Here too.
1718         * NEWS: And here.
1720         * objcopy.c (parse_flags): Split off flag names from error message
1721         gettext as they are not translated.
1722         (copy_main): Similarly split off option name for --add-section,
1723         --set-section-flags, --change-section-vma, --change-section-lma
1724         error messages.
1725         Some white space changes.
1727         from Matthew Benjamin <matt@linuxbox.nu>
1728         * objcopy.c (struct redefine_node): New.
1729         (redefine_sym_list): New.
1730         (redefine_list_append): New.
1731         (lookup_sym_redefinition): New.
1732         (OPTION_REDEFINE_SYM): New.
1733         (copy_options): Add --redefine-sym option.
1734         (copy_usage): Mention it.
1735         (filter_symbols): Rename symbols on redefine_sym_list.
1736         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
1737         (copy_main): Handle OPTION_REDEFINE_SYM.
1739 2000-04-04  H.J. Lu  <hjl@gnu.org>
1741         * readelf.c (process_symbol_table): Correctly read in symbol
1742         versioning information.
1744 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
1746         * po/binutils.pot: Regenerate.
1748         * addr2line.c (usage): Restore translated part of bug string.
1749         * ar.c (usage): Likewise.
1750         * nlmconv.c (show_usage): Likewise.
1751         * nm.c (usage): Likewise.
1752         * objcopy.c (copy_usage): Likewise.
1753         (strip_usage): Likewise.
1754         * objdump.c (usage): Likewise.
1755         * readelf.c (usage): Likewise.
1756         * size.c (usage): Likewise.
1757         * strings.c (usage): Likewise.
1758         * windres.c (usage): Likewise.
1760         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1761         (DEP): Quote when passing vars to sub-make.  Add warning
1762         message to end.
1763         (DEP1): Rewrite for "gcc -MM".
1764         (CLEANFILES): Add DEP2.
1765         Update dependencies.
1766         * Makefile.in: Regenerate.
1768 2000-04-04  H.J. Lu  <hjl@gnu.org>
1770         * Makefile.am (GENERATED_HFILES): Add rcparse.h
1771         (arparse.h): Depend on arparse.c
1772         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
1774 2000-04-03  H.J. Lu  (hjl@gnu.org)
1776         * size.c (usage): Use REPORT_BUGS_TO.
1778 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
1780         * bucomm.h: #include "bin-bugs.h"
1781         * addr2line.c (usage): Use REPORT_BUGS_TO.
1782         * ar.c (usage): Likewise.
1783         * nlmconv.c (show_usage): Likewise.
1784         * nm.c (usage): Likewise.
1785         (OPTION_TARGET): Define.
1786         (long_options): Use OPTION_TARGET rather than 200.
1787         (main): Likewise.
1789         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
1790         (strip_usage): Likewise.
1791         * objdump.c (usage): Likewise.
1792         * readelf.c (usage): Likewise.
1793         * strings.c (usage): Likewise.
1794         * windres.c (usage): Likewise.
1796 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1798         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
1800 2000-03-27  Nick Clifton  <nickc@cygnus.com>
1802         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
1803         string offsets in corrupt stabs entries.
1805 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
1807         * readelf.c: Include elf/avr.h
1808         (dump_relocations): Add EM_AVR case.
1810 2000-03-09  Tim Waugh  <twaugh@redhat.com>
1812         * strings.1: Correct '-bytes' to '--bytes'.
1814 2000-03-08  H.J. Lu  <hjl@gnu.org>
1816         * Makefile.am (install-exec-local): Depend on
1817         install-binPROGRAMS for parallel make.
1818         * Makefile.in: Regenerated.
1820 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
1822         From Brad Lucier <lucier@math.purdue.edu>:
1823         * readelf.c (process_dynamic_segment): Add cast to make sure
1824         argument to %* is int.
1826 2000-02-25  H.J. Lu  <hjl@gnu.org>
1828         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
1830 2000-02-24  Nick Clifton  <nickc@cygnus.com>
1832         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
1833         * configure: Regenerate.
1835         * dlltool.c: Add support for sh-pe and mips-pe targets.
1836         * rescoff.c: Add support for sh-pe and mips-pe targets.
1838 2000-02-23  H.J. Lu  <hjl@gnu.org>
1840         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1842 2000-02-22  Nick Clifton  <nickc@cygnus.com>
1844         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1846 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
1848         From Brad Lucier <lucier@math.purdue.edu>:
1849         * readelf.c (process_version_sections): Add casts to make sure
1850         argument to %* is an int.
1851         (process_mips_specific): Add casts to make printf arguments match
1852         format.
1854 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
1856         * objdump.c (dump_section_header): Change `opb' to unsigned.
1857         (find_symbol_for_address): Same here.
1858         (disassemble_data): And here.  Change `addr_offset',
1859         `stop_offset', `nextstop_offset' to unsigned long.
1860         (dump_data): Change opb to unsigned.
1862 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
1864         * resrc.c: Remove unmatched #if for cygwin.
1866 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1868         * binutils.texi: Document the change of flavor name from atpcs-special
1869         to special-atpcs to prevent name conflict in gdb.
1871 2000-02-08  Timothy Wall  <twall@redhat.com>
1873         * objdump.c (show_line): Fix bug preventing printing of the very
1874         first line (line zero) of a file when interlisting source and
1875         assembly.  Added option to print entire context from start of file
1876         when the first line from that file is encountered.
1878 2000-02-03  Timothy Wall <twall@redhat.com>
1880         * objdump.c (dump_section_header, find_symbol_for_address,
1881         show_line, disassemble_bytes, disassemble_data, dump_data):
1882         distinguish between octets and bytes.
1884 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
1886         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1887         check to unresolved symbols.
1888         (print_symbol_info_sysv):  Ditto.
1889         (print_symbol_info_posix):  Ditto.
1891         * binutils.texi: Document new 'V' symclass flag for nm.
1893 2000-01-27  Nick Clifton  <nickc@redhat.com>
1895         * binutils.texi (objdump): Document new ARM specific
1896         disassembler options.
1898         * objdump.c (usage): Call disassembler_usage().
1900 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
1902         * readelf.c (get_dynamic_flags): Return buff.
1903         (process_dynamic_segment): Don't pass error strings to printf
1904         as format arg.
1905         (read_and_display_attr): Use lx and ld to print longs.
1906         (process_corefile_note_segment): Cast bfd_vma to unsigned long
1907         before printing.
1908         Update copyright.
1910 2000-01-17  Nick Clifton  <nickc@cygnus.com>
1912         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1914 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
1916         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1917         false.
1918         (debug_tag_type): Here too.
1919         * ieee.c (ieee_builtin_type): And here.
1920         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1922 2000-01-13  Nick Clifton  <nickc@cygnus.com>
1924         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1925         System/370".
1927 2000-01-11  Nick Clifton  <nickc@cygnus.com>
1929         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1931 2000-01-10  Nick Clifton  <nickc@cygnus.com>
1933         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1935 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
1937         * windres.c (long_options): Add --use-temp-file and
1938         --no-use-temp-file options.
1939         (usage): Document.
1940         (main): Handle.
1942         * windres.h: Update read_rc_file prototype.
1944         * resrc.c (cpp_temp_file): New static variable.
1945         (istream_type): New static variable.
1946         (close_pipe): Delete function.
1947         (run_cmd): New static function.
1948         (open_input_stream): New static function.
1949         (close_input_stream): New static function.
1950         (look_for_default): Handle DOS directory separator. Use
1951         open_input_stream instead of popen.
1952         (read_rc_file): Likewise.
1954         * binutils.texi: Document --use-temp-file, --no-use-temp-file
1955         options.
1957 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
1959         * dlltool.c (create_compat_implib): New variable.
1960         (gen_exp_file): Use.
1961         (make_one_lib_file): Use.
1962         (long_options): Add --compat-implib option.
1963         (usage): Handle.
1964         (main): Handle.
1966         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1967         (main): Use. Don't look for "32" in cygwin and mingw target names.
1969 2000-01-03  Nick Clifton  <nickc@cygnus.com>
1971         * binutils.texi: Document new, ARM specific disassembler
1972         command line switch "-M force-thumb".
1974 For older changes see ChangeLog-9899
1976 Local Variables:
1977 mode: change-log
1978 left-margin: 8
1979 fill-column: 74
1980 version-control: never
1981 End: