* configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
[binutils.git] / binutils / ChangeLog
blob4cbb07d085f7dadf301272248d2e6bdf5592d84f
1 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
3         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
4         * aclocal.m4: Regenerate.
5         * configure: Regenerate.
7 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
9         * bucomm.c (bfd_target_vector): Change extern array to pointer.
10         * objdump.c (bfd_target_vector): Likewise.
12 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
14         * readelf.c (process_unwind): New function.
15         (slurp_ia64_unwind_table): Ditto.
16         (dump_ia64_unwind): Ditto.
17         (find_symbol_for_address): Ditto.
18         (slurp_rela_relocs): New function (split off from dump_relocations()).
19         (slurp_rel_relocs): Ditto.
20         (parse_args): Handle '-u' option.
22         * unwind-ia64.c: New file.
23         * unwind-ia64.h: New file.
24         * Makefile.am: Include unwind-ia64.c in readelf build.
25         * Makefile.in: Regenerate.
26         * po/binutils.pot: Regenerate.
28 2001-02-04  Philip Blundell  <philb@gnu.org>
30         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
31         * configure: Regenerate.
33 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
35         * ieee.c (ieee_add_bb11): Don't check for backslashes
36         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
38 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
40         * ieee.c: Update copyright.
41         (ieee_start_compilation_unit): Don't check for backslashes
42         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
44         * stabs.c: Update copyright. Include "filenames.h".
45         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
47 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
49         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
50         sections are present before using them.  Remove code duplication.
51         (process_symbol_table): Check if VERDEF or VERNEED sections are
52         present before using them.
54 2001-01-17  Nick Clifton  <nickc@redhat.com>
56         * objcopy.c (copy_object): Fail if attempting to convert the
57         endianness of the input object file.
59         * binutils.texi: Explain that objcopy cannot convert endianness.
61 2001-01-16  Nick Clifton  <nickc@redhat.com>
63         * readelf.c (string_table_length): New variable.
64         (SECTION_NAME): Catch out of range indices and missing section
65         pointers.
66         (process_section_headers): Delete useless local variable
67         string_table_offset.  Set the value of string_table_length
68         after loading the string table.
69         (process_mips_specific): Use SECTION_NAME macro.
70         (process_file): Set string_table_length to 0 when it is freed.
72 2001-01-12  Nick Clifton  <nickc@redhat.com>
74         * version.c (print_version): Update copyright date.
76 2001-01-11  Peter Targett  <peter.targett@arccores.com>
78         * readelf.c (dump_relocations): Include selection with EM_ARC.
79         (get_machine_name) Update name to "ARC".
81 2001-01-09  Nick Clifton  <nickc@redhat.com>
83         * Makefile.am: Add rule to build objdump.o from objdump.c and
84         using OBJDUMP_DEFS.
85         * Makefile.in: Regenerate.
87         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
88         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
89         -DDISASSEMBLER_NEEDS_RELOCS.
90         * configure: Regenerate.
92         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
93         is defined read in the relocs even if dump_reloc_info is
94         false.
96 2001-01-07  Philip Blundell  <philb@gnu.org>
98         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
99         `bug-binutils'.
100         * README: Likewise.
102 2000-12-19  Nick Clifton  <nickc@redhat.com>
104         * dlltool.c: Add missing support for arm-epoc-pe.
105         * configure.in: Add missing support for arm-epoc-pe.
106         * configure: Regenerate.
108 2000-12-15  Nick Clifton  <nickc@redhat.com>
110         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
111         Mode parts of the x86 port.
113 2000-12-04  Andreas Jaeger  <aj@suse.de>
115         * readelf.c (guess_is_rela): Add EM_X86_64.
116         (dump_relocations): Add EM_X86_64.
117         (get_machine_name): Add EM_X86_64.
118         Include "elf/x86-64.h".
120 2000-12-12  Nick Clifton  <nickc@redhat.com>
122         * readelf.c: Fix formatting.
124 Mon Dec 11 14:30:21 MET 2000  Jan Hubicka  <jh@suse.cz>
126         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
128 2000-12-07  Andrew Haley  <aph@redhat.com>
130         * readelf.c (display_debug_frames): Only display columns that are
131         referenced by the frame debug info.
133 2000-12-05  Nick Clifton  <nickc@redhat.com>
135         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
137 2000-12-04  Jason Merrill  <jason@redhat.com>
139         * readelf.c (process_section_headers): Handle linkonce.wi sections.
140         (display_debug_section): Likewise.
141         (display_debug_info): Display CU header before bailing.
143 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
145         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
146         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
147         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
149         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
150         and E_MIPS_ARCH_64.
152         * readelf.c (get_machine_flags): Add case for
153         E_MIPS_MACH_SB1.
155 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
157         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
159 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
161         * MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.
162         Change sourceware.cygnus.com to sources.redhat.com.
163         Fix typo for "amongst".
165 2000-11-28  Nick Clifton  <nickc@redhat.com>
167         * strip.1 (COPYING): Mention that the GNU Free Documentation
168         License is present in the sources, but not the output, and
169         also available from the GNU website.
170         (GNU Free Documentation License): Comment out this section.
171         * strings.1: Ditto.
172         * size.1: Ditto.
173         * ranlib.1: Ditto.
174         * objdump.1: Ditto.
175         * objcopy.1: Ditto.
176         * nm.1: Ditto.
177         * nlmconv.1: Ditto.
178         * ar.1: Ditto.
179         * addr2line.1: Ditto.
181 2000-11-27  DJ Delorie  <dj@redhat.com>
183         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
184         (parse_args): Support -wf option.
185         (process_section_headers): Ditto.
186         (debug_displays): Ditto.
187         (display_debug_frames): New, dump *_frame sections.
188         (frame_need_space): Support for above.
189         (frame_display_row): Ditto.
190         * binutils.texi: Document it.
192 2000-11-24  Nick Clifton  <nickc@redhat.com>
194         * NEWS: Announce support for v5t, v5te and XScale.
196 2000-11-22  Nick Clifton  <nickc@redhat.com>
198         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
199         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
200         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
201         (get_elf_section_flags: Add SHF_GROUP.
202         (process_section_headers): Adjust output for 32-bit binaries
203         to look nice on an 80 column terminal.
205 2000-11-20  H.J. Lu  <hjl@gnu.org>
207         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
208         ELFOSABI_AIX.
210 2000-11-17  Richard Henderson  <rth@redhat.com>
212         * readelf.c (display_debug_lines): Adjust last change to
213         use sizeof (external->li_length).
215 2000-11-17  Richard Henderson  <rth@redhat.com>
217         * readelf.c (display_debug_lines): Fix section length check
218         and end_of_sequence computation.
220 2000-11-06  Nick Clifton  <nickc@redhat.com>
222         * binutils.texi: Add GNU Free Documentation License.
223         * objcopy.1: Add GNU Free Documentation License.
224         * objdump.1: Add GNU Free Documentation License.
225         * addr2line.1: Add GNU Free Documentation License.
226         * ar.1: Add GNU Free Documentation License.
227         * nlmconv.1: Add GNU Free Documentation License.
228         * nm.1: Add GNU Free Documentation License.
229         * ranlib.1: Add GNU Free Documentation License.
230         * size.1: Add GNU Free Documentation License.
231         * strings.1: Add GNU Free Documentation License.
232         * strip.1: Add GNU Free Documentation License.
234 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
236         * objcopy.c (--srec-len=nn): New parameter to set the
237         maximum length of generated Srecords.
238         (--srec-forceS3): New parameter that restricts the generation of
239         Srecords to type S3 only.
240         * binutils.texi: Document new command line switches.
241         * objcopy.1: Docuemnt the new command line switches.
242         * NEWS: Announce the existence of the new command line switches.
244 2000-10-31  Nick Clifton  <nickc@redhat.com>
246         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
247         code.  Add Eric Chrisopher as maintainer of MN10300 port.
249 2000-10-12  Roger Sayle  <roger@metaphorics.com>
251         * Make comma after string after icon/control optional.
253 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
255         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
257         * NEWS: Mention support for MIPS32.
259 2000-09-08  Nick Clifton  <nickc@redhat.com>
261         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
263 2000-09-07  H.J. Lu  <hjl@gnu.org>
265         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
266         * configure: Rebuild.
268 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
270         * configure: Rebuilt with new libtool.m4.
272 2000-09-05  Nick Clifton  <nickc@redhat.com>
274         * aclocal.m4: Regenerate.
275         * config.in: Regenerate.
276         * configure: Regenerate.
278 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
280         * strip.1: Fix stray '\' in -o formatting.
282 2000-09-02  Nick Clifton  <nickc@redhat.com>
284         * configure.in: Increase version number to 2.10.91.
285         * configure: Regenerate.
286         * aclocal.m4: Regenerate.
287         * config.in: Regenerate.
288         * po/binutils.pot: Regenerate.
290 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
292         * acinclude.m4: Include libtool and gettext macros from the
293         top level.
294         * aclocal.m4, configure: Rebuilt.
296 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
298         * resrc.c (close_input_stream): Delete extraneous logic
300 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
302         * NEWS: Mention support for CRIS.
304 2000-08-21  Nick Clifton  <nickc@redhat.com>
306         * addr2line.c: Changed email address for Ulrich Lauther.
308 2000-08-17  Christopher C. Chimelis <chris@debian.org>
310         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
312 2000-08-17  Nick Clifton  <nickc@redhat.com>
314         * readelf.c (display_debug_pubnames): Only issue warning
315         message once.  Terminate message with a new line.
316         (display_debug_aranges): Only display version 2 debug info.
318 2000-08-14  Todd Vierling <tv@wasabisystems.com>
320         * objcopy.c (strip_main): Silently accept -d as an alias for -g
321         for compatability with old BSD systems.
323 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
325         * NEWS: Mention i860 support.
327 2000-08-11  Carlo Wood <carlo@alinoe.com>
329         * addr2line.c (main): Add const to char *.
331 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
333         * ar.c (main): Don't crash if called with no arguments
334         or only '-X32_64' as an argument.
336 2000-08-08  DJ Delorie  <dj@redhat.com>
338         * resrc.c: use "gcc -xc" instead of -xc-header
340 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
342         * readelf.c (elf/i860.h): Include.
343         (dump_relocations): Add recognition of i860 architecture.
344         (guess_is_rela): Add recognition of i860 architecture.
346 2000-08-03  Nick Clifton  <nickc@cygnus.com>
348         * MAINTAINERS: Add information about CGEN maintainers.
350 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
352         * nm.c (main): Ignore '-X32_64' as an option.
353         * ar.c (main): Likewise.
354         * binutils.texi (nm): Document new option.
355         (ar): Likewise.
357 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
359         * rdcoff.c (external_coff_symbol_p): K&R-ise.
361 2000-07-20  H.J. Lu  <hjl@gnu.org>
363         * binutils/binutils.texi: Put back "@end table" deleted by
364         accident.
366 2000-07-05  Kenneth Block  <krblock@computer.org>
368         * binutils/nm.c: Add optional style to demangle switch.
369         * binutils/objdump.c: Add optional style to demangle switch.
370         * binutils/addr2line.c: Add optional style to demangle switch.
371         * binutils/binutils.texi: Document optional style to demangle
372         switch.
374 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
376         * MAINTAINERS: Add self as CRIS port maintainer.
377         * readelf.c: Include elf/cris.h.
378         (guess_is_rela): Handle EM_CRIS.
379         (dump_relocations): Ditto.
380         (get_machine_name): Ditto.
381         * Makefile.am: Rebuild dependencies.
382         * Makefile.in: Regenerate.
383         * po/binutils.pot: Regenerate.
385 2000-07-19  H.J. Lu  <hjl@gnu.org>
387         * readelf.c (get_dynamic_type): Change "AUXILARY" to
388         "AUXILIARY".
389         (process_dynamic_segment): Print out strings for DT_CONFIG,
390         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
392 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
394         * nm.c (usage): Change output of `nm --help' to include a
395         description of the purpose of the program and a detailed
396         description of the accepted options.
398 2000-07-19  H.J. Lu  <hjl@gnu.org>
400         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
401         to DF_1_NODEFLIB.
403 2000-07-19  H.J. Lu  <hjl@gnu.org>
405         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
407 2000-07-19  H.J. Lu  <hjl@gnu.org>
409         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
410         DT_FEATURE.
411         (process_dynamic_segment): Likewise.
413         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
414         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
415         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
416         DF_1_NODUMP and DF_1_CONLFAT.
418 2000-07-18  Nick Clifton  <nickc@cygnus.com>
420         * binutils.texi (readelf): Fix spelling typo.
422 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
424         * objdump.c (usage): Make output of `objdump --help' more
425         consistent with the rest of the GNU world.  Add a line describing
426         the purpose of the program.
428 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
430         * stabs.c (parse_stab_range_type): Cast to proper type to fix
431         warning.
433 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
435         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
436         to fix warnings.
437         (process_symbol_table): Ditto.
438         (procesS_extended_line_op): Ditto.
439         (display_debug_lines): Ditto.
440         (display_debug_pubnames): Ditto.
441         (read_and_display_attr): Ditto.
443 2000-07-09  Nick Clifton  <nickc@cygnus.com>
445         * MAINTAINERS: Add several more port specific maintainers.
447 2000-07-05  Nick Clifton  <nickc@cygnus.com>
449         * MAINTAINERS: Add blanket write privs for Michael Meissner.
451 2000-06-05  DJ Delorie  <dj@redhat.com>
453         * MAINTAINERS: New.
455 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
457         * dllwrap.c: Changed mistaken dyn_string_append() calls
458         to dyn_string_append_cstr().
460 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
462         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
463         struct debug_type stores size in bytes.
465 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
467         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
468         (CLEANFILES): Add DEPA.
469         * Makefile.in: Regenerate.
471 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
473         * ar.c: Revert incorrect 2000-06-25 patch.
474         * bucomm.c: Likewise.
476 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
478         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
479         (external_coff_symbol_p): New function.
480         (parse_coff): Use it.
482 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
484         * ar.c (normalize): Advance past both characters in a DOS based
485         <letter>: filepath prefix.
486         (main): Likewise.
487         * bucomm.c (make_tempname): Likewise.
489 2000-06-24  Nick Clifton  <nickc@cygnus.com>
491         * objdump.c (usage): Fix description of --stabs switch.
493 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
495         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
496         find one.
497         * Makefile.in: Regenerate.
499 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
501         * ar.c (normalize): Correct pointer comparison when checking for
502         backslashes.
503         (main): Likewise.
504         * bucomm.c (make_tempname): Likewise.
506         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
507         and search for backslashes in the original pathname.
508         (ieee_add_bb11): Likewise.
510 2000-06-18  Nick Clifton  <nickc@redhat.com>
512         * ar.c (print_contents): Improve verbose message.
514 2000-06-15  H.J. Lu  <hjl@gnu.org>
516         * dyn-string.c: Removed. Not needed with dyn-string.c in
517         libiberty.
518         * dyn-string.h: Likewise.
520         * Makefile.am: Remove references to dyn-string.c and
521         dyn-string.h. Rebuild dependency.
522         * Makefile.in: Rebuild.
524 2000-06-15  H.J. Lu  <hjl@gnu.org>
526         * binutils.texi: Put a warning on copying relocatable object
527         files between two different formats.
529 2000-06-13  DJ Delorie  <dj@cygnus.com>
531         * rcparse.y (control): ICON controls take an id as the first
532         parameter, not an optional string.  Also, call new convenience
533         function that takes res_id's.
534         * resrc.c (define_control): missing text means zero-length string,
535         not zero ID.
536         (define_icon_control): New.
537         * windres.h: declare define_icon_control.
539 2000-06-13  H.J. Lu  <hjl@gnu.org>
541         * configure: Regenerate.
543 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
545         * configure.in (VERSION): Update to show this is the CVS mainline.
547 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
549         * strings.c (isgraphic): Interpret <TAB> as a printable character,
550         analogous to <SPACE>.
552 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
554         * objdump.c (display_target_list): Use bfd_close_all_done, not
555         bfd_close to fix crash caused by 2000-05-24 change.
557 2000-05-25  DJ Delorie  <dj@cygnus.com>
559         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
561 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
563         * Makefile.am: Update dependencies with "make dep-am"
564         * Makefile.in: Regenerate.
566 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
568         * ar.c: Include filenames.h.
569         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
570         and drive letters in file names.
571         (main): Support backslashes and drive letters in argv[0].  Drop
572         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
573         FILENAME_CMP instead of strcmp to compare file names.
574         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
575         DJGPP v2.
576         (do_quick_append) [__GO32__]: Ditto.
577         (get_pos_bfd, delete_members, move_members, replace_members):
578         Compare file names with FILENAME_CMP.
580         * bucomm.c: Include filenames.h.
581         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
582         forward/backward slashes and drive letters in file names.
584         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
585         mixed forward/backward slashes and drive letters in file names.
587         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
588         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
589         mode.
591         * objcopy.c: Include filenames.h.
592         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
593         before comparing to "strip".
594         Use FILENAME_CMP to compare file names.
596         * arsup.c: Include filenames.h.
597         (map_over_list, ar_delete, ar_replace, ar_extract): Use
598         FILENAME_CMP to compare file names.
599         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
600         the temporary file name.
602         * configure.in: Check for setmode.
603         * configure: Regenerate.
605 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
607         * objdump.c (display_target_list): Close the bfd.
608         (display_info_table): Likewise.
610 2000-05-14  H.J. Lu  (hjl@gnu.org)
612         * objcopy.c (filter_symbols): Don't strip global symbols in
613         relocatable object files.
615 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
617         * size.c (usage): Associate short options with corresponding long
618         option to give a clue as to their function.
620 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
622         * size.c (main): Accept and ignore `-f' option.
624 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
626         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
627         bindtextdomain): Replace defines with those from intl/libgettext.h
628         to quieten gcc warnings.
630 2000-05-12  H.J. Lu  <hjl@gnu.org>
632         * nlmconv.c (temp_filename): Removed.
634         * nlmconv.c (link_inputs): Use make_temp_file () instead of
635         choose_temp_base ().
636         * objdump.c (display_target_list): Likewise.
637         (display_info_table): Likewise.
639 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
641         * objcopy.c (setup_section): Add const and gettext calls for err.
643 2000-05-02  H.J. Lu  <hjl@gnu.org>
645         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
646         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
647         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
648         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
649         and ELFOSABI_OPENBSD.
651 2000-05-02  Kazu Hirata  <kazu@hxi.com>
653         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
654         * srconv.c: Likewise.
655         * sysdump.c: Likewise.
657 Sun Apr 23 14:23:26 2000  Denis Chertykov  <denisc@overta.ru>
659         * readelf.c (guess_is_rela): AVR uses RELA relocations.
660         (get_machine_name): machine name for EM_AVR added.
662 Fri Apr 21 13:20:53 2000  Richard Henderson  <rth@cygnus.com>
663                           David Mosberger  <davidm@hpl.hp.com>
665         * Makefile.am (readelf.o): Add elf/ia64.h.
666         * Makefile.in: Rebuild.
667         * readelf.c: Include elf/ia64.h.
668         (guess_is_rela, dump_relocations): Handle EM_IA_64.
670 2000-04-17  Timothy Wall  <twall@cygnus.com>
672         * objdump.c (disassemble_data): Set octets per byte *after*
673         resolving arch/mach for binary files.
675 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
677         * arlex.l: Add directives to increase lex buffer size.
679         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
680         already included by bucomm.h.
682 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
684         * readelf (dynamic_segment_mips_val): Call `sprintf', not
685         `strftime' since strftime is not available on all systems.
686         (process_mips_specific): Ditto.
688 Fri Apr  7 15:56:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
690         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
691         --enable-build-warnings option.
692         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
693         * Makefile.in, configure: Re-generate.
695 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
697         * addr2line.c: Update copyright.
698         * objcopy.1: Likewise, and title.
699         * strings.1: Likewise.
701         * version.c (print_version): Add 2000.
703         * rddbg.c (read_section_stabs_debugging_info): Don't use
704         bfd_size_type for strx to avoid printf problems if BFD64.
706         * bucomm.c: (report): Remove `static'.
707         Move inclusion of stdarg.h/vararg.h from here.
708         * bucomm.h: To here.
709         (CONST): Change all occurences to const.
710         (report): Declare it.
711         (bfd_fatal): Add ATTRIBUTE_NORETURN.
712         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
713         (non_fatal): Add ATTRIBUTE_PRINTF_1.
715         * ar.c (main): Use fatal or non_fatal instead of fprintf.
716         Correct a typo in an error message.
717         (do_quick_append): Use non_fatal instead of fprintf.
718         (move_members): Use fatal instead of fprintf, exit.
719         * coffdump.c (main): Same here.
721         * dlltool.c (display): Delete.
722         (warn): Delete.
723         (inform): Use `report' instead of `display'.
724         (rvaafter): Remove trailing \n from fatal error msg.
725         (rvabefore): Ditto.
726         (asm_prefix): Ditto.
727         (yyerror): Replace `warn' with `non_fatal', and remove \n.
728         (def_name): Likewise.
729         (run): Likewise.
730         (scan_all_symbols): Likewise.
731         (gen_lib_file): Likewise.
732         (def_library): Likewise.  Remove extra program_name too.
733         (run): Remove \n from inform strings.
734         (scan_drectve_symbols): Likewise.
735         (add_excludes): Likewise.
736         (scan_open_obj_file): Likewise.
737         (gen_exp_file): Likewise.
738         (gen_lib_file): Likewise.
739         (process_duplicates): Likewise.
741         * Makefile.am (dllwrap_SOURCES): Add version.c.
742         * dllwrap.c (program_version): Delete.
743         (print_version): Delete.
744         (display): Always print trailing \n.
745         (warn): New.
746         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
747         (run): Here too.
748         (main): And here.
749         (usage): gettext'ify.
750         (long_options): Add missing initialisers.
752         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
753         (select_output_format): Likewise.
754         (powerpc_mangle_relocs): Likewise.
755         (link_inputs): Likewise.
757         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
758         (set_output_format): Likewise.
759         (main): Use non_fatal instead of fprintf.
760         (display_rel_file): Likewise.
762         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
763         (slurp_dynamic_symtab): Same here.
764         (disassemble_data): And here.
765         (read_section_stabs): And here.
766         (read_section_stabs): And here.
767         (dump_bfd): And here.
768         (main): And here.
769         (objdump_sprintf): Use fatal instead of fprintf, exit.
770         (disassemble_data): Same here.
772         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
773         (parse_coff_struct_type): Same here.
774         (parse_coff_enum_type): And here.
775         (parse_coff): And here.
776         * rddbg.c (read_debugging_info): And here.
777         * size.c (main): And here.
778         * windres.c (format_from_name): And here.
779         * wrstabs.c (stab_write_symbol): Here too.
780         (write_stabs_in_sections_debugging_info): And here.
781         (stab_int_type): And here.
782         (stab_struct_field): And here.
783         (stab_typdef): And here.
785         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
786         * srconv.c (main): Same here.
787         * strings.c (main): And here.
788         (integer_arg): And here.
789         * sysdump.c (main): And here.
791 2000-04-06  Timothy Wall  <twall@cygnus.com>
793         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
795 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
797         * readelf.c (decode_location_expression): Loop through multiple
798         operations.
799         (read_and_display_attr): Pass in length.
801         * readelf.c (read_and_display_attr): Add CU offset to references.
802         (display_debug_info): Pass it in.
804 2000-04-06  Nick Clifton  <nickc@cygnus.com>
806         * readelf.c (decode_ARM_machine_flags): New function.
807         (get_machine_flags): Call decode_ARM_machine_flags for ARM
808         targets.
810         (get_machine_name): Catch EM_AVR
812 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
814         * binutils.texi: Remove optional `=' from long options that have
815         an `=' in the argument.
816         * objcopy.1: Here too.  Remove extra space on discard-all.
818         * binutils.texi (objcopy): Mention --redefine-sym.
819         * objcopy.1: Here too.
820         * NEWS: And here.
822         * objcopy.c (parse_flags): Split off flag names from error message
823         gettext as they are not translated.
824         (copy_main): Similarly split off option name for --add-section,
825         --set-section-flags, --change-section-vma, --change-section-lma
826         error messages.
827         Some white space changes.
829         from Matthew Benjamin <matt@linuxbox.nu>
830         * objcopy.c (struct redefine_node): New.
831         (redefine_sym_list): New.
832         (redefine_list_append): New.
833         (lookup_sym_redefinition): New.
834         (OPTION_REDEFINE_SYM): New.
835         (copy_options): Add --redefine-sym option.
836         (copy_usage): Mention it.
837         (filter_symbols): Rename symbols on redefine_sym_list.
838         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
839         (copy_main): Handle OPTION_REDEFINE_SYM.
841 2000-04-04  H.J. Lu  <hjl@gnu.org>
843         * readelf.c (process_symbol_table): Correctly read in symbol
844         versioning information.
846 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
848         * po/binutils.pot: Regenerate.
850         * addr2line.c (usage): Restore translated part of bug string.
851         * ar.c (usage): Likewise.
852         * nlmconv.c (show_usage): Likewise.
853         * nm.c (usage): Likewise.
854         * objcopy.c (copy_usage): Likewise.
855         (strip_usage): Likewise.
856         * objdump.c (usage): Likewise.
857         * readelf.c (usage): Likewise.
858         * size.c (usage): Likewise.
859         * strings.c (usage): Likewise.
860         * windres.c (usage): Likewise.
862         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
863         (DEP): Quote when passing vars to sub-make.  Add warning
864         message to end.
865         (DEP1): Rewrite for "gcc -MM".
866         (CLEANFILES): Add DEP2.
867         Update dependencies.
868         * Makefile.in: Regenerate.
870 2000-04-04  H.J. Lu  <hjl@gnu.org>
872         * Makefile.am (GENERATED_HFILES): Add rcparse.h
873         (arparse.h): Depend on arparse.c
874         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
876 2000-04-03  H.J. Lu  (hjl@gnu.org)
878         * size.c (usage): Use REPORT_BUGS_TO.
880 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
882         * bucomm.h: #include "bin-bugs.h"
883         * addr2line.c (usage): Use REPORT_BUGS_TO.
884         * ar.c (usage): Likewise.
885         * nlmconv.c (show_usage): Likewise.
886         * nm.c (usage): Likewise.
887         (OPTION_TARGET): Define.
888         (long_options): Use OPTION_TARGET rather than 200.
889         (main): Likewise.
891         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
892         (strip_usage): Likewise.
893         * objdump.c (usage): Likewise.
894         * readelf.c (usage): Likewise.
895         * strings.c (usage): Likewise.
896         * windres.c (usage): Likewise.
898 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
900         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
902 2000-03-27  Nick Clifton  <nickc@cygnus.com>
904         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
905         string offsets in corrupt stabs entries.
907 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
909         * readelf.c: Include elf/avr.h
910         (dump_relocations): Add EM_AVR case.
912 2000-03-09  Tim Waugh  <twaugh@redhat.com>
914         * strings.1: Correct '-bytes' to '--bytes'.
916 2000-03-08  H.J. Lu  <hjl@gnu.org>
918         * Makefile.am (install-exec-local): Depend on
919         install-binPROGRAMS for parallel make.
920         * Makefile.in: Regenerated.
922 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
924         From Brad Lucier <lucier@math.purdue.edu>:
925         * readelf.c (process_dynamic_segment): Add cast to make sure
926         argument to %* is int.
928 2000-02-25  H.J. Lu  <hjl@gnu.org>
930         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
932 2000-02-24  Nick Clifton  <nickc@cygnus.com>
934         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
935         * configure: Regenerate.
937         * dlltoolc.: Add support for sh-pe and mips-pe targets.
938         * rescoff.c: Add support for sh-pe and mips-pe targets.
940 2000-02-23  H.J. Lu  <hjl@gnu.org>
942         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
944 2000-02-22  Nick Clifton  <nickc@cygnus.com>
946         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
948 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
950         From Brad Lucier <lucier@math.purdue.edu>:
951         * readelf.c (process_version_sections): Add casts to make sure
952         argument to %* is an int.
953         (process_mips_specific): Add casts to make printf arguments match
954         format.
956 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
958         * objdump.c (dump_section_header): Change `opb' to unsigned.
959         (find_symbol_for_address): Same here.
960         (disassemble_data): And here.  Change `addr_offset',
961         `stop_offset', `nextstop_offset' to unsigned long.
962         (dump_data): Change opb to unsigned.
964 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
966         * resrc.c: Remove unmatched #if for cygwin.
968 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
970         * binutils.texi: Document the change of flavor name from atpcs-special
971         to special-atpcs to prevent name conflict in gdb.
973 2000-02-08  Timothy Wall  <twall@redhat.com>
975         * objdump.c (show_line): Fix bug preventing printing of the very
976         first line (line zero) of a file when interlisting source and
977         assembly.  Added option to print entire context from start of file
978         when the first line from that file is encountered.
980 2000-02-03  Timothy Wall <twall@redhat.com>
982         * binutils/objdump.c (dump_section_header, find_symbol_for_address,
983         show_line, disassemble_bytes, disassemble_data, dump_data):
984         distinguish between octets and bytes.
986 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
988         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
989         check to unresolved symbols.
990         (print_symbol_info_sysv):  Ditto.
991         (print_symbol_info_posix):  Ditto.
993         * binutils.texi: Document new 'V' symclass flag for nm.
995 2000-01-27  Nick Clifton  <nickc@redhat.com>
997         * binutils.texi (objdump): Document new ARM specific
998         disassembler options.
1000         * objdump.c (usage): Call disassembler_usage().
1002 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
1004         * readelf.c (get_dynamic_flags): Return buff.
1005         (process_dynamic_segment): Don't pass error strings to printf
1006         as format arg.
1007         (read_and_display_attr): Use lx and ld to print longs.
1008         (process_corefile_note_segment): Cast bfd_vma to unsigned long
1009         before printing.
1010         Update copyright.
1012 2000-01-17  Nick Clifton  <nickc@cygnus.com>
1014         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1016 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
1018         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1019         false.
1020         (debug_tag_type): Here too.
1021         * ieee.c (ieee_builtin_type): And here.
1022         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1024 2000-01-13  Nick Clifton  <nickc@cygnus.com>
1026         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1027         System/370".
1029 2000-01-11  Nick Clifton  <nickc@cygnus.com>
1031         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1033 2000-01-10  Nick Clifton  <nickc@cygnus.com>
1035         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1037 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
1039         * windres.c (long_options): Add --use-temp-file and
1040         --no-use-temp-file options.
1041         (usage): Document.
1042         (main): Handle.
1044         * windres.h: Update read_rc_file prototype.
1046         * resrc.c (cpp_temp_file): New static variable.
1047         (istream_type): New static variable.
1048         (close_pipe): Delete function.
1049         (run_cmd): New static function.
1050         (open_input_stream): New static function.
1051         (close_input_stream): New static function.
1052         (look_for_default): Handle DOS directory separator. Use
1053         open_input_stream instead of popen.
1054         (read_rc_file): Likewise.
1056         * binutils.texi: Document --use-temp-file, --no-use-temp-file
1057         options.
1059 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
1061         * dlltool.c (create_compat_implib): New variable.
1062         (gen_exp_file): Use.
1063         (make_one_lib_file): Use.
1064         (long_options): Add --compat-implib option.
1065         (usage): Handle.
1066         (main): Handle.
1068         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1069         (main): Use. Don't look for "32" in cygwin and mingw target names.
1071 2000-01-03  Nick Clifton  <nickc@cygnus.com>
1073         * binutils.texi: Document new, ARM specific disassembler
1074         command line switch "-M force-thumb".
1076 For older changes see ChangeLog-9899
1078 Local Variables:
1079 mode: change-log
1080 left-margin: 8
1081 fill-column: 74
1082 version-control: never
1083 End: