Eli Zaretskii's DOSish file name patches.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 7256abdb9ffbd992667ee3b1cb83dfcac92592c4..6702d7c412c0cc458f98dc058551a7777bd5b59d 100644 (file)
@@ -1,3 +1,417 @@
+2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * ar.c: Include filenames.h.
+       (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
+       and drive letters in file names.
+       (main): Support backslashes and drive letters in argv[0].  Drop
+       the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
+       FILENAME_CMP instead of strcmp to compare file names.
+       (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
+       DJGPP v2.
+       (do_quick_append) [__GO32__]: Ditto.
+       (get_pos_bfd, delete_members, move_members, replace_members):
+       Compare file names with FILENAME_CMP.
+
+       * bucomm.c: Include filenames.h.
+       (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
+       forward/backward slashes and drive letters in file names.
+
+       * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
+       mixed forward/backward slashes and drive letters in file names.
+
+       * strings.c (O_BINARY, setmode, SET_BINARY): Define.
+       (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
+       mode.
+
+       * objcopy.c: Include filenames.h.
+       (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
+       before comparing to "strip".
+       Use FILENAME_CMP to compare file names.
+
+       * arsup.c: Include filenames.h.
+       (map_over_list, ar_delete, ar_replace, ar_extract): Use
+       FILENAME_CMP to compare file names.
+       (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
+       the temporary file name.
+
+       * configure.in: Check for setmode.
+       * configure: Regenerate.
+
+2000-05-24  Alan Modra  <alan@linuxcare.com.au>
+
+       * objdump.c (display_target_list): Close the bfd.
+       (display_info_table): Likewise.
+
+2000-05-14  H.J. Lu  (hjl@gnu.org)
+
+       * objcopy.c (filter_symbols): Don't strip global symbols in
+       relocatable object files.
+
+2000-05-14  Alan Modra  <alan@linuxcare.com.au>
+
+       * size.c (usage): Associate short options with corresponding long
+       option to give a clue as to their function.
+
+2000-05-14  Philippe De Muyter  <phdm@macqel.be>
+
+       * size.c (main): Accept and ignore `-f' option.
+
+2000-05-13  Alan Modra  <alan@linuxcare.com.au>
+
+       * bucomm.h (gettext, dgettext, dcgettext, textdomain,
+       bindtextdomain): Replace defines with those from intl/libgettext.h
+       to quieten gcc warnings.
+
+2000-05-12  H.J. Lu  <hjl@gnu.org>
+
+       * nlmconv.c (temp_filename): Removed.
+
+       * nlmconv.c (link_inputs): Use make_temp_file () instead of
+       choose_temp_base ().
+       * objdump.c (display_target_list): Likewise.
+       (display_info_table): Likewise.
+
+2000-05-08  Alan Modra  <alan@linuxcare.com.au>
+
+       * objcopy.c (setup_section): Add const and gettext calls for err.
+
+2000-05-02  H.J. Lu  <hjl@gnu.org>
+
+       * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
+       ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
+       ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
+       ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
+       and ELFOSABI_OPENBSD.
+
+2000-05-02  Kazu Hirata  <kazu@hxi.com>
+
+       * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
+       * srconv.c: Likewise.
+       * sysdump.c: Likewise.
+
+Sun Apr 23 14:23:26 2000  Denis Chertykov  <denisc@overta.ru>
+
+       * readelf.c (guess_is_rela): AVR uses RELA relocations.
+       (get_machine_name): machine name for EM_AVR added.
+
+Fri Apr 21 13:20:53 2000  Richard Henderson  <rth@cygnus.com>
+                         David Mosberger  <davidm@hpl.hp.com>
+
+       * Makefile.am (readelf.o): Add elf/ia64.h.
+       * Makefile.in: Rebuild.
+       * readelf.c: Include elf/ia64.h.
+       (guess_is_rela, dump_relocations): Handle EM_IA_64.
+       
+2000-04-17  Timothy Wall  <twall@cygnus.com>
+
+       * objdump.c (disassemble_data): Set octets per byte *after*
+       resolving arch/mach for binary files.
+
+2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * arlex.l: Add directives to increase lex buffer size.
+
+       * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
+        already included by bucomm.h.
+
+2000-04-10  Philippe De Muyter  <phdm@macqel.be>
+
+       * readelf (dynamic_segment_mips_val): Call `sprintf', not
+       `strftime' since strftime is not available on all systems.
+       (process_mips_specific): Ditto.
+
+Fri Apr  7 15:56:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+       * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
+       --enable-build-warnings option.
+       * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
+       * Makefile.in, configure: Re-generate.
+
+2000-04-06  Alan Modra  <alan@linuxcare.com.au>
+
+       * addr2line.c: Update copyright.
+       * objcopy.1: Likewise, and title.
+       * strings.1: Likewise.
+
+       * version.c (print_version): Add 2000.
+
+       * rddbg.c (read_section_stabs_debugging_info): Don't use
+       bfd_size_type for strx to avoid printf problems if BFD64.
+
+       * bucomm.c: (report): Remove `static'.
+       Move inclusion of stdarg.h/vararg.h from here.
+       * bucomm.h: To here.
+       (CONST): Change all occurences to const.
+       (report): Declare it.
+       (bfd_fatal): Add ATTRIBUTE_NORETURN.
+       (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
+       (non_fatal): Add ATTRIBUTE_PRINTF_1.
+
+       * ar.c (main): Use fatal or non_fatal instead of fprintf.
+       Correct a typo in an error message.
+       (do_quick_append): Use non_fatal instead of fprintf.
+       (move_members): Use fatal instead of fprintf, exit.
+       * coffdump.c (main): Same here.
+
+       * dlltool.c (display): Delete.
+       (warn): Delete.
+       (inform): Use `report' instead of `display'.
+       (rvaafter): Remove trailing \n from fatal error msg.
+       (rvabefore): Ditto.
+       (asm_prefix): Ditto.
+       (yyerror): Replace `warn' with `non_fatal', and remove \n.
+       (def_name): Likewise.
+       (run): Likewise.
+       (scan_all_symbols): Likewise.
+       (gen_lib_file): Likewise.
+       (def_library): Likewise.  Remove extra program_name too.
+       (run): Remove \n from inform strings.
+       (scan_drectve_symbols): Likewise.
+       (add_excludes): Likewise.
+       (scan_open_obj_file): Likewise.
+       (gen_exp_file): Likewise.
+       (gen_lib_file): Likewise.
+       (process_duplicates): Likewise.
+
+       * Makefile.am (dllwrap_SOURCES): Add version.c.
+       * dllwrap.c (program_version): Delete.
+       (print_version): Delete.
+       (display): Always print trailing \n.
+       (warn): New.
+       (delete_temp_files): Use warn instead of fprintf.  Use gettext.
+       (run): Here too.
+       (main): And here.
+       (usage): gettext'ify.
+       (long_options): Add missing initialisers.
+
+       * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
+       (select_output_format): Likewise.
+       (powerpc_mangle_relocs): Likewise.
+       (link_inputs): Likewise.
+
+       * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
+       (set_output_format): Likewise.
+       (main): Use non_fatal instead of fprintf.
+       (display_rel_file): Likewise.
+
+       * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
+       (slurp_dynamic_symtab): Same here.
+       (disassemble_data): And here.
+       (read_section_stabs): And here.
+       (read_section_stabs): And here.
+       (dump_bfd): And here.
+       (main): And here.
+       (objdump_sprintf): Use fatal instead of fprintf, exit.
+       (disassemble_data): Same here.
+
+       * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
+       (parse_coff_struct_type): Same here.
+       (parse_coff_enum_type): And here.
+       (parse_coff): And here.
+       * rddbg.c (read_debugging_info): And here.
+       * size.c (main): And here.
+       * windres.c (format_from_name): And here.
+       * wrstabs.c (stab_write_symbol): Here too.
+       (write_stabs_in_sections_debugging_info): And here.
+       (stab_int_type): And here.
+       (stab_struct_field): And here.
+       (stab_typdef): And here.
+
+       * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
+       * srconv.c (main): Same here.
+       * strings.c (main): And here.
+       (integer_arg): And here.
+       * sysdump.c (main): And here.
+
+2000-04-06  Timothy Wall  <twall@cygnus.com>
+
+       * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
+
+2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * readelf.c (decode_location_expression): Loop through multiple
+       operations.
+       (read_and_display_attr): Pass in length.
+
+       * readelf.c (read_and_display_attr): Add CU offset to references.
+       (display_debug_info): Pass it in.
+
+2000-04-06  Nick Clifton  <nickc@cygnus.com>
+
+       * readelf.c (decode_ARM_machine_flags): New function.
+       (get_machine_flags): Call decode_ARM_machine_flags for ARM
+       targets.
+       
+       (get_machine_name): Catch EM_AVR
+
+2000-04-05  Alan Modra  <alan@linuxcare.com.au>
+
+       * binutils.texi: Remove optional `=' from long options that have
+       an `=' in the argument.
+       * objcopy.1: Here too.  Remove extra space on discard-all.
+
+       * binutils.texi (objcopy): Mention --redefine-sym.
+       * objcopy.1: Here too.
+       * NEWS: And here.
+
+       * objcopy.c (parse_flags): Split off flag names from error message
+       gettext as they are not translated.
+       (copy_main): Similarly split off option name for --add-section,
+       --set-section-flags, --change-section-vma, --change-section-lma
+       error messages.
+       Some white space changes.
+
+       from Matthew Benjamin <matt@linuxbox.nu>
+       * objcopy.c (struct redefine_node): New.
+       (redefine_sym_list): New.
+       (redefine_list_append): New.
+       (lookup_sym_redefinition): New.
+       (OPTION_REDEFINE_SYM): New.
+       (copy_options): Add --redefine-sym option.
+       (copy_usage): Mention it.
+       (filter_symbols): Rename symbols on redefine_sym_list.
+       (copy_object): Call filter_symbols if redefine_sym_list != NULL.
+       (copy_main): Handle OPTION_REDEFINE_SYM.
+
+2000-04-04  H.J. Lu  <hjl@gnu.org>
+
+       * readelf.c (process_symbol_table): Correctly read in symbol
+       versioning information.
+
+2000-04-04  Alan Modra  <alan@linuxcare.com.au>
+
+       * po/binutils.pot: Regenerate.
+
+       * addr2line.c (usage): Restore translated part of bug string.
+       * ar.c (usage): Likewise.
+       * nlmconv.c (show_usage): Likewise.
+       * nm.c (usage): Likewise.
+       * objcopy.c (copy_usage): Likewise.
+       (strip_usage): Likewise.
+       * objdump.c (usage): Likewise.
+       * readelf.c (usage): Likewise.
+       * size.c (usage): Likewise.
+       * strings.c (usage): Likewise.
+       * windres.c (usage): Likewise.
+
+       * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
+       (DEP): Quote when passing vars to sub-make.  Add warning
+       message to end.
+       (DEP1): Rewrite for "gcc -MM".
+       (CLEANFILES): Add DEP2.
+       Update dependencies.
+       * Makefile.in: Regenerate.
+
+2000-04-04  H.J. Lu  <hjl@gnu.org>
+
+       * Makefile.am (GENERATED_HFILES): Add rcparse.h
+       (arparse.h): Depend on arparse.c
+       (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
+
+2000-04-03  H.J. Lu  (hjl@gnu.org)
+
+       * size.c (usage): Use REPORT_BUGS_TO.
+
+2000-04-03  Alan Modra  <alan@linuxcare.com.au>
+
+       * bucomm.h: #include "bin-bugs.h"
+       * addr2line.c (usage): Use REPORT_BUGS_TO.
+       * ar.c (usage): Likewise.
+       * nlmconv.c (show_usage): Likewise.
+       * nm.c (usage): Likewise.
+       (OPTION_TARGET): Define.
+       (long_options): Use OPTION_TARGET rather than 200.
+       (main): Likewise.
+
+       * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
+       (strip_usage): Likewise.
+       * objdump.c (usage): Likewise.
+       * readelf.c (usage): Likewise.
+       * strings.c (usage): Likewise.
+       * windres.c (usage): Likewise.
+
+2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
+
+2000-03-27  Nick Clifton  <nickc@cygnus.com>
+
+       * rddbg.c (read_section_stabs_debugging_info): Catch out of range
+       string offsets in corrupt stabs entries.
+
+2000-03-27  Alan Modra  <alan@linuxcare.com.au>
+
+       * readelf.c: Include elf/avr.h
+       (dump_relocations): Add EM_AVR case.
+
+2000-03-09  Tim Waugh  <twaugh@redhat.com>
+
+       * strings.1: Correct '-bytes' to '--bytes'.
+
+2000-03-08  H.J. Lu  <hjl@gnu.org>
+
+       * Makefile.am (install-exec-local): Depend on
+       install-binPROGRAMS for parallel make.
+       * Makefile.in: Regenerated.
+
+2000-02-27  Ian Lance Taylor  <ian@zembu.com>
+
+       From Brad Lucier <lucier@math.purdue.edu>:
+       * readelf.c (process_dynamic_segment): Add cast to make sure
+       argument to %* is int.
+
+2000-02-25  H.J. Lu  <hjl@gnu.org>
+
+       * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
+
+2000-02-24  Nick Clifton  <nickc@cygnus.com>
+
+       * configure.in: Add arm-wince, mips-pe and sh-pe targets.
+       * configure: Regenerate.
+
+       * dlltoolc.: Add support for sh-pe and mips-pe targets.
+       * rescoff.c: Add support for sh-pe and mips-pe targets.
+
+2000-02-23  H.J. Lu  <hjl@gnu.org>
+
+       * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
+
+2000-02-22  Nick Clifton  <nickc@cygnus.com>
+
+       * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
+
+2000-02-22  Ian Lance Taylor  <ian@zembu.com>
+
+       From Brad Lucier <lucier@math.purdue.edu>:
+       * readelf.c (process_version_sections): Add casts to make sure
+       argument to %* is an int.
+       (process_mips_specific): Add casts to make printf arguments match
+       format.
+
+2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
+
+       * objdump.c (dump_section_header): Change `opb' to unsigned.
+       (find_symbol_for_address): Same here.
+       (disassemble_data): And here.  Change `addr_offset',
+       `stop_offset', `nextstop_offset' to unsigned long.
+       (dump_data): Change opb to unsigned.
+
+2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
+
+       * resrc.c: Remove unmatched #if for cygwin.
+
+2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
+
+       * binutils.texi: Document the change of flavor name from atpcs-special
+       to special-atpcs to prevent name conflict in gdb.
+
+2000-02-08  Timothy Wall  <twall@redhat.com>
+
+       * objdump.c (show_line): Fix bug preventing printing of the very
+       first line (line zero) of a file when interlisting source and
+       assembly.  Added option to print entire context from start of file
+       when the first line from that file is encountered.
+
 2000-02-03  Timothy Wall <twall@redhat.com>
 
        * binutils/objdump.c (dump_section_header, find_symbol_for_address,
@@ -7188,7 +7602,8 @@ Mon Sep 30 12:30:39 1991  Per Bothner  (bothner at cygnus.com)
 
 Mon May 20 16:14:07 1991  Steve Chamberlain  (steve at cygint.cygnus.com)
 
-        *objdump.c *nm.c *copy.c :hanged some types to work with 64 bit object files
+        *objdump.c *nm.c *copy.c: Changed some types to work with 64 bit
+       object files.
 
 Thu May 16 16:06:55 1991  Steve Chamberlain  (steve at cygint.cygnus.com)
      from bother
This page took 0.045112 seconds and 4 git commands to generate.