]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - binutils/ChangeLog
Fix computation of offsets in PT_LOAD sections.
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
index e6122143d5e30c68c5172cb43688f94cc857bf7b..5b0120265ee57ba6cd07c1f4266d6c4bf3a3ec38 100644 (file)
@@ -1,3 +1,364 @@
+2003-06-26  Roland McGrath  <roland@redhat.com>
+
+       * readelf.c (loadaddr): Variable removed.
+       (dynamic_info, version_info): Fix type long -> bfd_vma.
+       (program_headers): New variable.
+       (get_program_headers): New function, broken out of
+       process_program_headers.
+       (process_program_headers): Call it.  Don't set `loadaddr'.
+       (slurp_ia64_unwind_table): Use get_program_headers.
+       (process_corefile_note_segments):  Likewise.
+       (offset_from_vma): New function.
+       (process_relocs, process_dynamic_segment): Call that instead of
+       subtracting `loadaddr'.
+       (process_version_sections, process_symbol_table): Likewise.
+       (process_mips_specific): Likewise.
+
+2003-06-26  Nick Clifton  <nickc@redhat.com>
+
+       * objcopy (enum strip_action): Add STRIP_NONDEBUG.
+        (OPTION_ONLY_KEEP_DEBUG): New.
+        (strip_options): Add --only-keep-debug.
+        (copy_options): Likewise.
+        (is_strip_section): Invert return value if STRIP_NONDEBUG is
+        active.
+        (copy_object): Do not copy private data when STRIP_NONDEBUG is
+        active.
+        (setup_section): Likewise.
+        (strip_main): Handle --only-keep-debug.
+        (copy_main): Likewise.
+       * NEWS: Mention new switch
+       * doc/binutils.texi: Document new switch.
+
+2003-06-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * NEWS: Correct spelling of "relocatable".
+       * objdump.c: Likewise.
+       * sysroff.info: Likewise.
+
+2003-06-19  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (print_vma): When printing DEC_5 values, if the
+       number is bigger than 99999 switch to using hexadecimal
+       notation.
+
+2003-06-11  Nick Clifton  <nickc@redhat.com>
+
+       * objcopy.c (gnu_debuglink_filename): New variable.
+        (OPTION_ADD_GNU_DEBUGLINK): New switch
+        (copy_options): Describe --add-gnu-debuglink switch.
+        Mention that --strip-debug removes sections as well.
+        (is_strip_section): Process the sections removed and kept
+        lists before checking for debugging sections.
+        (add_redefine_syms_file): Make function static.
+        (copy_object): Use is_strip_section.
+        Check to see if a .gnu_debuglink section should be added.  If
+        so, call bfd_add_gnu_debuglink.
+        (setup_section): Use is_strip_section.
+        (copy_section): Use is_strip_section.
+        (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
+       * NEWS: Mention new objcopy switch.
+        * doc/binutils.texi: Document new switch.
+
+2003-06-11  H.J. Lu <hongjiu.lu@intel.com>
+
+       * po/Make-in (DESTDIR): New.
+       (install-data-yes): Support $(DESTDIR).
+       (uninstall): Likewise.
+
+2003-06-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.in: Regenerate.
+
+2003-05-23  Jakub Jelinek  <jakub@redhat.com>
+
+       * readelf.c (get_segment_type): Handle PT_GNU_STACK.
+
+2003-06-03  Elias Athanasopoulos  <elathan@phys.uoa.gr>
+
+       * NEWS: Document the new BSD/POSIX single-character mapping for
+       .comment/.note sections.
+       
+2003-06-02  Chris Demetriou  <cgd@broadcom.com>
+            Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * objcopy.c (redefine_list_append): Add an argument that
+       indicates the context from which this function is being
+       called.  Change all callers.
+       (copy_options): Add a new option, --redefine-syms.
+       (copy_usage): Document new option.
+       (copy_main): Handle the --redefine-syms option.
+       * doc/binutils.text (objcopy): Document new option.
+
+2003-05-31  Richard Henderson  <rth@redhat.com>
+
+       * readelf.c (byte_get_signed): New.
+       (get_encoded_value): New.
+       (display_debug_frames): Use it.  Always pre-process opcodes.
+
+2003-05-20  Michal Ludvig  <mludvig@suse.cz>
+
+       * readelf.c (display_debug_frames): Print both registers
+       for DW_CFA_register.
+
+2003-05-16  Kelley Cook  <kelleycook@wideopenwest.com>
+
+       * configure.in: Accept i[3-7]86 variants. Escape '[]' for
+       i[3-7]86-*-interix.
+       * configure.in: Regenerate.
+
+2003-05-13  Michael Eager <eager@mvista.com>
+
+       * objcopy.c: Treat identical src/dst file names as if only one
+       entered.  One Windows creating an output file of the same name as
+       the input file will delete the input file before it is read.
+
+2003-05-12  Salvador Eduardo Tropea  <salvador@inti.gov.ar>
+
+       * debug.c (debug_get_real_type): Extend test for circular debug
+       references.
+
+2003-05-12  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in (ALL_LINGUAS): Add zh_CN.
+       * configure: Regenerate.
+       * po/zh_CN.po: New file: Chinese (simplified) translation.
+
+2003-05-11  Jason Eckhardt  <jle@rice.edu>
+
+       * MAINTAINERS: Update my mail address.
+
+2003-05-07  H.J. Lu <hongjiu.lu@intel.com>
+
+       * readelf.c (dump_relocations): Enlarge the type field in wide
+       mode by one character.
+
+2003-05-03  Richard Henderson  <rth@redhat.com>
+
+       * readelf.c (struct Frame_Chunk): Add cfa_exp.
+       (frame_display_row): Just print "exp" for cfa or register
+       defined by a location expression.
+       (display_debug_frames): Handle DW_CFA_def_cfa_expression,
+       DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
+
+2003-04-30  H.J. Lu <hjl@gnu.org>
+
+       * objdump.c (only): Change it to char **.
+       (only_size): New.
+       (only_used): New.
+       (disassemble_data): Check only as an array.
+       (dump_data): Likewise.
+       (dump_relocs): Likewise.
+       (main): Treat only as an array.
+
+2003-04-24  Dimitrie O. Paun <dpaun@rogers.com>
+
+        * doc/binutils.texi: Fix the documentation for the -fo option.
+
+2003-04-23  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * readelf.c (get_machine_name) <EM_SH>: Amend return value
+       to refer to SuperH.
+
+       * readelf.c (decode_location_expression): Don't add a trailing ';'.
+
+2003-04-23  Dimitrie O. Paun <dpaun@rogers.com>
+            Nick Clifton  <nickc@redhat.com>
+
+       * windres.c (long_options): Move close to main, where it is used.
+       Add 'input' and 'output' long options.
+       (main): Accept "-fo" as an alias for "-o".  This is for rc
+       comptibility.
+       * doc/binutils.texi: Mention that -fo is accepted as an alias for
+       -o, but discourage its use.
+
+2003-04-22  Dimitrie O. Paun  <dpaun@rogers.com>
+
+       * windres.c (format_from_name): Make the exit on error
+       behaviour optional.
+       (main): Rename the -I option to -J. Introduce -I as a synonym
+       for --include-dir.  For backwards compatibility also support the
+       old -I behaviour, but issue a deprecation warning.
+       * doc/binutils.texi: Rename -I to -J.  Document the new behaviour
+       of the -I option.
+
+2003-04-22  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
+
+       * readelf.c: Replace references to Mitsubishi M32R with
+       references to Renesas M32R.
+
+2003-04-15  Rohit Kumar Srivastava <rohits@kpitcummins.com>
+
+       * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
+
+2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
+
+       * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
+       for debugging information types not supported by objdump.
+
+2003-04-09  Bernd Jendrissek <berndj@prism.co.za>
+
+       * configure.in: Recognize canonical form of i[3-6]86-pe*.
+       * configure: Regenerate.
+
+2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
+
+       * readelf.c (display_debug_info): Apply RELA relocations on the
+       entire section.
+       (byte_put_little_endian, byte_put_big_endian): New functions.
+       (byte_put): New variable.
+       (get_file_header): Initialize it.
+
+2003-04-05  Dimitrie O. Paun <dpaun@rogers.com>
+
+       * windres.c: Add -l for compatibility with wrc, and rc.
+       Use the short option as a key for long options that have
+       a synonymous short option.
+       * doc/binutils.texi: Added -l to the list of options.
+
+2003-04-03  Dimitrie O. Paun <dpaun@rogers.com>
+
+       * windres.c: Add -U for compatibility with wrc, rc, and cpp.
+       (main): Just pass the -U option down to the preprocessor.
+       * doc/binutils.texi: Added -U to the list of options.
+
+2003-04-01  Dimitrie O. Paun <dpaun@rogers.com>
+
+       * windres.c (usage): Report -r option.
+       (main): Ignore the -r option.
+       * doc/binutils.texi: Add -r to the list of options.
+
+2003-04-01  Bob Wilson  <bob.wilson@acm.org>
+
+       * MAINTAINERS: Add myself as Xtensa maintainer.
+
+2003-04-01  Bob Wilson  <bob.wilson@acm.org>
+
+       * readelf.c: Include "elf/xtensa.h".
+       (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
+       targets that use RELA relocations.
+       (dump_relocations): Call elf_xtensa_reloc_type for
+       EM_XTENSA and EM_XTENSA_OLD.
+       (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
+
+2003-04-01  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in: Change "arm-pe*" to "arm-*-pe*".  Similarly for
+       thumb-pe*, mcore-pe and mcore-*elf.
+       * configure: Regenerate.
+
+2003-03-31  Alexandre Oliva  <aoliva@redhat.com>
+
+       * objdump.c (dump_data): Don't truncate the address to long; make
+       the width large enough, and uniform for all entries in a section.
+
+2003-03-31  H.J. Lu <hjl@gnu.org>
+
+       * readelf.c: Include "libiberty.h".
+       (dynamic_relocations): New.
+       (process_relocs): Properly handle dynamic relocation.
+       (process_dynamic_segment): Fill relocation elements in
+       dynamic_info.
+
+2003-03-31  Kevin Buettner <kevinb@redhat.com>
+
+       * readelf.c (read_and_display_attr, read_and_display_attr_value):
+       Add new arguments ``offset_size'' and ``dwarf_version''.  Adjust
+       all callers.
+       (display_debug_lines, display_debug_pubnames, display_debug_info)
+       (display_debug_aranges, display_debug_frames, read_and_display_attr)
+       (read_and_display_attr_value): Add 64-bit DWARF support.
+
+2003-03-31  Ian Lance Taylor <ian@airs.com>
+
+       * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
+       (optresid): Handle a resource id that can be a string or a number.
+       * resrc.c (define_control): Replace 'text' parameter with 'iid' a
+       struct res_id.
+       (define_icon_control): Pass a struct res_id to define_control.
+       * windres.h (define_control): Change prototype.
+
+2003-03-24  Elias Athanasopoulos  <elathan@phys.uoa.gr>
+
+       * objcopy (OPTION_FORMATS_INFO): Define.
+       (strip_options): Add "info"/OPTION_FORMATS_INFO option.
+       (copy_options): Likewise.
+       (strip_usage): Add "--info" to usage.
+       (copy_usage): Likewise.
+       (strip_main): Declare formats_info. Iniatilize it to FALSE.
+       Handle "info".
+       (copy_main). Likewise.
+       * doc/binutils.texi. Document the "--info" option for
+       objcopy/strip.
+       * NEWS: Mention the new command line switch.
+
+       * objdump.c (endian_string): Move to bucomm.c.
+       (display_info): Likewise.
+       (display_target_list): Likewise.
+       (display_info_table): Likewise.
+       (display_target_tables): Likewise.
+       (main): Assign the return value of display_info to exit_status.
+       * bucomm.c: Include bfdver.h and libbfd.h
+       (display_target_list): Call bfd_nonfatal instead of nonfatal and
+       return 0 on a non-fatal error, 1 on success.
+       (display_info_table): Likewise. 
+       * bucomm.h (display_info): Provide a prototype.
+       * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
+       libbfd.h.
+       * Makefile.in: Regenerate.
+
+2003-03-22  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * dlltool.c (gen_def_file): Put demangled name comments on
+       own line preceding export name.
+
+2003-03-17  Nick Clifton  <nickc@redhat.com>
+
+       * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
+       printf for emitting new lines.
+
+2003-03-16  Elias Athanasopoulos  <elathan@phys.uoa.gr>
+
+       * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
+       the symbol's value when --size-sort is used, unless -S is used.
+       doc/binutils.texi (--size-sort): For non-bsd formats both the
+       value and size of the symbols are displayed.
+       
+2003-03-13  Nick Clifton  <nickc@redhat.com>
+
+       * po/da.po: Update.
+
+2003-03-12  Nick Clifton  <nickc@redhat.com>
+
+       * MAINTAINERS: Remove Peter Targett as ARC maintainer.
+
+2003-03-10  Ben Elliston  <bje@wasabisystems.com>
+
+       * MAINTAINERS: Update my mail address.
+
+2003-03-06  Elias Athanasopoulos  <elathan@phys.uoa.gr>
+
+       * stabs.c (BYTES_IN_WORD): Remove definition.
+       * wrstabs.c (BYTES_IN_WORD): Likewise.
+
+2003-03-04  Nick Clifton  <nickc@redhat.com>
+
+       * nm.c (main): Print a warning message if --size-sort and
+       --undefined-only are used together.
+
+2003-03-04  Elias Athanasopoulos  <elathan@phys.uoa.gr>
+
+       * nm.c (print_symbol): Remove check for undefined_only.
+       
+2003-03-03  Nick Clifton  <nickc@redhat.com>
+
+       * po/da.po: Installed latest translation.
+
+2003-02-24  Nick Clifton  <nickc@redhat.com>
+
+       * README: Update binutils references to 2.13.
+       Add paragraph about using --disable-nls.
+
 2003-02-24  Elias Athanasopoulos  <elathan@phys.uoa.gr>
 
        * doc/binutils.texi (nm --size-sort): Update.