Fix computation of offsets in PT_LOAD sections.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 18a704452674bf01ce0754d0019221fd2ded3e2d..5b0120265ee57ba6cd07c1f4266d6c4bf3a3ec38 100644 (file)
@@ -1,3 +1,101 @@
+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
This page took 0.036157 seconds and 4 git commands to generate.