2001-02-14 H.J. Lu <hjl@gnu.org>
[binutils.git] / binutils / ChangeLog
blobae1bb587d6f2a9f0c027b8a6d3fd9c258e904273
1 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
4         literal concatenation.
6 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
8         * readelf.c (struct unw_aux_info): Remove const from the info member.
9         (process_unwind): Don't type-cast the third argument to the
10         GET_DATA_ALLOC macro.
12 2001-02-11  Nick Clifton  <nickc@redhat.com>
14         * readelf.c (dump_relocations): Free corrected allocated
15         array.
16         (process_unwind): Fix compile time warning.
18 2001-02-10  Nick Clifton  <nickc@redhat.com>
20         * binutils.texi: Document new --unwind option to readelf.
22 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
24         * readelf.c: Add linux target for S/390.
26 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
28         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
29         printf is a macro.
31 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
33         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
34         * aclocal.m4: Regenerate.
35         * configure: Regenerate.
37 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
39         * bucomm.c (bfd_target_vector): Change extern array to pointer.
40         * objdump.c (bfd_target_vector): Likewise.
42 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
44         * readelf.c (process_unwind): New function.
45         (slurp_ia64_unwind_table): Ditto.
46         (dump_ia64_unwind): Ditto.
47         (find_symbol_for_address): Ditto.
48         (slurp_rela_relocs): New function (split off from dump_relocations()).
49         (slurp_rel_relocs): Ditto.
50         (parse_args): Handle '-u' option.
52         * unwind-ia64.c: New file.
53         * unwind-ia64.h: New file.
54         * Makefile.am: Include unwind-ia64.c in readelf build.
55         * Makefile.in: Regenerate.
56         * po/binutils.pot: Regenerate.
58 2001-02-04  Philip Blundell  <philb@gnu.org>
60         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
61         * configure: Regenerate.
63 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
65         * ieee.c (ieee_add_bb11): Don't check for backslashes
66         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
68 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
70         * ieee.c: Update copyright.
71         (ieee_start_compilation_unit): Don't check for backslashes
72         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
74         * stabs.c: Update copyright. Include "filenames.h".
75         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
77 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
79         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
80         sections are present before using them.  Remove code duplication.
81         (process_symbol_table): Check if VERDEF or VERNEED sections are
82         present before using them.
84 2001-01-17  Nick Clifton  <nickc@redhat.com>
86         * objcopy.c (copy_object): Fail if attempting to convert the
87         endianness of the input object file.
89         * binutils.texi: Explain that objcopy cannot convert endianness.
91 2001-01-16  Nick Clifton  <nickc@redhat.com>
93         * readelf.c (string_table_length): New variable.
94         (SECTION_NAME): Catch out of range indices and missing section
95         pointers.
96         (process_section_headers): Delete useless local variable
97         string_table_offset.  Set the value of string_table_length
98         after loading the string table.
99         (process_mips_specific): Use SECTION_NAME macro.
100         (process_file): Set string_table_length to 0 when it is freed.
102 2001-01-12  Nick Clifton  <nickc@redhat.com>
104         * version.c (print_version): Update copyright date.
106 2001-01-11  Peter Targett  <peter.targett@arccores.com>
108         * readelf.c (dump_relocations): Include selection with EM_ARC.
109         (get_machine_name) Update name to "ARC".
111 2001-01-09  Nick Clifton  <nickc@redhat.com>
113         * Makefile.am: Add rule to build objdump.o from objdump.c and
114         using OBJDUMP_DEFS.
115         * Makefile.in: Regenerate.
117         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
118         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
119         -DDISASSEMBLER_NEEDS_RELOCS.
120         * configure: Regenerate.
122         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
123         is defined read in the relocs even if dump_reloc_info is
124         false.
126 2001-01-07  Philip Blundell  <philb@gnu.org>
128         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
129         `bug-binutils'.
130         * README: Likewise.
132 2000-12-19  Nick Clifton  <nickc@redhat.com>
134         * dlltool.c: Add missing support for arm-epoc-pe.
135         * configure.in: Add missing support for arm-epoc-pe.
136         * configure: Regenerate.
138 2000-12-15  Nick Clifton  <nickc@redhat.com>
140         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
141         Mode parts of the x86 port.
143 2000-12-04  Andreas Jaeger  <aj@suse.de>
145         * readelf.c (guess_is_rela): Add EM_X86_64.
146         (dump_relocations): Add EM_X86_64.
147         (get_machine_name): Add EM_X86_64.
148         Include "elf/x86-64.h".
150 2000-12-12  Nick Clifton  <nickc@redhat.com>
152         * readelf.c: Fix formatting.
154 Mon Dec 11 14:30:21 MET 2000  Jan Hubicka  <jh@suse.cz>
156         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
158 2000-12-07  Andrew Haley  <aph@redhat.com>
160         * readelf.c (display_debug_frames): Only display columns that are
161         referenced by the frame debug info.
163 2000-12-05  Nick Clifton  <nickc@redhat.com>
165         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
167 2000-12-04  Jason Merrill  <jason@redhat.com>
169         * readelf.c (process_section_headers): Handle linkonce.wi sections.
170         (display_debug_section): Likewise.
171         (display_debug_info): Display CU header before bailing.
173 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
175         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
176         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
177         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
179         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
180         and E_MIPS_ARCH_64.
182         * readelf.c (get_machine_flags): Add case for
183         E_MIPS_MACH_SB1.
185 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
187         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
189 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
191         * MAINTAINERS: Add Jvrn Rennecke and self as SH maintainers.
192         Change sourceware.cygnus.com to sources.redhat.com.
193         Fix typo for "amongst".
195 2000-11-28  Nick Clifton  <nickc@redhat.com>
197         * strip.1 (COPYING): Mention that the GNU Free Documentation
198         License is present in the sources, but not the output, and
199         also available from the GNU website.
200         (GNU Free Documentation License): Comment out this section.
201         * strings.1: Ditto.
202         * size.1: Ditto.
203         * ranlib.1: Ditto.
204         * objdump.1: Ditto.
205         * objcopy.1: Ditto.
206         * nm.1: Ditto.
207         * nlmconv.1: Ditto.
208         * ar.1: Ditto.
209         * addr2line.1: Ditto.
211 2000-11-27  DJ Delorie  <dj@redhat.com>
213         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
214         (parse_args): Support -wf option.
215         (process_section_headers): Ditto.
216         (debug_displays): Ditto.
217         (display_debug_frames): New, dump *_frame sections.
218         (frame_need_space): Support for above.
219         (frame_display_row): Ditto.
220         * binutils.texi: Document it.
222 2000-11-24  Nick Clifton  <nickc@redhat.com>
224         * NEWS: Announce support for v5t, v5te and XScale.
226 2000-11-22  Nick Clifton  <nickc@redhat.com>
228         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
229         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
230         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
231         (get_elf_section_flags: Add SHF_GROUP.
232         (process_section_headers): Adjust output for 32-bit binaries
233         to look nice on an 80 column terminal.
235 2000-11-20  H.J. Lu  <hjl@gnu.org>
237         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
238         ELFOSABI_AIX.
240 2000-11-17  Richard Henderson  <rth@redhat.com>
242         * readelf.c (display_debug_lines): Adjust last change to
243         use sizeof (external->li_length).
245 2000-11-17  Richard Henderson  <rth@redhat.com>
247         * readelf.c (display_debug_lines): Fix section length check
248         and end_of_sequence computation.
250 2000-11-06  Nick Clifton  <nickc@redhat.com>
252         * binutils.texi: Add GNU Free Documentation License.
253         * objcopy.1: Add GNU Free Documentation License.
254         * objdump.1: Add GNU Free Documentation License.
255         * addr2line.1: Add GNU Free Documentation License.
256         * ar.1: Add GNU Free Documentation License.
257         * nlmconv.1: Add GNU Free Documentation License.
258         * nm.1: Add GNU Free Documentation License.
259         * ranlib.1: Add GNU Free Documentation License.
260         * size.1: Add GNU Free Documentation License.
261         * strings.1: Add GNU Free Documentation License.
262         * strip.1: Add GNU Free Documentation License.
264 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
266         * objcopy.c (--srec-len=nn): New parameter to set the
267         maximum length of generated Srecords.
268         (--srec-forceS3): New parameter that restricts the generation of
269         Srecords to type S3 only.
270         * binutils.texi: Document new command line switches.
271         * objcopy.1: Docuemnt the new command line switches.
272         * NEWS: Announce the existence of the new command line switches.
274 2000-10-31  Nick Clifton  <nickc@redhat.com>
276         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
277         code.  Add Eric Chrisopher as maintainer of MN10300 port.
279 2000-10-12  Roger Sayle  <roger@metaphorics.com>
281         * Make comma after string after icon/control optional.
283 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
285         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
287         * NEWS: Mention support for MIPS32.
289 2000-09-08  Nick Clifton  <nickc@redhat.com>
291         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
293 2000-09-07  H.J. Lu  <hjl@gnu.org>
295         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
296         * configure: Rebuild.
298 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
300         * configure: Rebuilt with new libtool.m4.
302 2000-09-05  Nick Clifton  <nickc@redhat.com>
304         * aclocal.m4: Regenerate.
305         * config.in: Regenerate.
306         * configure: Regenerate.
308 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
310         * strip.1: Fix stray '\' in -o formatting.
312 2000-09-02  Nick Clifton  <nickc@redhat.com>
314         * configure.in: Increase version number to 2.10.91.
315         * configure: Regenerate.
316         * aclocal.m4: Regenerate.
317         * config.in: Regenerate.
318         * po/binutils.pot: Regenerate.
320 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
322         * acinclude.m4: Include libtool and gettext macros from the
323         top level.
324         * aclocal.m4, configure: Rebuilt.
326 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
328         * resrc.c (close_input_stream): Delete extraneous logic
330 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
332         * NEWS: Mention support for CRIS.
334 2000-08-21  Nick Clifton  <nickc@redhat.com>
336         * addr2line.c: Changed email address for Ulrich Lauther.
338 2000-08-17  Christopher C. Chimelis <chris@debian.org>
340         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
342 2000-08-17  Nick Clifton  <nickc@redhat.com>
344         * readelf.c (display_debug_pubnames): Only issue warning
345         message once.  Terminate message with a new line.
346         (display_debug_aranges): Only display version 2 debug info.
348 2000-08-14  Todd Vierling <tv@wasabisystems.com>
350         * objcopy.c (strip_main): Silently accept -d as an alias for -g
351         for compatability with old BSD systems.
353 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
355         * NEWS: Mention i860 support.
357 2000-08-11  Carlo Wood <carlo@alinoe.com>
359         * addr2line.c (main): Add const to char *.
361 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
363         * ar.c (main): Don't crash if called with no arguments
364         or only '-X32_64' as an argument.
366 2000-08-08  DJ Delorie  <dj@redhat.com>
368         * resrc.c: use "gcc -xc" instead of -xc-header
370 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
372         * readelf.c (elf/i860.h): Include.
373         (dump_relocations): Add recognition of i860 architecture.
374         (guess_is_rela): Add recognition of i860 architecture.
376 2000-08-03  Nick Clifton  <nickc@cygnus.com>
378         * MAINTAINERS: Add information about CGEN maintainers.
380 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
382         * nm.c (main): Ignore '-X32_64' as an option.
383         * ar.c (main): Likewise.
384         * binutils.texi (nm): Document new option.
385         (ar): Likewise.
387 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
389         * rdcoff.c (external_coff_symbol_p): K&R-ise.
391 2000-07-20  H.J. Lu  <hjl@gnu.org>
393         * binutils/binutils.texi: Put back "@end table" deleted by
394         accident.
396 2000-07-05  Kenneth Block  <krblock@computer.org>
398         * binutils/nm.c: Add optional style to demangle switch.
399         * binutils/objdump.c: Add optional style to demangle switch.
400         * binutils/addr2line.c: Add optional style to demangle switch.
401         * binutils/binutils.texi: Document optional style to demangle
402         switch.
404 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
406         * MAINTAINERS: Add self as CRIS port maintainer.
407         * readelf.c: Include elf/cris.h.
408         (guess_is_rela): Handle EM_CRIS.
409         (dump_relocations): Ditto.
410         (get_machine_name): Ditto.
411         * Makefile.am: Rebuild dependencies.
412         * Makefile.in: Regenerate.
413         * po/binutils.pot: Regenerate.
415 2000-07-19  H.J. Lu  <hjl@gnu.org>
417         * readelf.c (get_dynamic_type): Change "AUXILARY" to
418         "AUXILIARY".
419         (process_dynamic_segment): Print out strings for DT_CONFIG,
420         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
422 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
424         * nm.c (usage): Change output of `nm --help' to include a
425         description of the purpose of the program and a detailed
426         description of the accepted options.
428 2000-07-19  H.J. Lu  <hjl@gnu.org>
430         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
431         to DF_1_NODEFLIB.
433 2000-07-19  H.J. Lu  <hjl@gnu.org>
435         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
437 2000-07-19  H.J. Lu  <hjl@gnu.org>
439         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
440         DT_FEATURE.
441         (process_dynamic_segment): Likewise.
443         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
444         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
445         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
446         DF_1_NODUMP and DF_1_CONLFAT.
448 2000-07-18  Nick Clifton  <nickc@cygnus.com>
450         * binutils.texi (readelf): Fix spelling typo.
452 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
454         * objdump.c (usage): Make output of `objdump --help' more
455         consistent with the rest of the GNU world.  Add a line describing
456         the purpose of the program.
458 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
460         * stabs.c (parse_stab_range_type): Cast to proper type to fix
461         warning.
463 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
465         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
466         to fix warnings.
467         (process_symbol_table): Ditto.
468         (procesS_extended_line_op): Ditto.
469         (display_debug_lines): Ditto.
470         (display_debug_pubnames): Ditto.
471         (read_and_display_attr): Ditto.
473 2000-07-09  Nick Clifton  <nickc@cygnus.com>
475         * MAINTAINERS: Add several more port specific maintainers.
477 2000-07-05  Nick Clifton  <nickc@cygnus.com>
479         * MAINTAINERS: Add blanket write privs for Michael Meissner.
481 2000-06-05  DJ Delorie  <dj@redhat.com>
483         * MAINTAINERS: New.
485 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
487         * dllwrap.c: Changed mistaken dyn_string_append() calls
488         to dyn_string_append_cstr().
490 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
492         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
493         struct debug_type stores size in bytes.
495 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
497         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
498         (CLEANFILES): Add DEPA.
499         * Makefile.in: Regenerate.
501 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
503         * ar.c: Revert incorrect 2000-06-25 patch.
504         * bucomm.c: Likewise.
506 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
508         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
509         (external_coff_symbol_p): New function.
510         (parse_coff): Use it.
512 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
514         * ar.c (normalize): Advance past both characters in a DOS based
515         <letter>: filepath prefix.
516         (main): Likewise.
517         * bucomm.c (make_tempname): Likewise.
519 2000-06-24  Nick Clifton  <nickc@cygnus.com>
521         * objdump.c (usage): Fix description of --stabs switch.
523 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
525         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
526         find one.
527         * Makefile.in: Regenerate.
529 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
531         * ar.c (normalize): Correct pointer comparison when checking for
532         backslashes.
533         (main): Likewise.
534         * bucomm.c (make_tempname): Likewise.
536         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
537         and search for backslashes in the original pathname.
538         (ieee_add_bb11): Likewise.
540 2000-06-18  Nick Clifton  <nickc@redhat.com>
542         * ar.c (print_contents): Improve verbose message.
544 2000-06-15  H.J. Lu  <hjl@gnu.org>
546         * dyn-string.c: Removed. Not needed with dyn-string.c in
547         libiberty.
548         * dyn-string.h: Likewise.
550         * Makefile.am: Remove references to dyn-string.c and
551         dyn-string.h. Rebuild dependency.
552         * Makefile.in: Rebuild.
554 2000-06-15  H.J. Lu  <hjl@gnu.org>
556         * binutils.texi: Put a warning on copying relocatable object
557         files between two different formats.
559 2000-06-13  DJ Delorie  <dj@cygnus.com>
561         * rcparse.y (control): ICON controls take an id as the first
562         parameter, not an optional string.  Also, call new convenience
563         function that takes res_id's.
564         * resrc.c (define_control): missing text means zero-length string,
565         not zero ID.
566         (define_icon_control): New.
567         * windres.h: declare define_icon_control.
569 2000-06-13  H.J. Lu  <hjl@gnu.org>
571         * configure: Regenerate.
573 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
575         * configure.in (VERSION): Update to show this is the CVS mainline.
577 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
579         * strings.c (isgraphic): Interpret <TAB> as a printable character,
580         analogous to <SPACE>.
582 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
584         * objdump.c (display_target_list): Use bfd_close_all_done, not
585         bfd_close to fix crash caused by 2000-05-24 change.
587 2000-05-25  DJ Delorie  <dj@cygnus.com>
589         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
591 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
593         * Makefile.am: Update dependencies with "make dep-am"
594         * Makefile.in: Regenerate.
596 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
598         * ar.c: Include filenames.h.
599         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
600         and drive letters in file names.
601         (main): Support backslashes and drive letters in argv[0].  Drop
602         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
603         FILENAME_CMP instead of strcmp to compare file names.
604         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
605         DJGPP v2.
606         (do_quick_append) [__GO32__]: Ditto.
607         (get_pos_bfd, delete_members, move_members, replace_members):
608         Compare file names with FILENAME_CMP.
610         * bucomm.c: Include filenames.h.
611         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
612         forward/backward slashes and drive letters in file names.
614         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
615         mixed forward/backward slashes and drive letters in file names.
617         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
618         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
619         mode.
621         * objcopy.c: Include filenames.h.
622         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
623         before comparing to "strip".
624         Use FILENAME_CMP to compare file names.
626         * arsup.c: Include filenames.h.
627         (map_over_list, ar_delete, ar_replace, ar_extract): Use
628         FILENAME_CMP to compare file names.
629         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
630         the temporary file name.
632         * configure.in: Check for setmode.
633         * configure: Regenerate.
635 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
637         * objdump.c (display_target_list): Close the bfd.
638         (display_info_table): Likewise.
640 2000-05-14  H.J. Lu  (hjl@gnu.org)
642         * objcopy.c (filter_symbols): Don't strip global symbols in
643         relocatable object files.
645 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
647         * size.c (usage): Associate short options with corresponding long
648         option to give a clue as to their function.
650 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
652         * size.c (main): Accept and ignore `-f' option.
654 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
656         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
657         bindtextdomain): Replace defines with those from intl/libgettext.h
658         to quieten gcc warnings.
660 2000-05-12  H.J. Lu  <hjl@gnu.org>
662         * nlmconv.c (temp_filename): Removed.
664         * nlmconv.c (link_inputs): Use make_temp_file () instead of
665         choose_temp_base ().
666         * objdump.c (display_target_list): Likewise.
667         (display_info_table): Likewise.
669 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
671         * objcopy.c (setup_section): Add const and gettext calls for err.
673 2000-05-02  H.J. Lu  <hjl@gnu.org>
675         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
676         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
677         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
678         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
679         and ELFOSABI_OPENBSD.
681 2000-05-02  Kazu Hirata  <kazu@hxi.com>
683         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
684         * srconv.c: Likewise.
685         * sysdump.c: Likewise.
687 Sun Apr 23 14:23:26 2000  Denis Chertykov  <denisc@overta.ru>
689         * readelf.c (guess_is_rela): AVR uses RELA relocations.
690         (get_machine_name): machine name for EM_AVR added.
692 Fri Apr 21 13:20:53 2000  Richard Henderson  <rth@cygnus.com>
693                           David Mosberger  <davidm@hpl.hp.com>
695         * Makefile.am (readelf.o): Add elf/ia64.h.
696         * Makefile.in: Rebuild.
697         * readelf.c: Include elf/ia64.h.
698         (guess_is_rela, dump_relocations): Handle EM_IA_64.
700 2000-04-17  Timothy Wall  <twall@cygnus.com>
702         * objdump.c (disassemble_data): Set octets per byte *after*
703         resolving arch/mach for binary files.
705 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
707         * arlex.l: Add directives to increase lex buffer size.
709         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
710         already included by bucomm.h.
712 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
714         * readelf (dynamic_segment_mips_val): Call `sprintf', not
715         `strftime' since strftime is not available on all systems.
716         (process_mips_specific): Ditto.
718 Fri Apr  7 15:56:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
720         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
721         --enable-build-warnings option.
722         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
723         * Makefile.in, configure: Re-generate.
725 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
727         * addr2line.c: Update copyright.
728         * objcopy.1: Likewise, and title.
729         * strings.1: Likewise.
731         * version.c (print_version): Add 2000.
733         * rddbg.c (read_section_stabs_debugging_info): Don't use
734         bfd_size_type for strx to avoid printf problems if BFD64.
736         * bucomm.c: (report): Remove `static'.
737         Move inclusion of stdarg.h/vararg.h from here.
738         * bucomm.h: To here.
739         (CONST): Change all occurences to const.
740         (report): Declare it.
741         (bfd_fatal): Add ATTRIBUTE_NORETURN.
742         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
743         (non_fatal): Add ATTRIBUTE_PRINTF_1.
745         * ar.c (main): Use fatal or non_fatal instead of fprintf.
746         Correct a typo in an error message.
747         (do_quick_append): Use non_fatal instead of fprintf.
748         (move_members): Use fatal instead of fprintf, exit.
749         * coffdump.c (main): Same here.
751         * dlltool.c (display): Delete.
752         (warn): Delete.
753         (inform): Use `report' instead of `display'.
754         (rvaafter): Remove trailing \n from fatal error msg.
755         (rvabefore): Ditto.
756         (asm_prefix): Ditto.
757         (yyerror): Replace `warn' with `non_fatal', and remove \n.
758         (def_name): Likewise.
759         (run): Likewise.
760         (scan_all_symbols): Likewise.
761         (gen_lib_file): Likewise.
762         (def_library): Likewise.  Remove extra program_name too.
763         (run): Remove \n from inform strings.
764         (scan_drectve_symbols): Likewise.
765         (add_excludes): Likewise.
766         (scan_open_obj_file): Likewise.
767         (gen_exp_file): Likewise.
768         (gen_lib_file): Likewise.
769         (process_duplicates): Likewise.
771         * Makefile.am (dllwrap_SOURCES): Add version.c.
772         * dllwrap.c (program_version): Delete.
773         (print_version): Delete.
774         (display): Always print trailing \n.
775         (warn): New.
776         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
777         (run): Here too.
778         (main): And here.
779         (usage): gettext'ify.
780         (long_options): Add missing initialisers.
782         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
783         (select_output_format): Likewise.
784         (powerpc_mangle_relocs): Likewise.
785         (link_inputs): Likewise.
787         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
788         (set_output_format): Likewise.
789         (main): Use non_fatal instead of fprintf.
790         (display_rel_file): Likewise.
792         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
793         (slurp_dynamic_symtab): Same here.
794         (disassemble_data): And here.
795         (read_section_stabs): And here.
796         (read_section_stabs): And here.
797         (dump_bfd): And here.
798         (main): And here.
799         (objdump_sprintf): Use fatal instead of fprintf, exit.
800         (disassemble_data): Same here.
802         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
803         (parse_coff_struct_type): Same here.
804         (parse_coff_enum_type): And here.
805         (parse_coff): And here.
806         * rddbg.c (read_debugging_info): And here.
807         * size.c (main): And here.
808         * windres.c (format_from_name): And here.
809         * wrstabs.c (stab_write_symbol): Here too.
810         (write_stabs_in_sections_debugging_info): And here.
811         (stab_int_type): And here.
812         (stab_struct_field): And here.
813         (stab_typdef): And here.
815         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
816         * srconv.c (main): Same here.
817         * strings.c (main): And here.
818         (integer_arg): And here.
819         * sysdump.c (main): And here.
821 2000-04-06  Timothy Wall  <twall@cygnus.com>
823         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
825 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
827         * readelf.c (decode_location_expression): Loop through multiple
828         operations.
829         (read_and_display_attr): Pass in length.
831         * readelf.c (read_and_display_attr): Add CU offset to references.
832         (display_debug_info): Pass it in.
834 2000-04-06  Nick Clifton  <nickc@cygnus.com>
836         * readelf.c (decode_ARM_machine_flags): New function.
837         (get_machine_flags): Call decode_ARM_machine_flags for ARM
838         targets.
840         (get_machine_name): Catch EM_AVR
842 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
844         * binutils.texi: Remove optional `=' from long options that have
845         an `=' in the argument.
846         * objcopy.1: Here too.  Remove extra space on discard-all.
848         * binutils.texi (objcopy): Mention --redefine-sym.
849         * objcopy.1: Here too.
850         * NEWS: And here.
852         * objcopy.c (parse_flags): Split off flag names from error message
853         gettext as they are not translated.
854         (copy_main): Similarly split off option name for --add-section,
855         --set-section-flags, --change-section-vma, --change-section-lma
856         error messages.
857         Some white space changes.
859         from Matthew Benjamin <matt@linuxbox.nu>
860         * objcopy.c (struct redefine_node): New.
861         (redefine_sym_list): New.
862         (redefine_list_append): New.
863         (lookup_sym_redefinition): New.
864         (OPTION_REDEFINE_SYM): New.
865         (copy_options): Add --redefine-sym option.
866         (copy_usage): Mention it.
867         (filter_symbols): Rename symbols on redefine_sym_list.
868         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
869         (copy_main): Handle OPTION_REDEFINE_SYM.
871 2000-04-04  H.J. Lu  <hjl@gnu.org>
873         * readelf.c (process_symbol_table): Correctly read in symbol
874         versioning information.
876 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
878         * po/binutils.pot: Regenerate.
880         * addr2line.c (usage): Restore translated part of bug string.
881         * ar.c (usage): Likewise.
882         * nlmconv.c (show_usage): Likewise.
883         * nm.c (usage): Likewise.
884         * objcopy.c (copy_usage): Likewise.
885         (strip_usage): Likewise.
886         * objdump.c (usage): Likewise.
887         * readelf.c (usage): Likewise.
888         * size.c (usage): Likewise.
889         * strings.c (usage): Likewise.
890         * windres.c (usage): Likewise.
892         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
893         (DEP): Quote when passing vars to sub-make.  Add warning
894         message to end.
895         (DEP1): Rewrite for "gcc -MM".
896         (CLEANFILES): Add DEP2.
897         Update dependencies.
898         * Makefile.in: Regenerate.
900 2000-04-04  H.J. Lu  <hjl@gnu.org>
902         * Makefile.am (GENERATED_HFILES): Add rcparse.h
903         (arparse.h): Depend on arparse.c
904         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
906 2000-04-03  H.J. Lu  (hjl@gnu.org)
908         * size.c (usage): Use REPORT_BUGS_TO.
910 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
912         * bucomm.h: #include "bin-bugs.h"
913         * addr2line.c (usage): Use REPORT_BUGS_TO.
914         * ar.c (usage): Likewise.
915         * nlmconv.c (show_usage): Likewise.
916         * nm.c (usage): Likewise.
917         (OPTION_TARGET): Define.
918         (long_options): Use OPTION_TARGET rather than 200.
919         (main): Likewise.
921         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
922         (strip_usage): Likewise.
923         * objdump.c (usage): Likewise.
924         * readelf.c (usage): Likewise.
925         * strings.c (usage): Likewise.
926         * windres.c (usage): Likewise.
928 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
930         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
932 2000-03-27  Nick Clifton  <nickc@cygnus.com>
934         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
935         string offsets in corrupt stabs entries.
937 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
939         * readelf.c: Include elf/avr.h
940         (dump_relocations): Add EM_AVR case.
942 2000-03-09  Tim Waugh  <twaugh@redhat.com>
944         * strings.1: Correct '-bytes' to '--bytes'.
946 2000-03-08  H.J. Lu  <hjl@gnu.org>
948         * Makefile.am (install-exec-local): Depend on
949         install-binPROGRAMS for parallel make.
950         * Makefile.in: Regenerated.
952 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
954         From Brad Lucier <lucier@math.purdue.edu>:
955         * readelf.c (process_dynamic_segment): Add cast to make sure
956         argument to %* is int.
958 2000-02-25  H.J. Lu  <hjl@gnu.org>
960         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
962 2000-02-24  Nick Clifton  <nickc@cygnus.com>
964         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
965         * configure: Regenerate.
967         * dlltoolc.: Add support for sh-pe and mips-pe targets.
968         * rescoff.c: Add support for sh-pe and mips-pe targets.
970 2000-02-23  H.J. Lu  <hjl@gnu.org>
972         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
974 2000-02-22  Nick Clifton  <nickc@cygnus.com>
976         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
978 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
980         From Brad Lucier <lucier@math.purdue.edu>:
981         * readelf.c (process_version_sections): Add casts to make sure
982         argument to %* is an int.
983         (process_mips_specific): Add casts to make printf arguments match
984         format.
986 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
988         * objdump.c (dump_section_header): Change `opb' to unsigned.
989         (find_symbol_for_address): Same here.
990         (disassemble_data): And here.  Change `addr_offset',
991         `stop_offset', `nextstop_offset' to unsigned long.
992         (dump_data): Change opb to unsigned.
994 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
996         * resrc.c: Remove unmatched #if for cygwin.
998 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1000         * binutils.texi: Document the change of flavor name from atpcs-special
1001         to special-atpcs to prevent name conflict in gdb.
1003 2000-02-08  Timothy Wall  <twall@redhat.com>
1005         * objdump.c (show_line): Fix bug preventing printing of the very
1006         first line (line zero) of a file when interlisting source and
1007         assembly.  Added option to print entire context from start of file
1008         when the first line from that file is encountered.
1010 2000-02-03  Timothy Wall <twall@redhat.com>
1012         * binutils/objdump.c (dump_section_header, find_symbol_for_address,
1013         show_line, disassemble_bytes, disassemble_data, dump_data):
1014         distinguish between octets and bytes.
1016 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
1018         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1019         check to unresolved symbols.
1020         (print_symbol_info_sysv):  Ditto.
1021         (print_symbol_info_posix):  Ditto.
1023         * binutils.texi: Document new 'V' symclass flag for nm.
1025 2000-01-27  Nick Clifton  <nickc@redhat.com>
1027         * binutils.texi (objdump): Document new ARM specific
1028         disassembler options.
1030         * objdump.c (usage): Call disassembler_usage().
1032 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
1034         * readelf.c (get_dynamic_flags): Return buff.
1035         (process_dynamic_segment): Don't pass error strings to printf
1036         as format arg.
1037         (read_and_display_attr): Use lx and ld to print longs.
1038         (process_corefile_note_segment): Cast bfd_vma to unsigned long
1039         before printing.
1040         Update copyright.
1042 2000-01-17  Nick Clifton  <nickc@cygnus.com>
1044         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1046 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
1048         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1049         false.
1050         (debug_tag_type): Here too.
1051         * ieee.c (ieee_builtin_type): And here.
1052         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1054 2000-01-13  Nick Clifton  <nickc@cygnus.com>
1056         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1057         System/370".
1059 2000-01-11  Nick Clifton  <nickc@cygnus.com>
1061         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1063 2000-01-10  Nick Clifton  <nickc@cygnus.com>
1065         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1067 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
1069         * windres.c (long_options): Add --use-temp-file and
1070         --no-use-temp-file options.
1071         (usage): Document.
1072         (main): Handle.
1074         * windres.h: Update read_rc_file prototype.
1076         * resrc.c (cpp_temp_file): New static variable.
1077         (istream_type): New static variable.
1078         (close_pipe): Delete function.
1079         (run_cmd): New static function.
1080         (open_input_stream): New static function.
1081         (close_input_stream): New static function.
1082         (look_for_default): Handle DOS directory separator. Use
1083         open_input_stream instead of popen.
1084         (read_rc_file): Likewise.
1086         * binutils.texi: Document --use-temp-file, --no-use-temp-file
1087         options.
1089 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
1091         * dlltool.c (create_compat_implib): New variable.
1092         (gen_exp_file): Use.
1093         (make_one_lib_file): Use.
1094         (long_options): Add --compat-implib option.
1095         (usage): Handle.
1096         (main): Handle.
1098         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1099         (main): Use. Don't look for "32" in cygwin and mingw target names.
1101 2000-01-03  Nick Clifton  <nickc@cygnus.com>
1103         * binutils.texi: Document new, ARM specific disassembler
1104         command line switch "-M force-thumb".
1106 For older changes see ChangeLog-9899
1108 Local Variables:
1109 mode: change-log
1110 left-margin: 8
1111 fill-column: 74
1112 version-control: never
1113 End: