Removed superflous code.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index b360427200d7aa0b3f63fc01f85f0151d9173eec..aec246a20b345180ddaf5622a6a890f9246d7df4 100644 (file)
@@ -1,3 +1,382 @@
+Tue Nov 10 16:17:06 1998  Geoffrey Noer  <noer@cygnus.com>
+
+       * acinclude.m4, config.bfd: detect cygwin* instead of cygwin32*.
+       * aclocal.m4, configure: regenerate
+
+Tue Nov 10 15:13:59 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * elf.c (prep_headers): Add support for bfd_arch_fr30.
+
+Tue Nov 10 13:37:36 1998  Felix Lee  <flee@cygnus.com>
+
+       * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE,
+       BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): didn't define macro when value
+       was cached.
+       * aclocal.m4, configure: regenerated.
+       
+Tue Nov 10 14:31:01 1998  Catherine Moore  <clm@cygnus.com>
+
+        * elf32-d10v.c (reloc_type):  Add R_D10V_GNU_VTINHERIT and
+        R_D10V_GNU_VTENTRY relocs.
+        (elf_d10v_howto_table):  Likewise.
+        (d10v_reloc_map d10v_reloc_map):  Likewise.
+        (elf32_d10v_gc_mark_hook):  New.
+        (elf32_d10v_gc_sweep_hook):  New.
+        (elf32_d10v_check_relocs):  New.
+        (elf32_d10v_relocate_section):  New.
+        (elf_backend_relocate_section):  Define.
+        (elf_backend_can_gc_sections):  Define.
+
+Sat Nov  7 18:07:51 1998  Peter Schauer  <peter.schauer@regent.e-technik.tu-muenchen.de>
+
+       * Makefile.am (BFD32_BACKENDS): Move vms files here...
+       (BFD64_BACKENDS): ...from here.
+       (BFD32_BACKENDS_CFILES): Move vms files here...
+       (BFD64_BACKENDS_CFILES): ...from here.
+       * Makefile.in: Rebuild.
+
+Wed Nov  4 15:58:48 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * Makefile.am: Add FR30 target.
+       * Makefile.in: Add FR30 target.
+       * archures.c: Add support for FR30.
+       * config.bfd: Add support for FR30.
+       * configure.in: Add support for FR30.
+       * reloc.c: Add support for FR30 relocations.
+       * targets.c: Add support for FR30 relocations.  
+       * bfd-in2.h: Regenerate.
+       * configure: Regenerate.
+       * libbfd.h:  Regenerate.
+       * cpu-fr30.c: New file.
+       * elf32-fr30.c: New file.
+       
+Mon Nov  2 14:59:33 1998  Geoffrey Noer  <noer@cygnus.com>
+
+       * configure.in: detect cygwin* instead of cygwin32*
+       * configure: regenerate
+
+Sun Nov  1 19:32:28 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * elf-m10300.c (mn10300_elf_relax_section): Do not use alloca,
+       use bfd_malloc and free instead and check return value from bfd_malloc.
+
+Sun Nov  1 16:20:35 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * libbfd-in.h (_bfd_dwarf1_find_nearest_line): Declare.
+       * libbfd.h: Rebuild.
+
+       * elf32-mips.c (mips_elf_dynsym_sec_names): Comment out.
+       (SIZEOF_MIPS_DYNSYM_SECNAMES): Likewise.
+       (MIPS_TEXT_DYNSYM_SECN): Likewise.
+       (_bfd_mips_elf_fake_sections): Don't set sh_info field of a .hash
+       section.
+       (struct mips_elf_link_hash_table): Remove dynsym_sec_strindex
+       field.
+       (mips_elf_link_hash_table_create): Don't initialize
+       dynsym_sec_strindex.
+       (mips_elf_gc_mark_hook): Add default case to avoid warning.
+       (mips_elf_size_dynamic_sections): Generate a section symbol for
+       every output section.
+       (mips_elf_finish_dynamic_sections): Count all sections for
+       DT_MIPS_UNREFEXTNO.
+       (mips_elf_finish_dynamic_sections): Use dynamic symbols for all
+       output sections.
+
+Sun Nov  1 12:46:53 1998  Geoff Keating  <geoffk@ozemail.com.au>
+
+       * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Allocate two slots
+       for later PLT entries in large PLTs.
+       (ppc_elf_finish_dynamic_symbol): Allow for the extra slots.
+
+Sat Oct 31 20:10:09 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * elf32-ppc.c (ppc_elf_reload_section): Fix typo.
+
+1998-10-26 15:58  Ulrich Drepper  <drepper@cygnus.com>
+
+       * elf-bfd.h (struct elf_link_hash_entry): Add new field elf_hash_value.
+       * elflink.h (elf_collect_hash_codes): New function.  This function is
+       called for each exported symbol and we compute the ELF hash value for
+       it.
+       (compute_bucket_value): New function.  It is called from
+       size_dynamic_sections to determine the hash table size.  When we are
+       optimizing a better, but slower, algorithm is used.
+       (size_dynamic_sections): Call compute_bucket_value.
+
+       * elf.c (bfd_elf_hash): Optimize the hash function a bit.
+
+Mon Oct 19 20:03:21 1998  Catherine Moore  <clm@cygnus.com>
+
+        * elf32-sh.c:  Add HOWTO entries for R_SH_GNU_VTINHERIT and
+        R_SH_GNU_VTENTRY.
+        (sh_elf_gc_mark_hook):  New.
+        (sh_elf_gc_sweep_hook):  New.
+        (sh_elf_check_relocs):  New.
+        (elf_backend_can_gc_sections):  Define.
+
+Mon Oct 19 16:57:05 1998  Felix Lee  <flee@cygnus.com>
+
+       * acinclude.m4: undo previous gettext change
+       * aclocal.m4: rebuild with right version of aclocal.
+
+Mon Oct 19 01:47:21 1998  Felix Lee  <flee@cygnus.com>
+
+       * acinclude.m4, aclocal.m4: move gettext-related fragments from
+       aclocal.m4 to acinclude.m4, so they don't get lost.
+
+       * elfcore.h: rewrite for better corefile support.
+       * elf.c (elfcore_*): new functions.
+       * elf-bfd.h (elf_obj_tdata): new structure members.
+       * acconfig.h, acinclude.m4, configure.in: add feature-tests for
+       flavor of procfs.
+       * aclocal.m4, config.in, configure, Makefile.in: regenerated.
+
+Fri Oct 16 14:07:45 1998  Catherine Moore  <clm@cygnus.com>
+
+        * elf32-m32r.c:  Add HOWTO entries for R_M32R_GNU_VTINHERIT
+        and R_M32R_GNU_VTENTRY.
+        (elf_backend_can_gc_sections):  Define.
+        (m32r_elf_check_relocs):  New.
+        (m32r_elf_gc_mark_hook):  New.
+        (m32r_elf_gc_sweep_hook):  New.
+        (m32r_elf_relocate_section):  Handle VT relocs.
+
+Mon Oct 12 14:18:40 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * coff-arm.c (arm_relocate_section): Remove redundant test.
+
+       * bfd-in2.h (struct reloc_howto_struct): Improve comment to make
+       cleat that the 'bitsize' field is the size of the bitfield AFTER
+       relocation not before.
+
+       * elf32-m32r.c (R_M32R_18_PCREL): Fix size of bitfield.
+
+       * coff-mips.c (mips_relocate_hi): Cope with missing refhi or reflo
+       relocs.
+
+Tue Oct  6 09:20:44 1998  Catherine Moore  <clm@cygnus.com>
+
+        * elf32-sparc.c:  Add HOWTO entries for R_SPARC_GNU_VTINHERIT and
+        R_SPARC_GNU_VTENTRY.
+        (elf32_sparc_check_relocs):  Handle them.
+        (elf32_sparc_reloc_type_lookup):  Likewise.
+        (elf32_sparc_relocate_section):  Likewise.
+        (elf32_sparc_gc_mark_hook):  New.
+        (elf32_sparc_gc_sweep_hook):  New.
+
+Mon Oct  5 14:55:30 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * som.c (som_finish_writing): Perform some sanity checks when
+       writing an executable or shared library.
+
+Mon Oct  5 12:02:31 1998  Gavin Romig-Koch  <gavin@cygnus.com>
+
+       * dwarf1.c : New file.  Adds _bfd_dwarf1_find_nearest_line.
+       * configure.in (elf): Add dwarf1.lo.
+       * elf_bfd.h (elf_ob_tdata): Add dwarf1_find_line_info.
+       * elf.c (_bfd_elf_find_nearest_line): Add call to
+       _bfd_dwarf1_find_nearest_line.
+       * elf32-mips.c (_bfd_mips_elf_find_nearest_line):
+       Add call to _bfd_dwarf1_find_nearest_line.
+       * configure: Rebuilt.
+
+Mon Oct  5 10:06:22 1998  Catherine Moore  <clm@cygnus.com>
+
+        * elflink.h (elf_gc_sections):  Do not allow garbage
+        collection if dynamic sections have been created.
+
+Mon Oct  5 09:07:37 1998  Catherine Moore  <clm@cygnus.com>
+
+        * elf32-v850.c: Add HOWTO entries for R_V850_GNU_VTINHERIT and
+        R_V850_GNU_VTENTRY.
+        (v850_elf_check_relocs):  Handle VTINHERIT and VTENTRY relocs.
+        (v850_elf_perform_relocation):  Likewise.
+        (v850_elf_final_link_relocate):  Likewise.
+        (v850_elf_relocate_section):  Likewise.
+        (v850_elf_gc_sweep_hook):  New routine.
+        (v850_elf_gc_mark_hook):  New routine.
+        (elf_backend_can_gc_sections):  Define.
+
+Mon Oct  5 09:04:25 1998  Catherine Moore  <clm@cygnus.com>
+
+        * elf32-m68k.c (elf_m68k_gc_sweep_hook):  Don't assume
+        that dynobj exists.
+
+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.
@@ -24,15 +403,20 @@ Thu Aug 20 15:03:45 1998  Nick Clifton  <nickc@cygnus.com>
        (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, 
+       * elf-bfd.h (_bfd_elf_write_corefile_contents,
        bfd_elf_mkcorefile): declare.
-       * elfxx-target.h (_bfd_elf_write_corefile_contents, 
+       * 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, 
+       * 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.
@@ -42,10 +426,10 @@ Wed Aug 19 15:43:26 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>
        (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
@@ -65,7 +449,7 @@ Tue Aug 18 11:46:00 1998  Nick Clifton  <nickc@cygnus.com>
         * bfd-in.h: Ammend prototype for
         elf32_arm_process_before_allocation to remove surplus third
         argument.
+
         * bfd-in2.h: Regenerate.
 
 Sat Aug 15 20:55:08 1998  Richard Henderson  <rth@cygnus.com>
@@ -123,7 +507,7 @@ Tue Aug 11 14:42:26 1998  Catherine Moore  <clm@cygnus.com>
        argument is_local.  Add argument sym_flags.  Check sym_flags
        in R_ARM_ABS32 case.  Include addend for R_ARM_THM_PC22 case.
        (elf32_arm_relocate_section):  Don't pass local sym and pass
-       sym_flags to elf32_arm_final_link_relocate. 
+       sym_flags to elf32_arm_final_link_relocate.
 
 Mon Aug 10 20:38:39 1998  Richard Henderson  <rth@cygnus.com>
 
@@ -214,7 +598,7 @@ Tue Jun 28 19:05:28 1998  Stan Cox  <scox@cygnus.com>
        be BFD_RELOC_SPARC_REV32.
        * reloc.c: Ditto.
        * config.bfd (sparc86x-*-aout): New
-       
+
 Fri Jul 24 13:54:19 1998  Nick Clifton  <nickc@cygnus.com>
 
        * linker.c (_bfd_generic_final_link): Allocate NULL symbol before
This page took 0.0276 seconds and 4 git commands to generate.