]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - binutils/ChangeLog
Add code to decode the e_flags field of an ARM ELF binary.
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
index 2e3adefa12d101c705a14f5a4fda598cc4541027..073a3208c73da131014c33eb6b26fbcea8ee6f71 100644 (file)
@@ -1,3 +1,420 @@
+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.
+
+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,
+       show_line, disassemble_bytes, disassemble_data, dump_data):
+       distinguish between octets and bytes.
+       
+2000-01-27  Thomas de Lellis  <tdel@windriver.com>
+
+        * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
+       check to unresolved symbols.
+        (print_symbol_info_sysv):  Ditto.
+        (print_symbol_info_posix):  Ditto.
+
+        * binutils.texi: Document new 'V' symclass flag for nm.
+
+2000-01-27  Nick Clifton  <nickc@redhat.com>
+
+       * binutils.texi (objdump): Document new ARM specific
+       disassembler options.
+
+       * objdump.c (usage): Call disassembler_usage().
+
+2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
+
+       * readelf.c (get_dynamic_flags): Return buff.
+       (process_dynamic_segment): Don't pass error strings to printf
+       as format arg.
+       (read_and_display_attr): Use lx and ld to print longs.
+       (process_corefile_note_segment): Cast bfd_vma to unsigned long
+       before printing.
+       Update copyright.
+
+2000-01-17  Nick Clifton  <nickc@cygnus.com>
+
+       * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
+
+2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
+
+       * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
+       false.
+       (debug_tag_type): Here too.
+       * ieee.c (ieee_builtin_type): And here.
+       * stabs.c (parse_stab_type, parse_stab_array_type): And here.
+
+2000-01-13  Nick Clifton  <nickc@cygnus.com>
+
+       * readelf.c (get_machine_name): Change EM_S370 to return "IBM
+       System/370".
+
+2000-01-11  Nick Clifton  <nickc@cygnus.com>
+
+       * readelf.c (get_dynamic_type): Remove DT_ENCODING.
+
+2000-01-10  Nick Clifton  <nickc@cygnus.com>
+
+       * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
+
+2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
+
+       * windres.c (long_options): Add --use-temp-file and 
+       --no-use-temp-file options.
+       (usage): Document.
+       (main): Handle.
+       
+       * windres.h: Update read_rc_file prototype.
+       
+       * resrc.c (cpp_temp_file): New static variable.
+       (istream_type): New static variable.
+       (close_pipe): Delete function.
+       (run_cmd): New static function.
+       (open_input_stream): New static function.
+       (close_input_stream): New static function.
+       (look_for_default): Handle DOS directory separator. Use 
+       open_input_stream instead of popen.
+       (read_rc_file): Likewise.
+       
+       * binutils.texi: Document --use-temp-file, --no-use-temp-file
+       options. 
+
+2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
+       * dlltool.c (create_compat_implib): New variable.
+       (gen_exp_file): Use.
+       (make_one_lib_file): Use.
+       (long_options): Add --compat-implib option.
+       (usage): Handle.
+       (main): Handle.
+
+       * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
+       (main): Use. Don't look for "32" in cygwin and mingw target names.
+
+2000-01-03  Nick Clifton  <nickc@cygnus.com>
+
+       * binutils.texi: Document new, ARM specific disassembler
+          command line switch "-M force-thumb".
+
+1999-12-28  Nick Clifton  <nickc@cygnus.com>
+
+       * readelf.c: Update with new constants added by Oct 4, 1999
+       ELF ABI draft.
+       (guess_is_rela): Add new machine codes, but leave
+       rel type undetermined.
+       (get_machine_name): Add new machine codes.
+       (get_section_type_name): Add new section types.
+       (get_elf_section_flags): New funciton: Decode section flags.
+       (process_section_headers): Call get_elf_section_flags() in
+       order to decode flags in section header.
+       (get_dynamic_flags): New function: Decode dynamic section
+       flags.
+       (process_dynamic_section): Display flags (if present).
+       (get_symbol_type): Add STT_COMMON.
+       (get_symbol_visibility): New function: Decode a symbol's
+       visibility.
+       (process_symbol_table): Call get_symbol_visibility().
+       (get_note_type): Add NT_PRXFPREGS.
+
+1999-12-26  Ian Lance Taylor  <ian@zembu.com>
+
+       * strings.c (main): Correct handling of numeric argument.
+
+1999-12-23  Andrew Haley  <aph@cygnus.com>
+
+       * dlltool.c (mtable): mcore how_jtab_roff is 4 bytes into the
+       jtab; was 8.
+
+1999-12-17  Nick Clifton  <nickc@cygnus.com>
+
+       * dlltool.c (mtable): Stop compile time warnings about missing
+       initialisers.
+       (yyerror): Stop compile time warnings about unused paramater.
+       (INIT_SEC_DATA): New macro: initialise an entry in the secdata
+       array.
+       (secdata): Stop ccompile time warnings about uninitialised
+       fields.
+       (dtab): Stop compile time warnings about unused parameter.
+       (long_options): Stop compile time warning about missing
+       initialiser. 
+
+1999-12-10  Nick Clifton  <nickc@cygnus.com>
+
+       * readelf.c (print_vma): Support native 64bit ELF systems.
+
+1999-12-09  Nick Clifton  <nickc@cygnus.com>
+
+       * dlltool.c (mtable): Add epoc-arm specific entry.
+       Make default arm entry pass -mpacs-26 to assembler.
+       (flush_page): Do not mangle null entries.
+       
+1999-12-07  H . J . Lu  hjl@valinux.com
+
+       * readelf.c: Fix compile time warnings.  Support more than 999
+       symbols.
+
+1999-12-03  Nick Clifton  <nickc@cygnus.com>
+
+       * readelf.c (enum print_mode): New type.
+       (print_vma): New function.
+       (dump_relocations): Use print_vma to display bfd_vma values.
+       (process_file_header): Use print_vma to display bfd_vma values.
+       (process_program_headers): Use print_vma to display bfd_vma values.
+       (process_section_headers): Use print_vma to display bfd_vma values.
+       (dynamic_segment_parisc_val): Use print_vma to display bfd_vma values.
+       (process_dynamic_segment): Use print_vma to display bfd_vma values.
+       (process_symbol_table): Use print_vma to display bfd_vma values.
+       (process_mips_specific): Use print_vma to display bfd_vma values.
+
+1999-11-25  Fred Fish  <fnf@cygnus.com>
+
+       * readelf.c (process_note): Change arg from Elf_External_Note
+       to Elf32_Internal_Note, which also turns the function body
+       into little more than a call to printf.
+       (process_corefile_note_segment):  Substantially rewritten
+       to properly handle case where target and host are different
+       endianness, handle note sections with padding, and add some
+       cruft to handle notes with unterminated name data.
+
+1999-11-22  Nick Clifton  <nickc@cygnus.com>
+
+       * objcopy.c (copy_usage): Reformat.
+       (strip_usage): Reformat.
+
+1999-11-21  Nick Clifton  <nickc@cygnus.com>
+
+       * objdump.c (usage): Overhaul output:  One line per switch.
+       Textual description of each switch.  Distinguish between
+       optional switches and required switches.
+       (long_options): Add 'g', 'G' and 'z' short options.
+       (main): Distinguish between optional switches and required
+       switches.
+
+       * binutils.texi: Add -g -G and -z short options for
+       --debugging, --stabs and --disassemble-zeroes.
+
+1999-11-03  Nick Clifton  <nickc@cygnus.com>
+
+       * dlltool.c (flush_page): Clip short values to prevent warnings
+       from the assembler.
+       Change default mcore machine name to 'mcore-le' and rename
+       big-endian version to 'mcore-be'. 
+
+1999-10-27  Fred Fish  <fnf@cygnus.com>
+
+       * objdump.c (display_bfd): Break into two functions.  The
+       actual dumping code moves to dump_bfd.  If bfd is not
+       unambiguously recognized as a bfd_object, attempt to dump
+       it as a bfd_core.
+       (dump_bfd): New function.
+
+1999-10-26  Nick Clifton  <nickc@cygnus.com>
+
+       * dlltool.c (assemble_file): Remove spurious test of exp_name.
+
+1999-10-22  Nick Clifton  <nickc@cygnus.com>
+
+       * dlltool.c (struct mac): Add new field 'how_default_as_switches'.
+       (mtable): Initialise new field.  Some machines have a non empty
+       string for this field.
+       (HOW_BFD_TARGET): Undefine and replace with...
+       (HOW_BFD_READ_TARGET): New macro: bfd target to use when opening a
+       file for reading.  This is set to 0 so that any recognisable bfd
+       format can be read.
+       (HOW_BFD_WRITE_TARGET): New macro: bfd target to use when opening
+       a file for writing.  This is set to the target machine type.
+       (ASM_SWITCHES): New macro: default switches to use when assembling
+       a file.
+       (assemble_file): New function: Assemble a source file into a
+       destination object file.
+       (gen_exp_file): Use assemble_file to create the exp file.
+       (make_one_lib_file): Use assemble_file to create the lib file.
+       Open output file use HOW_BFD_WRITE_TARGET and input files using
+       HOW_BFD_READ_TARGET.
+       (make_head): Use assemble_file to create the head file.
+       (make_tail): Use assemble_file to create the tail file.
+       (gen_lib_file): Open output file use HOW_BFD_WRITE_TARGET.
+
+1999-10-15  Ian Lance Taylor  <ian@zembu.com>
+
+       * ar.c (normalize): Fix full_pathname code.
+
+1999-10-08  Ben Elliston  <bje@cygnus.com>
+
+        * binutils.texi: Some rewording and clarifications.
+
 1999-09-15  Ulrich Drepper  <drepper@cygnus.com>
 
        * readelf.c (dynamic_segment_parisc_val): Print 0 for DLD_FLAGS if