Sun Oct 4 23:29:34 1998 David Edelsohn <edelsohn@mhpcc.edu>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index a0dc89fd127b50a3cf021d5a5834d3f9505a19d3..b203c9b8915dce9286352c338fddc7c491a85f6a 100644 (file)
@@ -1,9 +1,244 @@
-start-sanitize-armelf
+Sun Oct  4 23:29:34 1998  David Edelsohn  <edelsohn@mhpcc.edu>
+
+       * rs6000-core.c (rs6000coff_core_file_matches_executable_p):
+       Declare size as bfd_size_type.
+       (rs6000coff_get_section_contents): Declare count as bfd_size_type. 
+
+Sun Oct  4 20:38:29 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * cpu-hppa.c (bfd_hppa20_arch): Define.  Link it into the bfd_hppa_arch
+       structure.
+       * som.c (CPU_PA_RISC2_0): Define.
+       (_PA_RISC2_0_ID): Likewise.
+       (som_finish_writing): Use CPU_PA_RISC2_0 for the system_id as needed.
+
+Sun Oct  4 21:19:09 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elflink.h (elf_link_add_object_symbols): When a versioned symbol
+       has a base which is already defined, only add the referenced
+       symbol to the dynamic symbol table if it is defined or referenced
+       by a regular file.
+
+       * elf32-i386.c (elf_i386_info_to_howto_rel): Handle vtable relocs
+       correctly.
+
+1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+        * elflink.h (elf_link_add_object_symbols): Undo last change.
+
+Wed Sep 23 16:09:31 1998  Richard Henderson  <rth@cygnus.com>
+
+        * elflink.h (elf_link_add_object_symbols): Don't record a dynamic
+        symbol for the indirect alias to a versioned symbol.
+
+Mon Sep 21 12:15:22 1998  Catherine Moore  <clm@cygnus.com>
+
+        * elf32-i386.c (elf32_i386_vtinherit_howto): New.
+        (elf32_i386_vtentry_howto): New.
+        (elf_i386_reloc_type_lookup):  Return elf32_i386_vtentry_howto
+        or elf32_i386_vtinherit_howto  on lookup.
+
+Sun Sep 20 00:48:07 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * elf32-m68k.c: Include "elf/m68k.h".  Remove definition of enum
+       reloc_type.  Rename R_68K__max to R_68K_max.
+       (howto_table): Use _bfd_elf_rel_vtable_reloc_fn for a VTENTRY
+       reloc.
+
+Sun Sep 20 00:09:25 1998  Chris Torek  <torek@bsdi.com>
+
+       * libbfd.c (bfd_getb32): Rewrite expression to get better code.
+       (bfd_getl32, bfd_getb_signed_32, bfd_getl_signed_32): Likewise.
+
+       * libbfd.c (bfd_log2): Cast to bfd_vma before shifting, not
+       after.
+
+Sat Sep 19 22:42:23 1998  Doug Rabson  <dfr@nlsystems.com>
+
+       * elflink.h (elf_link_add_object_symbols): Ensure that the warning
+       message has a null byte terminator.
+
+Fri Sep 18 14:35:29 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-v850.c (v850_elf_perform_relocation): Ignore contents of
+       word subject to R_V850_32 relocation.
+
+Thu Sep 17 17:20:36 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * dwarf2.c: Add comment describing problem computing line numbers
+       for undefined symbols at link time.
+
+Thu Sep 17 16:03:28 1998  Richard Henderson  <rth@cygnus.com>
+
+        * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't
+        transform a defweak into a plt entry.
+        (elf64_alpha_calc_dynrel_sizes): Allow room for secondary
+        plt entry references to receive a RELATIVE reloc.
+        (elf64_alpha_finish_dynamic_symbol): Fill them in.
+        (elf64_alpha_relocate_section): Assert we don't overrun
+        the allocated relocation space.
+
+Wed Sep 16 18:03:13 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * elf.c (swap_out_syms): Always treat section symbols as
+       special, even if they are attached to a common section.
+
+Wed Sep 16 10:34:13 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-v850.c (v850_elf_symbol_processing): Move symbols in
+       sections with v850 common section attributes into named v850
+       common sections.
+       (v850_elf_add_symbol_hook): Move symbols in sections with v850
+       common section attributes into named v850 common sections.
+       
+Wed Sep 16 11:26:49 CDT 1998  Catherine Moore  <clm@cygnus.com>
+
+        * elf32-arm.c (elf32_arm_gc_mark_hook):  Remove print 
+        statement.
+
+1998-09-15  Geoff Keating  <geoffk@ozemail.com.au>
+
+       * elf32-ppc.c (ppc_elf_relocate_section): Reverse output_offset
+       part of Vladimir's change of 1998-08-19.  Make a R_PPC_SDAREL16
+       reloc to the wrong section a warning, not an error.  .dynsbss
+       is not an output section, so there is no need to check for it.
+
+Tue Sep 15 12:40:05 1998  Catherine Moore  <clm@cygnus.com>
+
+       * elf-bfd.h:  Add argument to elf_backend_get_symbol_type.
+
+Tue Sep 15 08:34:40 1998  Catherine Moore  <clm@cygnus.com>
+
+       * elf.c (swap_out_syms):  Pass type to elf_backend_get_symbol_type.
+       * elf32-arm.c:  Add HOWTO entries for R_ARM_GNU_VTINHERIT and
+       R_ARM_GNU_VTENTRY.
+       (elf32_arm_gc_mark_hook): New.
+       (elf32_arm_gc_sweep_hook): New.
+       (elf32_arm_check_relocs): New.
+       (elf32_arm_final_link_relocate):  Handle VTINHERIT and VTENTRY
+       relocations.
+       (elf32_arm_relocate_section): Handle VTINHERIT and VTENTRY
+       relocations.
+
+1998-09-10  Geoff Keating  <geoffk@ozemail.com.au>
+
+        * elf32-ppc.c (ppc_elf_relocate_section): If dynobj is NULL,
+        assume there is no PLT or GOT.
+
+Wed Sep  9 14:24:12 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-arm.c (elf32_arm_find_nearest_line): New function:  just
+       like _elf_bfd_find_nearest_line() except that STT_ARM_TFUNC is
+       also accepted as a function symbol type.
+
+Mon Sep  7 13:24:03 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
+
+       * rs6000-core.c (_LONG_LONG):  Define for AIX 4.x only.
+
+Sat Sep  5 20:40:18 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * libbfd-in.h (_bfd_nolink_bfd_gc_sections): Correct definition to
+       match definition of _bfd_gc_sections field.
+       * libbfd.h: Rebuild.
+
+Fri Sep  4 13:54:23 1998  David Miller  <davem@dm.cobaltmicro.com>
+
+       * elf32-sparc.c (elf32_sparc_relocate_section): Properly adjust
+       the addend of a dynamic relocation referencing a section.
+       * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
+       (sparc64_elf_finish_dynamic_symbol): Fix the PLT relocation offset.
+
+Thu Sep  3 17:28:50 1998  Richard Henderson  <rth@cygnus.com>
+
+       * elflink.h (bfd_elfNN_size_dynamic_sections): Verify that the
+       bed has a size_dynamic_sections routine before trying to use it.
+
+Mon Aug 31 14:49:22 1998  Richard Henderson  <rth@cygnus.com>
+
+       * elf32-mips.c (elf_mips_gnu_vtentry_howto): Use
+       _bfd_elf_rel_vtable_reloc_fn.
+
+Mon Aug 31 10:23:40 1998  Catherine Moore  <clm@cygnus.com>
+
+        * Makefile.am:  Add elf32-arm.c.
+        * Makefile.in:  Rebuild.
+        * elf-bfd.h:  Add elf_backend_get_symbol_type.
+        * elf.c (swap_out_syms):  If defined, call
+        elf_backend_get_symbol_type.
+        * elf32-arm.c: Define elf_backend_get_symbol_type.
+        (elf32_arm_get_symbol-type):  New routine.
+        (record_thumb_to_arm_glue):  Change to use STT_ARM_TFUNC.
+        (bfd_elf32_arm_process_before_allocation):  Change to
+        check for STT_ARM_TFUNC.
+        (elf32_arm_final_link_relocate):  Likewise.
+        * elfxx-target.h:  Add elf_backend_get_symbol_type.
+
+Fri Aug 28 19:44:07 1998  Richard Henderson  <rth@cygnus.com>
+
+       * archures.c (bfd_mach_alpha_ev[456]): New.
+       * cpu-alpha.c: Rework to match these types.
+       * bfd-in2.h: Rebuild.
+
+Fri Aug 28 19:38:53 1998  Richard Henderson  <rth@cygnus.com>
+
+       * elf-bfd.h (_bfd_elf_rel_vtable_reloc_fn): Declare.
+       * elf.c (_bfd_elf_rel_vtable_reloc_fn): New.
+
+       * elf32-i386.c (elf_howto_table): Add vtable relocs.
+       (elf_i386_reloc_type_lookup): Recognize them.
+       (elf_i386_check_relocs): Pass them off to generic code.
+       (elf_i386_relocate_section): Ignore them.
+       (elf_i386_gc_mark_hook, elf_i386_gc_sweep_hook): New.
+       (elf_backend_can_gc_sections): True.
+
+Thu Aug 20 15:03:45 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-arm.c (elf32_thumb_to_arm_stub): Check sym_sec is not NULL
+       before looking at owner field.
+       (elf32_arm_to_thumb_stub): Ditto.
+       (elf32_arm_relocate_section): Compute name before calling
+       elf32_arm_final_link_relocate().
+
+Thu Aug 20 11:30:17 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>
+
+       * elf.c: comment and formatting cleanups.
+       * elfcore.h: ditto.
+
+Wed Aug 19 15:43:26 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>
+
+       * elfcode.h (elf_object_p): Reject files of header type ET_CORE
+       (core files are treated differently than object files).
+       * elf-bfd.h (_bfd_elf_write_corefile_contents, 
+       bfd_elf_mkcorefile): declare.
+       * elfxx-target.h (_bfd_elf_write_corefile_contents, 
+       bfd_elf_mkcorefile): add to bfd_target vector.
+       * elfcore.h (elf_core_file_p): save the program header table, 
+       and set the bfd architecture from the elf file header.
+       * elf.c (bfd_elf_mkcorefile): new function.
+       (_bfd_elf_write_corefile_contents): new function.
+       (assign_file_positions_for_segments): add cases for handling
+       PT_NOTE segments.  (assign_file_positions_except_relocs):
+       core files should be handled the same as exec files.
+       (prep_headers): identify core files as type ET_CORE.
+       (copy_private_bfd_data): identify the sections belonging to
+       the PT_NOTE segment.
+       
+       * elf32-sparc.c (elf32_sparc_final_write_processing):
+       add break statement to default case.
+       
+1998-08-19  Vladimir N. Makarov  <vmakarov@cygnus.com>
+
+       * elf32-ppc.c (ppc_elf_relocate_section): Check that output
+       section (not input) will be in sections ".sbss", ".sbss2",
+       ".sdata", and ".sdata" for R_PPC_SDAREL16, R_PPC_EMB_SDA2REL,
+       R_PPC_EMB_SDA21, R_PPC_EMB_RELSDA.  In all these cases also ignore
+       output_offset for correct evaluation of addend.
+
 Tue Aug 18 11:48:12 1998  Catherine Moore  <clm@cygnus.com>
 
         * elf32-arm.c: Add prefix bfd_ to elf32_arm_get_bfd_for_interworking,
-       elf32_arm_allocate_interworking_sections and
-       elf32_arm_process_before_allocation.
+        elf32_arm_allocate_interworking_sections and
+        elf32_arm_process_before_allocation.
 
 Tue Aug 18 11:46:00 1998  Nick Clifton  <nickc@cygnus.com>
 
@@ -13,7 +248,6 @@ Tue Aug 18 11:46:00 1998  Nick Clifton  <nickc@cygnus.com>
  
         * bfd-in2.h: Regenerate.
 
-end-sanitize-armelf
 Sat Aug 15 20:55:08 1998  Richard Henderson  <rth@cygnus.com>
 
        * elf64-alpha.c (elf64_alpha_relax_section): Handle indirect symbols.
@@ -23,7 +257,6 @@ Fri Aug 14 09:12:28 1998  Stan Cox  <scox@cygnus.com>
        * aoutx.h (aout_link_input_section_ext): Use the relocation already
        calculated for RELOC_SPARC_REV32 case.
 
-start-sanitize-armelf
 Thu Aug 13 14:02:02 1998  Catherine Moore  <clm@cygnus.com>
 
        * bfd-in.h:  Add prototypes for elf32_arm_get_bfd_for_interworking,
@@ -49,7 +282,6 @@ Thu Aug 13 14:02:02 1998  Catherine Moore  <clm@cygnus.com>
        (elf32_arm_relocate_section):  Pass symbol section to
        elf32_arm_final_link_relocate.
 
-end-sanitize-armelf
 Wed Aug 12 19:00:39 1998  Geoff Keating  <geoffk@ozemail.com.au>
 
        * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Generate PLT
@@ -60,14 +292,11 @@ Wed Aug 12 14:48:33 1998  Ian Lance Taylor  <ian@cygnus.com>
 
        * libaout.h: Remove nested comment to avoid warning.
 
-start-sanitize-armelf
 Wed Aug 12 08:10:11 1998 Catherine Moore  <clm@cygnus.com>
 
        * elf32-arm.c (elf32_arm_final_link_relocate):  Rework
        R_ARM_PC24 relocation.
 
-end-sanitize-armelf
-start-sanitize-armelf
 Tue Aug 11 14:42:26 1998  Catherine Moore  <clm@cygnus.com>
 
        * elf32-arm.c (elf32_arm_final_link_relocate):  Remove unused
@@ -76,7 +305,6 @@ Tue Aug 11 14:42:26 1998  Catherine Moore  <clm@cygnus.com>
        (elf32_arm_relocate_section):  Don't pass local sym and pass
        sym_flags to elf32_arm_final_link_relocate. 
 
-end-sanitize-armelf
 Mon Aug 10 20:38:39 1998  Richard Henderson  <rth@cygnus.com>
 
        * elf64-alpha.c (elf64_alpha_calc_dynrel_sizes): Correct last change
@@ -100,13 +328,11 @@ Mon Aug 10 17:31:21 1998  Ian Lance Taylor  <ian@cygnus.com>
        * ieee.c (ieee_write_processor): Correct the processor ID written
        out for bfd_arch_m68k, accommodating change of March 25.
 
-start-sanitize-armelf
 Sun Aug  9 20:55:44 1998  Catherine Moore  <clm@cygnus.com>
 
         * elf32-arm.c (elf32_arm_final_link_relocate):  Rework
         R_ARM_THM_RPC22 relocations.
 
-end-sanitize-armelf
 Sat Aug  8 15:15:30 1998  Richard Henderson  <rth@cygnus.com>
 
        * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Undef weak symbols
@@ -114,7 +340,6 @@ Sat Aug  8 15:15:30 1998  Richard Henderson  <rth@cygnus.com>
        (elf64_alpha_calc_dynrel_sizes): Allow enough room for RELATIVE
        .got relocs in -Bsymbolic shared objects.
 
-start-sanitize-armelf
 Wed Aug  5 15:48:08 1998  Nick Clifton  <nickc@cygnus.com>
 
        * elf32-arm.c: Add private flags to ELF header.
@@ -123,7 +348,6 @@ Wed Aug  5 15:48:08 1998  Nick Clifton  <nickc@cygnus.com>
        (elf32_arm_copy_private_flags): New Function.
        (elf32_arm_merge_private_bfd_data): New Function.
 
-end-sanitize-armelf
 Mon Aug  3 17:10:15 1998  Ian Lance Taylor  <ian@cygnus.com>
 
        * elf32-sparc.c (elf32_sparc_check_relocs): Permit WPLT30 against
@@ -142,7 +366,6 @@ Sun Aug  2 03:19:23 1998  Richard Henderson  <rth@cygnus.com>
        * elf32-mips.c (_bfd_mips_elf_section_from_shdr): Don't pass
        ".liblist" string through gettext.
 
-start-sanitize-armelf
 Fri Jul 31 16:38:14 1998  Catherine Moore  <clm@cygnus.com>
 
         * Makefile.am: Add support for elf32-arm.lo.
@@ -156,7 +379,6 @@ Fri Jul 31 16:38:14 1998  Catherine Moore  <clm@cygnus.com>
         bfd_target bfd_elf32_littlearm_vec.
         * elf32-arm.c:  New file.
 
-end-sanitize-armelf
 Tue Jun 28 19:05:28 1998  Stan Cox  <scox@cygnus.com>
 
        * libaout.h (M_SPARCLITE_LE): New machine.
This page took 0.028643 seconds and 4 git commands to generate.