]> 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 a37cd1892fc97dec3146dbaba6e6b2c2314442ec..5b0120265ee57ba6cd07c1f4266d6c4bf3a3ec38 100644 (file)
@@ -1,3 +1,252 @@
+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