2001-03-26 H.J. Lu <hjl@gnu.org>
[binutils.git] / binutils / ChangeLog
blob27a734af44e129fc3ec4cab712d514018bf479fd
1 2001-03-26  Andreas Jaeger  <aj@suse.de>
3         * binutils.texi (nm): Fix texi syntax.
5 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7         * binutils.texi: Put @c man begin and @c man end indications
8         to generate man pages using texi2pod and pod2man. Put @c man title
9         to identify each man. Add SEEALSO entries.
10         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
11         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
12         sort the list.
13         (*.1): Build the man pages from binutils.texi.
14         * Makefile.in: Regenerate.
16 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
18         * defparse.y (opt_equal_name): allow "." in name.
19         * dlltool.c (def_exports): Added ability to generate forwarded exports.
20         (gen_exp_file): Likewise.
22 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
24         * NEWS: Document addition of -B switch to objcopy.
25         * binutils.texi:  Document addition of -B switch to objcopy.
26         * objcopy.c: (copy_options): Add --binary-architecture.
27         (copy_usage): Document -B/--binary-architecture.
28         (copy_main): Support -B/--binary-architecture.  Set
29         bfd_external_binary_architecture.
31 2001-03-11  Andreas Jaeger  <aj@suse.de>
33         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
34         (dump_relocations): Likewise.
35         (get_machine_name): Likewise.
37 2001-02-28  Nick Clifton  <nickc@redhat.com>
39         * readelf.c: (struct unw_aux_info): Remove const modifier for
40         'strtab' field.
41         (process_unwind): Remove non-K&R compliant LHS type cast in call
42         to GET_DATA_ALLOC macro.
44 2001-02-28  Philip Blundell  <pb@futuretv.com>
46         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
47         ABI is in use; remove ambiguity between the "unknown" EABI and
48         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
49         renamed EF_xx constants.
51 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
53         * configure.in (BFD_VERSION): New.
54         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
55         * configure: Regenerate.
56         * Makefile.am: Run "make dep-am"
57         * Makefile.in: Regenerate.
59 2001-02-14  Nick Clifton  <nickc@redhat.com>
61         * MAINTAINERS: Add "Obvious Fix" rule.
63 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
65         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
66         literal concatenation.
68 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
70         * readelf.c (struct unw_aux_info): Remove const from the info member.
71         (process_unwind): Don't type-cast the third argument to the
72         GET_DATA_ALLOC macro.
74 2001-02-11  Nick Clifton  <nickc@redhat.com>
76         * readelf.c (dump_relocations): Free corrected allocated
77         array.
78         (process_unwind): Fix compile time warning.
80 2001-02-10  Nick Clifton  <nickc@redhat.com>
82         * binutils.texi: Document new --unwind option to readelf.
84 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
86         * readelf.c: Add linux target for S/390.
88 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
90         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
91         printf is a macro.
93 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
95         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
96         * aclocal.m4: Regenerate.
97         * configure: Regenerate.
99 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
101         * bucomm.c (bfd_target_vector): Change extern array to pointer.
102         * objdump.c (bfd_target_vector): Likewise.
104 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
106         * readelf.c (process_unwind): New function.
107         (slurp_ia64_unwind_table): Ditto.
108         (dump_ia64_unwind): Ditto.
109         (find_symbol_for_address): Ditto.
110         (slurp_rela_relocs): New function (split off from dump_relocations()).
111         (slurp_rel_relocs): Ditto.
112         (parse_args): Handle '-u' option.
114         * unwind-ia64.c: New file.
115         * unwind-ia64.h: New file.
116         * Makefile.am: Include unwind-ia64.c in readelf build.
117         * Makefile.in: Regenerate.
118         * po/binutils.pot: Regenerate.
120 2001-02-04  Philip Blundell  <philb@gnu.org>
122         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
123         * configure: Regenerate.
125 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
127         * ieee.c (ieee_add_bb11): Don't check for backslashes
128         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
130 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
132         * ieee.c: Update copyright.
133         (ieee_start_compilation_unit): Don't check for backslashes
134         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
136         * stabs.c: Update copyright. Include "filenames.h".
137         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
139 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
141         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
142         sections are present before using them.  Remove code duplication.
143         (process_symbol_table): Check if VERDEF or VERNEED sections are
144         present before using them.
146 2001-01-17  Nick Clifton  <nickc@redhat.com>
148         * objcopy.c (copy_object): Fail if attempting to convert the
149         endianness of the input object file.
151         * binutils.texi: Explain that objcopy cannot convert endianness.
153 2001-01-16  Nick Clifton  <nickc@redhat.com>
155         * readelf.c (string_table_length): New variable.
156         (SECTION_NAME): Catch out of range indices and missing section
157         pointers.
158         (process_section_headers): Delete useless local variable
159         string_table_offset.  Set the value of string_table_length
160         after loading the string table.
161         (process_mips_specific): Use SECTION_NAME macro.
162         (process_file): Set string_table_length to 0 when it is freed.
164 2001-01-12  Nick Clifton  <nickc@redhat.com>
166         * version.c (print_version): Update copyright date.
168 2001-01-11  Peter Targett  <peter.targett@arccores.com>
170         * readelf.c (dump_relocations): Include selection with EM_ARC.
171         (get_machine_name) Update name to "ARC".
173 2001-01-09  Nick Clifton  <nickc@redhat.com>
175         * Makefile.am: Add rule to build objdump.o from objdump.c and
176         using OBJDUMP_DEFS.
177         * Makefile.in: Regenerate.
179         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
180         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
181         -DDISASSEMBLER_NEEDS_RELOCS.
182         * configure: Regenerate.
184         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
185         is defined read in the relocs even if dump_reloc_info is
186         false.
188 2001-01-07  Philip Blundell  <philb@gnu.org>
190         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
191         `bug-binutils'.
192         * README: Likewise.
194 2000-12-19  Nick Clifton  <nickc@redhat.com>
196         * dlltool.c: Add missing support for arm-epoc-pe.
197         * configure.in: Add missing support for arm-epoc-pe.
198         * configure: Regenerate.
200 2000-12-15  Nick Clifton  <nickc@redhat.com>
202         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
203         Mode parts of the x86 port.
205 2000-12-04  Andreas Jaeger  <aj@suse.de>
207         * readelf.c (guess_is_rela): Add EM_X86_64.
208         (dump_relocations): Add EM_X86_64.
209         (get_machine_name): Add EM_X86_64.
210         Include "elf/x86-64.h".
212 2000-12-12  Nick Clifton  <nickc@redhat.com>
214         * readelf.c: Fix formatting.
216 Mon Dec 11 14:30:21 MET 2000  Jan Hubicka  <jh@suse.cz>
218         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
220 2000-12-07  Andrew Haley  <aph@redhat.com>
222         * readelf.c (display_debug_frames): Only display columns that are
223         referenced by the frame debug info.
225 2000-12-05  Nick Clifton  <nickc@redhat.com>
227         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
229 2000-12-04  Jason Merrill  <jason@redhat.com>
231         * readelf.c (process_section_headers): Handle linkonce.wi sections.
232         (display_debug_section): Likewise.
233         (display_debug_info): Display CU header before bailing.
235 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
237         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
238         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
239         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
241         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
242         and E_MIPS_ARCH_64.
244         * readelf.c (get_machine_flags): Add case for
245         E_MIPS_MACH_SB1.
247 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
249         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
251 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
253         * MAINTAINERS: Add Jvrn Rennecke and self as SH maintainers.
254         Change sourceware.cygnus.com to sources.redhat.com.
255         Fix typo for "amongst".
257 2000-11-28  Nick Clifton  <nickc@redhat.com>
259         * strip.1 (COPYING): Mention that the GNU Free Documentation
260         License is present in the sources, but not the output, and
261         also available from the GNU website.
262         (GNU Free Documentation License): Comment out this section.
263         * strings.1: Ditto.
264         * size.1: Ditto.
265         * ranlib.1: Ditto.
266         * objdump.1: Ditto.
267         * objcopy.1: Ditto.
268         * nm.1: Ditto.
269         * nlmconv.1: Ditto.
270         * ar.1: Ditto.
271         * addr2line.1: Ditto.
273 2000-11-27  DJ Delorie  <dj@redhat.com>
275         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
276         (parse_args): Support -wf option.
277         (process_section_headers): Ditto.
278         (debug_displays): Ditto.
279         (display_debug_frames): New, dump *_frame sections.
280         (frame_need_space): Support for above.
281         (frame_display_row): Ditto.
282         * binutils.texi: Document it.
284 2000-11-24  Nick Clifton  <nickc@redhat.com>
286         * NEWS: Announce support for v5t, v5te and XScale.
288 2000-11-22  Nick Clifton  <nickc@redhat.com>
290         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
291         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
292         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
293         (get_elf_section_flags: Add SHF_GROUP.
294         (process_section_headers): Adjust output for 32-bit binaries
295         to look nice on an 80 column terminal.
297 2000-11-20  H.J. Lu  <hjl@gnu.org>
299         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
300         ELFOSABI_AIX.
302 2000-11-17  Richard Henderson  <rth@redhat.com>
304         * readelf.c (display_debug_lines): Adjust last change to
305         use sizeof (external->li_length).
307 2000-11-17  Richard Henderson  <rth@redhat.com>
309         * readelf.c (display_debug_lines): Fix section length check
310         and end_of_sequence computation.
312 2000-11-06  Nick Clifton  <nickc@redhat.com>
314         * binutils.texi: Add GNU Free Documentation License.
315         * objcopy.1: Add GNU Free Documentation License.
316         * objdump.1: Add GNU Free Documentation License.
317         * addr2line.1: Add GNU Free Documentation License.
318         * ar.1: Add GNU Free Documentation License.
319         * nlmconv.1: Add GNU Free Documentation License.
320         * nm.1: Add GNU Free Documentation License.
321         * ranlib.1: Add GNU Free Documentation License.
322         * size.1: Add GNU Free Documentation License.
323         * strings.1: Add GNU Free Documentation License.
324         * strip.1: Add GNU Free Documentation License.
326 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
328         * objcopy.c (--srec-len=nn): New parameter to set the
329         maximum length of generated Srecords.
330         (--srec-forceS3): New parameter that restricts the generation of
331         Srecords to type S3 only.
332         * binutils.texi: Document new command line switches.
333         * objcopy.1: Docuemnt the new command line switches.
334         * NEWS: Announce the existence of the new command line switches.
336 2000-10-31  Nick Clifton  <nickc@redhat.com>
338         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
339         code.  Add Eric Chrisopher as maintainer of MN10300 port.
341 2000-10-12  Roger Sayle  <roger@metaphorics.com>
343         * Make comma after string after icon/control optional.
345 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
347         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
349         * NEWS: Mention support for MIPS32.
351 2000-09-08  Nick Clifton  <nickc@redhat.com>
353         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
355 2000-09-07  H.J. Lu  <hjl@gnu.org>
357         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
358         * configure: Rebuild.
360 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
362         * configure: Rebuilt with new libtool.m4.
364 2000-09-05  Nick Clifton  <nickc@redhat.com>
366         * aclocal.m4: Regenerate.
367         * config.in: Regenerate.
368         * configure: Regenerate.
370 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
372         * strip.1: Fix stray '\' in -o formatting.
374 2000-09-02  Nick Clifton  <nickc@redhat.com>
376         * configure.in: Increase version number to 2.10.91.
377         * configure: Regenerate.
378         * aclocal.m4: Regenerate.
379         * config.in: Regenerate.
380         * po/binutils.pot: Regenerate.
382 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
384         * acinclude.m4: Include libtool and gettext macros from the
385         top level.
386         * aclocal.m4, configure: Rebuilt.
388 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
390         * resrc.c (close_input_stream): Delete extraneous logic
392 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
394         * NEWS: Mention support for CRIS.
396 2000-08-21  Nick Clifton  <nickc@redhat.com>
398         * addr2line.c: Changed email address for Ulrich Lauther.
400 2000-08-17  Christopher C. Chimelis <chris@debian.org>
402         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
404 2000-08-17  Nick Clifton  <nickc@redhat.com>
406         * readelf.c (display_debug_pubnames): Only issue warning
407         message once.  Terminate message with a new line.
408         (display_debug_aranges): Only display version 2 debug info.
410 2000-08-14  Todd Vierling <tv@wasabisystems.com>
412         * objcopy.c (strip_main): Silently accept -d as an alias for -g
413         for compatability with old BSD systems.
415 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
417         * NEWS: Mention i860 support.
419 2000-08-11  Carlo Wood <carlo@alinoe.com>
421         * addr2line.c (main): Add const to char *.
423 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
425         * ar.c (main): Don't crash if called with no arguments
426         or only '-X32_64' as an argument.
428 2000-08-08  DJ Delorie  <dj@redhat.com>
430         * resrc.c: use "gcc -xc" instead of -xc-header
432 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
434         * readelf.c (elf/i860.h): Include.
435         (dump_relocations): Add recognition of i860 architecture.
436         (guess_is_rela): Add recognition of i860 architecture.
438 2000-08-03  Nick Clifton  <nickc@cygnus.com>
440         * MAINTAINERS: Add information about CGEN maintainers.
442 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
444         * nm.c (main): Ignore '-X32_64' as an option.
445         * ar.c (main): Likewise.
446         * binutils.texi (nm): Document new option.
447         (ar): Likewise.
449 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
451         * rdcoff.c (external_coff_symbol_p): K&R-ise.
453 2000-07-20  H.J. Lu  <hjl@gnu.org>
455         * binutils.texi: Put back "@end table" deleted by
456         accident.
458 2000-07-05  Kenneth Block  <krblock@computer.org>
460         * nm.c: Add optional style to demangle switch.
461         * objdump.c: Add optional style to demangle switch.
462         * addr2line.c: Add optional style to demangle switch.
463         * binutils.texi: Document optional style to demangle
464         switch.
466 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
468         * MAINTAINERS: Add self as CRIS port maintainer.
469         * readelf.c: Include elf/cris.h.
470         (guess_is_rela): Handle EM_CRIS.
471         (dump_relocations): Ditto.
472         (get_machine_name): Ditto.
473         * Makefile.am: Rebuild dependencies.
474         * Makefile.in: Regenerate.
475         * po/binutils.pot: Regenerate.
477 2000-07-19  H.J. Lu  <hjl@gnu.org>
479         * readelf.c (get_dynamic_type): Change "AUXILARY" to
480         "AUXILIARY".
481         (process_dynamic_segment): Print out strings for DT_CONFIG,
482         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
484 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
486         * nm.c (usage): Change output of `nm --help' to include a
487         description of the purpose of the program and a detailed
488         description of the accepted options.
490 2000-07-19  H.J. Lu  <hjl@gnu.org>
492         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
493         to DF_1_NODEFLIB.
495 2000-07-19  H.J. Lu  <hjl@gnu.org>
497         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
499 2000-07-19  H.J. Lu  <hjl@gnu.org>
501         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
502         DT_FEATURE.
503         (process_dynamic_segment): Likewise.
505         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
506         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
507         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
508         DF_1_NODUMP and DF_1_CONLFAT.
510 2000-07-18  Nick Clifton  <nickc@cygnus.com>
512         * binutils.texi (readelf): Fix spelling typo.
514 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
516         * objdump.c (usage): Make output of `objdump --help' more
517         consistent with the rest of the GNU world.  Add a line describing
518         the purpose of the program.
520 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
522         * stabs.c (parse_stab_range_type): Cast to proper type to fix
523         warning.
525 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
527         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
528         to fix warnings.
529         (process_symbol_table): Ditto.
530         (procesS_extended_line_op): Ditto.
531         (display_debug_lines): Ditto.
532         (display_debug_pubnames): Ditto.
533         (read_and_display_attr): Ditto.
535 2000-07-09  Nick Clifton  <nickc@cygnus.com>
537         * MAINTAINERS: Add several more port specific maintainers.
539 2000-07-05  Nick Clifton  <nickc@cygnus.com>
541         * MAINTAINERS: Add blanket write privs for Michael Meissner.
543 2000-06-05  DJ Delorie  <dj@redhat.com>
545         * MAINTAINERS: New.
547 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
549         * dllwrap.c: Changed mistaken dyn_string_append() calls
550         to dyn_string_append_cstr().
552 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
554         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
555         struct debug_type stores size in bytes.
557 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
559         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
560         (CLEANFILES): Add DEPA.
561         * Makefile.in: Regenerate.
563 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
565         * ar.c: Revert incorrect 2000-06-25 patch.
566         * bucomm.c: Likewise.
568 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
570         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
571         (external_coff_symbol_p): New function.
572         (parse_coff): Use it.
574 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
576         * ar.c (normalize): Advance past both characters in a DOS based
577         <letter>: filepath prefix.
578         (main): Likewise.
579         * bucomm.c (make_tempname): Likewise.
581 2000-06-24  Nick Clifton  <nickc@cygnus.com>
583         * objdump.c (usage): Fix description of --stabs switch.
585 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
587         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
588         find one.
589         * Makefile.in: Regenerate.
591 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
593         * ar.c (normalize): Correct pointer comparison when checking for
594         backslashes.
595         (main): Likewise.
596         * bucomm.c (make_tempname): Likewise.
598         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
599         and search for backslashes in the original pathname.
600         (ieee_add_bb11): Likewise.
602 2000-06-18  Nick Clifton  <nickc@redhat.com>
604         * ar.c (print_contents): Improve verbose message.
606 2000-06-15  H.J. Lu  <hjl@gnu.org>
608         * dyn-string.c: Removed. Not needed with dyn-string.c in
609         libiberty.
610         * dyn-string.h: Likewise.
612         * Makefile.am: Remove references to dyn-string.c and
613         dyn-string.h. Rebuild dependency.
614         * Makefile.in: Rebuild.
616 2000-06-15  H.J. Lu  <hjl@gnu.org>
618         * binutils.texi: Put a warning on copying relocatable object
619         files between two different formats.
621 2000-06-13  DJ Delorie  <dj@cygnus.com>
623         * rcparse.y (control): ICON controls take an id as the first
624         parameter, not an optional string.  Also, call new convenience
625         function that takes res_id's.
626         * resrc.c (define_control): missing text means zero-length string,
627         not zero ID.
628         (define_icon_control): New.
629         * windres.h: declare define_icon_control.
631 2000-06-13  H.J. Lu  <hjl@gnu.org>
633         * configure: Regenerate.
635 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
637         * configure.in (VERSION): Update to show this is the CVS mainline.
639 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
641         * strings.c (isgraphic): Interpret <TAB> as a printable character,
642         analogous to <SPACE>.
644 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
646         * objdump.c (display_target_list): Use bfd_close_all_done, not
647         bfd_close to fix crash caused by 2000-05-24 change.
649 2000-05-25  DJ Delorie  <dj@cygnus.com>
651         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
653 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
655         * Makefile.am: Update dependencies with "make dep-am"
656         * Makefile.in: Regenerate.
658 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
660         * ar.c: Include filenames.h.
661         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
662         and drive letters in file names.
663         (main): Support backslashes and drive letters in argv[0].  Drop
664         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
665         FILENAME_CMP instead of strcmp to compare file names.
666         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
667         DJGPP v2.
668         (do_quick_append) [__GO32__]: Ditto.
669         (get_pos_bfd, delete_members, move_members, replace_members):
670         Compare file names with FILENAME_CMP.
672         * bucomm.c: Include filenames.h.
673         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
674         forward/backward slashes and drive letters in file names.
676         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
677         mixed forward/backward slashes and drive letters in file names.
679         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
680         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
681         mode.
683         * objcopy.c: Include filenames.h.
684         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
685         before comparing to "strip".
686         Use FILENAME_CMP to compare file names.
688         * arsup.c: Include filenames.h.
689         (map_over_list, ar_delete, ar_replace, ar_extract): Use
690         FILENAME_CMP to compare file names.
691         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
692         the temporary file name.
694         * configure.in: Check for setmode.
695         * configure: Regenerate.
697 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
699         * objdump.c (display_target_list): Close the bfd.
700         (display_info_table): Likewise.
702 2000-05-14  H.J. Lu  (hjl@gnu.org)
704         * objcopy.c (filter_symbols): Don't strip global symbols in
705         relocatable object files.
707 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
709         * size.c (usage): Associate short options with corresponding long
710         option to give a clue as to their function.
712 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
714         * size.c (main): Accept and ignore `-f' option.
716 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
718         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
719         bindtextdomain): Replace defines with those from intl/libgettext.h
720         to quieten gcc warnings.
722 2000-05-12  H.J. Lu  <hjl@gnu.org>
724         * nlmconv.c (temp_filename): Removed.
726         * nlmconv.c (link_inputs): Use make_temp_file () instead of
727         choose_temp_base ().
728         * objdump.c (display_target_list): Likewise.
729         (display_info_table): Likewise.
731 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
733         * objcopy.c (setup_section): Add const and gettext calls for err.
735 2000-05-02  H.J. Lu  <hjl@gnu.org>
737         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
738         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
739         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
740         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
741         and ELFOSABI_OPENBSD.
743 2000-05-02  Kazu Hirata  <kazu@hxi.com>
745         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
746         * srconv.c: Likewise.
747         * sysdump.c: Likewise.
749 Sun Apr 23 14:23:26 2000  Denis Chertykov  <denisc@overta.ru>
751         * readelf.c (guess_is_rela): AVR uses RELA relocations.
752         (get_machine_name): machine name for EM_AVR added.
754 Fri Apr 21 13:20:53 2000  Richard Henderson  <rth@cygnus.com>
755                           David Mosberger  <davidm@hpl.hp.com>
757         * Makefile.am (readelf.o): Add elf/ia64.h.
758         * Makefile.in: Rebuild.
759         * readelf.c: Include elf/ia64.h.
760         (guess_is_rela, dump_relocations): Handle EM_IA_64.
762 2000-04-17  Timothy Wall  <twall@cygnus.com>
764         * objdump.c (disassemble_data): Set octets per byte *after*
765         resolving arch/mach for binary files.
767 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
769         * arlex.l: Add directives to increase lex buffer size.
771         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
772         already included by bucomm.h.
774 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
776         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
777         `strftime' since strftime is not available on all systems.
778         (process_mips_specific): Ditto.
780 Fri Apr  7 15:56:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
782         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
783         --enable-build-warnings option.
784         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
785         * Makefile.in, configure: Re-generate.
787 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
789         * addr2line.c: Update copyright.
790         * objcopy.1: Likewise, and title.
791         * strings.1: Likewise.
793         * version.c (print_version): Add 2000.
795         * rddbg.c (read_section_stabs_debugging_info): Don't use
796         bfd_size_type for strx to avoid printf problems if BFD64.
798         * bucomm.c: (report): Remove `static'.
799         Move inclusion of stdarg.h/vararg.h from here.
800         * bucomm.h: To here.
801         (CONST): Change all occurences to const.
802         (report): Declare it.
803         (bfd_fatal): Add ATTRIBUTE_NORETURN.
804         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
805         (non_fatal): Add ATTRIBUTE_PRINTF_1.
807         * ar.c (main): Use fatal or non_fatal instead of fprintf.
808         Correct a typo in an error message.
809         (do_quick_append): Use non_fatal instead of fprintf.
810         (move_members): Use fatal instead of fprintf, exit.
811         * coffdump.c (main): Same here.
813         * dlltool.c (display): Delete.
814         (warn): Delete.
815         (inform): Use `report' instead of `display'.
816         (rvaafter): Remove trailing \n from fatal error msg.
817         (rvabefore): Ditto.
818         (asm_prefix): Ditto.
819         (yyerror): Replace `warn' with `non_fatal', and remove \n.
820         (def_name): Likewise.
821         (run): Likewise.
822         (scan_all_symbols): Likewise.
823         (gen_lib_file): Likewise.
824         (def_library): Likewise.  Remove extra program_name too.
825         (run): Remove \n from inform strings.
826         (scan_drectve_symbols): Likewise.
827         (add_excludes): Likewise.
828         (scan_open_obj_file): Likewise.
829         (gen_exp_file): Likewise.
830         (gen_lib_file): Likewise.
831         (process_duplicates): Likewise.
833         * Makefile.am (dllwrap_SOURCES): Add version.c.
834         * dllwrap.c (program_version): Delete.
835         (print_version): Delete.
836         (display): Always print trailing \n.
837         (warn): New.
838         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
839         (run): Here too.
840         (main): And here.
841         (usage): gettext'ify.
842         (long_options): Add missing initialisers.
844         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
845         (select_output_format): Likewise.
846         (powerpc_mangle_relocs): Likewise.
847         (link_inputs): Likewise.
849         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
850         (set_output_format): Likewise.
851         (main): Use non_fatal instead of fprintf.
852         (display_rel_file): Likewise.
854         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
855         (slurp_dynamic_symtab): Same here.
856         (disassemble_data): And here.
857         (read_section_stabs): And here.
858         (read_section_stabs): And here.
859         (dump_bfd): And here.
860         (main): And here.
861         (objdump_sprintf): Use fatal instead of fprintf, exit.
862         (disassemble_data): Same here.
864         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
865         (parse_coff_struct_type): Same here.
866         (parse_coff_enum_type): And here.
867         (parse_coff): And here.
868         * rddbg.c (read_debugging_info): And here.
869         * size.c (main): And here.
870         * windres.c (format_from_name): And here.
871         * wrstabs.c (stab_write_symbol): Here too.
872         (write_stabs_in_sections_debugging_info): And here.
873         (stab_int_type): And here.
874         (stab_struct_field): And here.
875         (stab_typdef): And here.
877         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
878         * srconv.c (main): Same here.
879         * strings.c (main): And here.
880         (integer_arg): And here.
881         * sysdump.c (main): And here.
883 2000-04-06  Timothy Wall  <twall@cygnus.com>
885         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
887 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
889         * readelf.c (decode_location_expression): Loop through multiple
890         operations.
891         (read_and_display_attr): Pass in length.
893         * readelf.c (read_and_display_attr): Add CU offset to references.
894         (display_debug_info): Pass it in.
896 2000-04-06  Nick Clifton  <nickc@cygnus.com>
898         * readelf.c (decode_ARM_machine_flags): New function.
899         (get_machine_flags): Call decode_ARM_machine_flags for ARM
900         targets.
902         (get_machine_name): Catch EM_AVR
904 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
906         * binutils.texi: Remove optional `=' from long options that have
907         an `=' in the argument.
908         * objcopy.1: Here too.  Remove extra space on discard-all.
910         * binutils.texi (objcopy): Mention --redefine-sym.
911         * objcopy.1: Here too.
912         * NEWS: And here.
914         * objcopy.c (parse_flags): Split off flag names from error message
915         gettext as they are not translated.
916         (copy_main): Similarly split off option name for --add-section,
917         --set-section-flags, --change-section-vma, --change-section-lma
918         error messages.
919         Some white space changes.
921         from Matthew Benjamin <matt@linuxbox.nu>
922         * objcopy.c (struct redefine_node): New.
923         (redefine_sym_list): New.
924         (redefine_list_append): New.
925         (lookup_sym_redefinition): New.
926         (OPTION_REDEFINE_SYM): New.
927         (copy_options): Add --redefine-sym option.
928         (copy_usage): Mention it.
929         (filter_symbols): Rename symbols on redefine_sym_list.
930         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
931         (copy_main): Handle OPTION_REDEFINE_SYM.
933 2000-04-04  H.J. Lu  <hjl@gnu.org>
935         * readelf.c (process_symbol_table): Correctly read in symbol
936         versioning information.
938 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
940         * po/binutils.pot: Regenerate.
942         * addr2line.c (usage): Restore translated part of bug string.
943         * ar.c (usage): Likewise.
944         * nlmconv.c (show_usage): Likewise.
945         * nm.c (usage): Likewise.
946         * objcopy.c (copy_usage): Likewise.
947         (strip_usage): Likewise.
948         * objdump.c (usage): Likewise.
949         * readelf.c (usage): Likewise.
950         * size.c (usage): Likewise.
951         * strings.c (usage): Likewise.
952         * windres.c (usage): Likewise.
954         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
955         (DEP): Quote when passing vars to sub-make.  Add warning
956         message to end.
957         (DEP1): Rewrite for "gcc -MM".
958         (CLEANFILES): Add DEP2.
959         Update dependencies.
960         * Makefile.in: Regenerate.
962 2000-04-04  H.J. Lu  <hjl@gnu.org>
964         * Makefile.am (GENERATED_HFILES): Add rcparse.h
965         (arparse.h): Depend on arparse.c
966         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
968 2000-04-03  H.J. Lu  (hjl@gnu.org)
970         * size.c (usage): Use REPORT_BUGS_TO.
972 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
974         * bucomm.h: #include "bin-bugs.h"
975         * addr2line.c (usage): Use REPORT_BUGS_TO.
976         * ar.c (usage): Likewise.
977         * nlmconv.c (show_usage): Likewise.
978         * nm.c (usage): Likewise.
979         (OPTION_TARGET): Define.
980         (long_options): Use OPTION_TARGET rather than 200.
981         (main): Likewise.
983         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
984         (strip_usage): Likewise.
985         * objdump.c (usage): Likewise.
986         * readelf.c (usage): Likewise.
987         * strings.c (usage): Likewise.
988         * windres.c (usage): Likewise.
990 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
992         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
994 2000-03-27  Nick Clifton  <nickc@cygnus.com>
996         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
997         string offsets in corrupt stabs entries.
999 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
1001         * readelf.c: Include elf/avr.h
1002         (dump_relocations): Add EM_AVR case.
1004 2000-03-09  Tim Waugh  <twaugh@redhat.com>
1006         * strings.1: Correct '-bytes' to '--bytes'.
1008 2000-03-08  H.J. Lu  <hjl@gnu.org>
1010         * Makefile.am (install-exec-local): Depend on
1011         install-binPROGRAMS for parallel make.
1012         * Makefile.in: Regenerated.
1014 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
1016         From Brad Lucier <lucier@math.purdue.edu>:
1017         * readelf.c (process_dynamic_segment): Add cast to make sure
1018         argument to %* is int.
1020 2000-02-25  H.J. Lu  <hjl@gnu.org>
1022         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
1024 2000-02-24  Nick Clifton  <nickc@cygnus.com>
1026         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
1027         * configure: Regenerate.
1029         * dlltool.c: Add support for sh-pe and mips-pe targets.
1030         * rescoff.c: Add support for sh-pe and mips-pe targets.
1032 2000-02-23  H.J. Lu  <hjl@gnu.org>
1034         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1036 2000-02-22  Nick Clifton  <nickc@cygnus.com>
1038         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1040 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
1042         From Brad Lucier <lucier@math.purdue.edu>:
1043         * readelf.c (process_version_sections): Add casts to make sure
1044         argument to %* is an int.
1045         (process_mips_specific): Add casts to make printf arguments match
1046         format.
1048 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
1050         * objdump.c (dump_section_header): Change `opb' to unsigned.
1051         (find_symbol_for_address): Same here.
1052         (disassemble_data): And here.  Change `addr_offset',
1053         `stop_offset', `nextstop_offset' to unsigned long.
1054         (dump_data): Change opb to unsigned.
1056 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
1058         * resrc.c: Remove unmatched #if for cygwin.
1060 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1062         * binutils.texi: Document the change of flavor name from atpcs-special
1063         to special-atpcs to prevent name conflict in gdb.
1065 2000-02-08  Timothy Wall  <twall@redhat.com>
1067         * objdump.c (show_line): Fix bug preventing printing of the very
1068         first line (line zero) of a file when interlisting source and
1069         assembly.  Added option to print entire context from start of file
1070         when the first line from that file is encountered.
1072 2000-02-03  Timothy Wall <twall@redhat.com>
1074         * objdump.c (dump_section_header, find_symbol_for_address,
1075         show_line, disassemble_bytes, disassemble_data, dump_data):
1076         distinguish between octets and bytes.
1078 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
1080         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1081         check to unresolved symbols.
1082         (print_symbol_info_sysv):  Ditto.
1083         (print_symbol_info_posix):  Ditto.
1085         * binutils.texi: Document new 'V' symclass flag for nm.
1087 2000-01-27  Nick Clifton  <nickc@redhat.com>
1089         * binutils.texi (objdump): Document new ARM specific
1090         disassembler options.
1092         * objdump.c (usage): Call disassembler_usage().
1094 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
1096         * readelf.c (get_dynamic_flags): Return buff.
1097         (process_dynamic_segment): Don't pass error strings to printf
1098         as format arg.
1099         (read_and_display_attr): Use lx and ld to print longs.
1100         (process_corefile_note_segment): Cast bfd_vma to unsigned long
1101         before printing.
1102         Update copyright.
1104 2000-01-17  Nick Clifton  <nickc@cygnus.com>
1106         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1108 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
1110         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1111         false.
1112         (debug_tag_type): Here too.
1113         * ieee.c (ieee_builtin_type): And here.
1114         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1116 2000-01-13  Nick Clifton  <nickc@cygnus.com>
1118         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1119         System/370".
1121 2000-01-11  Nick Clifton  <nickc@cygnus.com>
1123         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1125 2000-01-10  Nick Clifton  <nickc@cygnus.com>
1127         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1129 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
1131         * windres.c (long_options): Add --use-temp-file and
1132         --no-use-temp-file options.
1133         (usage): Document.
1134         (main): Handle.
1136         * windres.h: Update read_rc_file prototype.
1138         * resrc.c (cpp_temp_file): New static variable.
1139         (istream_type): New static variable.
1140         (close_pipe): Delete function.
1141         (run_cmd): New static function.
1142         (open_input_stream): New static function.
1143         (close_input_stream): New static function.
1144         (look_for_default): Handle DOS directory separator. Use
1145         open_input_stream instead of popen.
1146         (read_rc_file): Likewise.
1148         * binutils.texi: Document --use-temp-file, --no-use-temp-file
1149         options.
1151 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
1153         * dlltool.c (create_compat_implib): New variable.
1154         (gen_exp_file): Use.
1155         (make_one_lib_file): Use.
1156         (long_options): Add --compat-implib option.
1157         (usage): Handle.
1158         (main): Handle.
1160         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1161         (main): Use. Don't look for "32" in cygwin and mingw target names.
1163 2000-01-03  Nick Clifton  <nickc@cygnus.com>
1165         * binutils.texi: Document new, ARM specific disassembler
1166         command line switch "-M force-thumb".
1168 For older changes see ChangeLog-9899
1170 Local Variables:
1171 mode: change-log
1172 left-margin: 8
1173 fill-column: 74
1174 version-control: never
1175 End: