Removed superflous code.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 1b1908871253440b86acce7477a7ba5a2863dd70..aec246a20b345180ddaf5622a6a890f9246d7df4 100644 (file)
@@ -1,3 +1,821 @@
+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.
+       * 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.
+
+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>
+
+       * elf64-alpha.c (elf64_alpha_relax_section): Handle indirect symbols.
+
+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.
+
+Thu Aug 13 14:02:02 1998  Catherine Moore  <clm@cygnus.com>
+
+       * bfd-in.h:  Add prototypes for elf32_arm_get_bfd_for_interworking,
+       elf32_arm_allocate_interworking_sections and
+       elf32_arm_process_before_allocation.
+       * bfd-in2.h:  Regenerated.
+       * elf32-arm.c Define elf32_arm_link_hash_table.
+       (insert_thumb_branch): New routine.
+       (find_thumb_glue): New routine.
+       (find_arm_glue): New routine.
+       (record_arm_to_thumb_glue): New routine.
+       (record_thumb_to_arm_glue): New routine.
+       (elf32_arm_link_hash_table_create): New routine.
+       (elf32_arm_get_bfd_for_interworking): New routine.
+       (elf32_arm_allocate_interworking_sections) New routine.
+       (elf32_arm_process_before_allocation) New routine.
+       (elf32_thumb_to_arm_stub): New routine.
+       (elf32_arm_to_thumb_stub): New routine.
+       (elf32_print_private_bfd_data): Fix typo.
+       (elf32_arm_final_link_relocate):  Add argument sym_sec.
+       Check for branches to thumb symbols in case R_ARM_PC24.
+       Check for branches to arm symbols in case R_ARM_THM_PC22.
+       (elf32_arm_relocate_section):  Pass symbol section to
+       elf32_arm_final_link_relocate.
+
+Wed Aug 12 19:00:39 1998  Geoff Keating  <geoffk@ozemail.com.au>
+
+       * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Generate PLT
+       entries unless the symbol is defined in the executable; in
+       particular, undefined weak symbols get a PLT entry.
+
+Wed Aug 12 14:48:33 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * libaout.h: Remove nested comment to avoid warning.
+
+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.
+
+Tue Aug 11 14:42:26 1998  Catherine Moore  <clm@cygnus.com>
+
+       * elf32-arm.c (elf32_arm_final_link_relocate):  Remove unused
+       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.
+
+Mon Aug 10 20:38:39 1998  Richard Henderson  <rth@cygnus.com>
+
+       * elf64-alpha.c (elf64_alpha_calc_dynrel_sizes): Correct last change
+       to not count too few relocs for dynamicly linked executables.
+
+Mon Aug 10 15:35:34 1998  Richard Henderson  <rth@cygnus.com>
+
+       * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Never consider
+       symbols without a dynamic index dynamic.  Consider all weak
+       symbols dynamic.
+       (elf64_alpha_strip_section_from_output): Don't assume 1-1
+       correspondance between input and output sections.
+
+Mon Aug 10 15:31:39 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * elflink.h (elf_gc_common_finalize_got_offsets): For backends
+       that use a .got.plt section start the got offset at zero.
+
+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.
+
+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.
+
+Sat Aug  8 15:15:30 1998  Richard Henderson  <rth@cygnus.com>
+
+       * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Undef weak symbols
+       are always dynamic.
+       (elf64_alpha_calc_dynrel_sizes): Allow enough room for RELATIVE
+       .got relocs in -Bsymbolic shared objects.
+
+Wed Aug  5 15:48:08 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-arm.c: Add private flags to ELF header.
+       (elf32_arm_print_private_bfd_data): New Function.
+       (elf32_arm_set_private_flags): New Function.
+       (elf32_arm_copy_private_flags): New Function.
+       (elf32_arm_merge_private_bfd_data): New Function.
+
+Mon Aug  3 17:10:15 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf32-sparc.c (elf32_sparc_check_relocs): Permit WPLT30 against
+       a local symbol.
+       (elf32_sparc_relocate_section): Likewise.
+
+Sun Aug  2 03:19:23 1998  Richard Henderson  <rth@cygnus.com>
+
+       * elf32-ppc.c (ppc_elf_check_relocs): Init sgot to NULL.  Create the
+       .got if any relocation referrs to _GLOBAL_OFFSET_TABLE_.
+       (ppc_elf_relocate_section): Pull sgot and splt search to the start
+       of the function.  Recognize no .plt as static linking.
+
+1998-08-01  Ulrich Drepper  <drepper@cygnus.com>
+
+       * elf32-mips.c (_bfd_mips_elf_section_from_shdr): Don't pass
+       ".liblist" string through gettext.
+
+Fri Jul 31 16:38:14 1998  Catherine Moore  <clm@cygnus.com>
+
+        * Makefile.am: Add support for elf32-arm.lo.
+        * Makefile.in: Rebuild.
+        * config.bfd (arm-*-elf):  Define targ_defvec and targ_selvecs.
+        (thumb-*-elf): Define targ_defvec and targ_selvecs.
+        * configure.in:  Handle bfd_elf32_littlearm_vec and bfd_elf32_bigarm_vec.
+        * configure: Regenerate.
+        * elf.c: (prep_headers):  Support arch_type of EM_ARM.
+        * targets.c:  Support new targets bfd_elf32_bigarm_vec and
+        bfd_target bfd_elf32_littlearm_vec.
+        * elf32-arm.c:  New file.
+
+Tue Jun 28 19:05:28 1998  Stan Cox  <scox@cygnus.com>
+
+       * libaout.h (M_SPARCLITE_LE): New machine.
+       * sunos.c (MACHTYPE_OK): Add machine M_SPARCLITE_LE.
+       * aoutf1.h (sunos_set_arch_mach): Add machine M_SPARCLITE_LE.
+       (sunos_write_object_contents): Add machine bfd_mach_sparc_sparclite_le
+       * aoutx.h (howto_table_ext): Add relocation R_SPARC_REV32.
+       (NAME(aout,machine_type)) Add machine bfd_mach_sparc_sparclite_le
+       (aout_link_input_section_ext): Add RELOC_SPARC_REV32 support.
+       * elf32-sparc.c (_bfd_sparc_elf_howto_table, sparc_reloc_map,
+       elf32_sparc_relocate_section): Rename R_SPARC_32LE to be R_SPARC_REV32
+       * libbfd.h (bfd_reloc_code_real_names): Rename BFD_RELOC_SPARC_32LE to
+       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
+       actually mapping the output sections.
+
+Fri Jul 24 11:24:29 1998  Jeffrey A Law  (law@cygnus.com)
+
+start-sanitize-am33
+       * elf-m10300.c (mn10300_elf_relax_section): Fix typo when relaxing
+       from 24bit operand to an 8bit operand.
+
+       * elf-m10300.c (mn10300_elf_relax_section): Do not relax "dmul",
+       "dmulu", "dmach", "dmachu" with 32bit operands.
+end-sanitize-am33
+
+       * elf-m10300.c (mn10300_elf_howto): Add R_MN10300_24 entry.
+       (mn10300_elf_reloc_map): Similarly.
+       (mn10300_elf_final_link_relocate): Handle R_MN10300_24.
+start-sanitize-am33
+       (mn10300_elf_relax_section): Support relaxing on the am33.
+end-sanitize-am33
+
+Fri Jul 24 12:36:04 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+start-sanitize-r5900
+       The value of R_MIPS15_S3 has changed:
+       * elf32-mips.c (elf_mips15_s3_howto): New static variable.
+       (mips_reloc_map): Remove BFD_RELOC_MIPS15_S3.
+       (bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS15_S3
+       specially.
+       (mips_info_to_howto_rel): Handle R_MIPS15_S3 specially.
+       (mips_elf_relocate_section): Check for R_MIPS15_S3.
+
+end-sanitize-r5900
+       * elf32-mips.c (elf_mips_howto_table): Add reloc types used on
+       Irix 6.
+       (bfd_elf32_bfd_reloc_type_lookup): Add default case.
+       * elf64-mips.c: Replace all uses of mips_elf64_reloc_type with
+       elf_mips_reloc_type defined in elf/mips.h.
+
+1998-07-24  Ulrich Drepper  <drepper@cygnus.com>
+
+       * elf64-mips.c: Remove reloc_type definition completely.  It's now
+       in elf/mips.h.
+
+Thu Jul 23 13:33:19 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * elf64-mips.c (mips_elf64_reloc_type): #if 0 out more relocations
+       as they are defined in elf/mips.h now.
+
+Thu Jul 23 11:29:43 1998  Jeffrey A Law  (law@cygnus.com)
+
+start-sanitize-am33
+       * elf-m10300.c (compute_function_info): Keep track of stack space
+       needed by am33 movm instruction variant.
+end-sanitize-am33
+
+       * Re-add lost change:
+        * elf-m10300.c (elf32_mn10300_link_hash_entry): Add new field
+        "movm_stack_size".
+        (mn10300_elf_relax_section): Include stack space for register saves
+        in the imm8 field of a "call" instruction.
+        (compute_function_info): Determine how much stack is allocated by
+        the movm instruction.  Fix typo.
+        (elf32_mn10300_link_hash_newfunc): Initialize movm_stack_size.
+
+Thu Jul 23 11:38:05 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf32-sparc.c (elf_backend_got_header_size): Define as 4.
+       * elf64-sparc.c (elf_backend_got_header_size): Define as 8.
+
+1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
+
+       * elf32-ppc.c: Change use of pp_reloc_type to elf_ppc_reloc_type.
+
+Wed Jul 22 16:27:18 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-hppa.h: Let ELF header define the enum containing the
+       external reloc numbers.
+       * elf32-i386.h: Likewise.
+
+1998-07-22 14:57  Ulrich Drepper  <drepper@cygnus.com>
+
+       * elf-m10300.c: Let ELF header now define the macros to get the enum.
+       * elf32-mips.c: Likewise.
+       * elf32-ppc.c: Likewise.
+
+Wed Jul 22 13:53:52 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * bfd-in2.h: Change type of 'class' parameter to 'unsigned int' in
+       bfd_coff_set_symbol_class(), in order to avoid K&R compatability
+       prblems.
+       * bfd-in.h: Regenerate.
+       * coffgen.c (bfd_coff_set_symbol_class): Change type of 'class'
+       parameter to 'unsigned int' to avoid K&R compatability problems.
+
+Wed Jul 22 16:43:24 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ieee.c (ieee_find_nearest_line): Change filename_ptr and
+       functionname_ptr to be const.  Change line_ptr to be unsigned.
+
+       * coffcode.h (coff_link_output_has_begun): Simplify handling when
+       macro is not defined.  Change second parameter from bfd_link_info
+       to coff_final_link_info.  Add prototype.
+       (coff_final_link_postscript): Simplify handling when macro is not
+       defined.  Add prototype.
+
+1998-07-22 13:08  Ulrich Drepper  <drepper@cygnus.com>
+
+       * elf-mn10300.c: Before include system specific ELF header define
+       START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS.
+       * elf32-mips.c: Likewise.
+       * elf32-ppc.c: Likewise.
+
+Wed Jul 22 13:46:51 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf64-mips.c (mips_elf64_reloc_type): Copy Ulrich's elf32-mips.c
+       temporary patch over to elf64-mips.c as well.
+
+1998-07-21  Ulrich Drepper  <drepper@cygnus.com>
+
+       * elf32-mips.c (reloc_type): Temporarily disable definition of
+       standard relocation since they are now defined in elf/mips.h.
+
+Tue Jul 21 09:47:00 1998  Catherine Moore  <clm@cygnus.com>
+
+        * elf-m10200.c (mn10200_elf_final_link_relocate):
+        Modify range test for case R_MN10200_8.
+
+        * elf-m10300.c (mn10300_elf_final_link_relocate):
+        Modify range test for case R_MN10300_8.
+
+Mon Jul 20 18:50:54 1998  Richard Henderson  <rth@cygnus.com>
+
+       * elf-bfd.h (struct elf_backend_data): Add got_ & plt_header_size.
+       * elf32-i386.c (elf_backend_got_header_size): Define.
+       (elf_backend_plt_header_size): Define.
+       * elf32-m68k.c, elf32-mips.c, elf32-ppc.c: Likewise.
+       * elf32-sparc.c, elf64-alpha.c, elf64-sparc.c: Likewise.
+       * elfxx-target.h: Provide a default of zero.
+       * elflink.c (_bfd_elf_create_got_section): Use got_header_size.
+       * elflink.h (elf_gc_common_finalize_got_offsets): Likewise.
+
+       * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't remove a PLT
+       entry from an executable, even if the plt refcount goes to 0.
+
+Mon Jul 20 12:47:26 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * aoutx.h (NAME(aout,find_nearest_line)): Also remember the
+       directory name at the line number.
+
+       * elf.c (_bfd_elf_find_nearest_line): Also consider symbols
+       with an unspecified type.
+
+Wed Jul 15 11:20:01 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * sunos.c: Add undef of valid to avoid problem on SunOS.
+
+start-sanitize-beos
+Tue Jul 14 15:30:59 1998  Richard Henderson  <rth@cygnus.com>
+
+       * config.bfd (i?86-pc-beos{pe,elf,}*): Recognize.
+
+end-sanitize-beos
+Tue Jul 14 11:22:21 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * elf32-m68k.c (elf_m68k_check_relocs): Also reference count
+       R_68K_PCxx and R_68K_xx relocations.  Make sure that
+       ELF_LINK_HASH_NEEDS_PLT is always set for a PLT reloc reference.
+       (elf_m68k_gc_sweep_hook): Also reference count R_68K_PCxx and
+       R_68K_xx relocations.
+       (elf_m68k_adjust_dynamic_symbol): Reset the plt offset of a symbol
+       that has no plt entry.
+       (elf_m68k_relocate_section): Ignore the plt offset in a static
+       link.
+       * elflink.h (elf_adjust_dynamic_symbol): Reset the plt offset for
+       an ignored symbol.
+       (elf_gc_common_finalize_got_offsets): Set the got offsets also in
+       a static link.
+
+       * elf32-m68k.c (R_68K_GNU_VTINHERIT, R_68K_GNU_VTENTRY): New reloc
+       types.
+       (howto_table, reloc_map): Add entries for them.
+       (elf_m68k_check_relocs): Handle them.  Implement reference
+       counting for got and plt entries.
+       (elf_m68k_gc_mark_hook, elf_m68k_gc_sweep_hook): New functions.
+       (elf_m68k_adjust_dynamic_symbol): Handle unreferenced plt
+       symbols.
+       (rtype_to_howto_rel, elf_info_to_howto_rel): Delete.
+       (elf_m68k_relocate_section): Handle the new reloc types.
+       (bfd_elf32_bfd_final_link, elf_backend_gc_mark_hook,
+       elf_backend_gc_sweep_hook, elf_backend_can_gc_sections): Define.
+       * elflink.h (elf_link_add_object_symbols): When creating an
+       indirect reference for symbol versioning also copy the plt
+       offset.
+       (elf_fix_symbol_flags): When clearing the ELF_LINK_HASH_NEEDS_PLT
+       flag also reset the plt offset.
+       (elf_link_assign_sym_version): Likewise.
+       (elf_gc_common_finalize_got_offsets): Increment the got offset by
+       the size of the entry in bytes.
+       (elf_gc_allocate_got_offsets): Likewise.
+
+Tue Jul 14 11:18:14 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elflink.h (elf_gc_sections): Return true rather than falling off
+       the bottom.
+
+       * coffgen.c (bfd_coff_set_symbol_class): Call bfd_alloc, not
+       xmalloc.
+
+Mon Jul 13 11:06:31 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * coff-arm.c: Supress definition of TARGET_UNDERSCORE and add a
+       comment describing when it should be enabled.
+       Changed definition of USER_LABEL_PREFIX to "", to fall into line
+       with GCC sources.
+
 Mon Jul 13 13:06:54 1998  Ian Lance Taylor  <ian@cygnus.com>
 
        * ieee.c (ieee_slurp_external_symbols): Handle call optimization
@@ -141,7 +959,7 @@ Thu Jun 25 18:31:41 1998  Richard Henderson  <rth@cygnus.com>
        * elfxx-target.h: Add and default gc hooks.
 
        * elf-bfd.h (struct elf_link_hash_entry): Swap got_offset/plt_offset
-       for unions. 
+       for unions.
        (struct elf_obj_tdata): Likewise for local_got_offsets.
        * elf.c, elf-i386.c, elf32-m68k.c, elf32-mips.c: Update all uses.
        * elf32-ppc.c, elf32-sparc.c, elf64-alpha.c: Likewise.
@@ -195,7 +1013,7 @@ end-sanitize-am33
 Thu Jun 25 18:31:08 1998  Nick Clifton  <nickc@cygnus.com>
 
        * elf32-v850.c (v850_elf_perform_relocation): Fix HI16_S
-       relocation. 
+       relocation.
 
 Wed Jun 24 17:17:57 1998  Ian Lance Taylor  <ian@cygnus.com>
 
@@ -257,7 +1075,7 @@ Sat Jun  6 00:31:21 1998  Nick Clifton  <nickc@cygnus.com>
 
        * elf32-m32r.c: Add prototyps for static functions.
 
-       * coff-arm.c: Add prototypes for static functions. 
+       * coff-arm.c: Add prototypes for static functions.
 
 Fri Jun  5 17:21:51 1998  Nick Clifton  <nickc@cygnus.com>
 
@@ -370,7 +1188,7 @@ Tue May 26 19:37:47 1998  Stan Cox  <scox@equinox.cygnus.com>
 Thu May 21 16:59:28 1998  Nick Clifton  <nickc@cygnus.com>
 
        * peicode.h (add_data_entry): Fix precedence of operators in if ()
-       statement. 
+       statement.
 
 Tue May 19 18:41:19 1998  Ian Lance Taylor  <ian@cygnus.com>
 
@@ -537,7 +1355,7 @@ Sat Apr 25 18:29:07 1998  Richard Henderson  <rth@cygnus.com>
        * elf64-alpha.c (struct alpha_relax_info): Add tsec & elfsym members.
        (elf64_alpha_relax_section): Fill them in.
        (elf64_alpha_relax_opt_call): Implement more than a stub.
-       (elf64_alpha_add_symbol_hook): Don't set SEC_LOAD or default 
+       (elf64_alpha_add_symbol_hook): Don't set SEC_LOAD or default
        alignment on .scommon.
        (elf64_alpha_merge_gots): Merge use counts as well.
 
@@ -552,7 +1370,7 @@ Fri Apr 24 09:16:00 1998  Nick Clifton  <nickc@cygnus.com>
 
        * elf32-v850.c (v850_elf_print_private_bfd_data): Add
        internationalisation of printed information.
-       
+
        * coff-arm.c (coff_arm_print_private_bfd_data): Add
        internationalisation of printed information.
 
@@ -620,11 +1438,11 @@ Tue Apr 21 10:00:12 1998  Nick Clifton  <nickc@cygnus.com>
        * cofflink.c: Pass extra parameter to
        bfd_coff_link_output_has_begun function.
        * bfd-in.h: Add prototypes for exported ARM interworking
-       functions. 
+       functions.
        * peicode.h: ARM specific code reorganised to conform to BFD
-       coding conventions. 
+       coding conventions.
        * coffcode.h: ARM specific code reorganised to conform to BFD
-       coding conventions. 
+       coding conventions.
        * coff-arm.c: Code reorganised to conform to the BFD coding
        conventions.  Global variables have been moved into an ARM
        specific hash table structure and a new function:
@@ -643,7 +1461,7 @@ Tue Apr 21 00:11:51 1998  Richard Henderson  <rth@cygnus.com>
 Sat Apr 18 01:21:04 1998  Stan Cox  <scox@cygnus.com>
 
        * config.bfd: Added sparc86x support.
-       
+
 Fri Apr 17 22:29:04 1998  Ian Lance Taylor  <ian@cygnus.com>
 
        * elf32-mips.c (mips_elf_relocate_section): Do not complain about
@@ -651,7 +1469,7 @@ Fri Apr 17 22:29:04 1998  Ian Lance Taylor  <ian@cygnus.com>
 
 Thu Apr 16 13:49:00 1998  Richard Henderson  <rth@cygnus.com>
 
-       * elf64-alpha.c (elf64_alpha_do_reloc_gpdisp): Do all gpdisp 
+       * elf64-alpha.c (elf64_alpha_do_reloc_gpdisp): Do all gpdisp
        comparisons signed.
 
 Thu Apr 16 11:43:33 1998  Ian Lance Taylor  <ian@cygnus.com>
@@ -874,10 +1692,8 @@ Fri Mar 27 16:06:02 1998  Ian Lance Taylor  <ian@cygnus.com>
        * elf-bfd.h (elf_linker_section_t): Make alignment unsigned.
        (struct elf_obj_tdata): Make cverdefs and cverrefs unsigned.
        * elf.c (assign_file_positions_for_segments): Always set adjust.
-start-sanitize-d30v
        * elf32-d30v.c (bfd_elf_d30v_reloc): Initialize tmp_addr.  Fully
        parenthesize expression.
-end-sanitize-d30v
        * elf32-m32r.c (m32r_elf_relocate_section): Always initialize h.
        (m32r_elf_object_p): Return a value.
        (m32r_elf_print_private_bfd_data): Change fprintf format string.
@@ -930,11 +1746,11 @@ Thu Mar 26 10:13:41 1998  Nick Clifton  <nickc@cygnus.com>
 
        * peicode.h: Chain together calls to
        coff_bfd_copy_private_bfd_data and
-       coff_bfd_print_private_bfd_data. 
+       coff_bfd_print_private_bfd_data.
 
        * coff-arm.c: Add prototypes for
        coff_arm_bfd_print_private_bfd_data and
-       coff_arm_bfd_copy_private_bfd_data. 
+       coff_arm_bfd_copy_private_bfd_data.
 
 Wed Mar 25 15:45:55 1998  Nick Clifton  <nickc@cygnus.com>
 
This page took 0.033512 seconds and 4 git commands to generate.