2003-05-15 H.J. Lu <hongjiu.lu@intel.com>
[binutils-gdb.git] / bfd / ChangeLog
index 2d344b00dfbef91e397035fea45f1434d324cb1a..d7911de494f2ddf1d8a143ab9360e7ae53ae562d 100644 (file)
@@ -1,3 +1,137 @@
+2003-05-15  H.J. Lu <hongjiu.lu@intel.com>
+
+       * elflink.c (_bfd_elf_fix_symbol_flags): Also hide protected
+       symbol.
+
+2003-05-15  H.J. Lu <hongjiu.lu@intel.com>
+
+       * elflink.h (elf_link_check_versioned_symbol): Also allow
+       the base version.
+
+2003-05-15  Alan Modra  <amodra@bigpond.net.au>
+           H.J. Lu <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (allocate_dynrelocs): Use SYMBOL_CALLS_LOCAL.
+       (elf_i386_relocate_section): Likewise.
+       * elf32-ppc.c (allocate_dynrelocs): Likewise.
+       (ppc_elf_relocate_section): Likewise.
+       * elf64-ppc.c (allocate_dynrelocs): Likewise.
+       (ppc64_elf_relocate_section): Likewise.
+
+2003-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * elf32-mips.c (gprel32_with_gp): Remove useless N64 ABI case.
+
+2003-05-13  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Check for
+       processor capability, allow merge of HC12 and HCS12 in some cases.
+       (m68hc11_elf_hash_table_create): Use bfd_malloc instead of bfd_zalloc.
+       * cpu-m68hc12.c (bfd_m68hc12s_arch): New struct.
+       (bfd_m68hc12_arch): Link it.
+       (scan_mach): New function.
+
+2003-05-13  Andrew Haley  <aph@redhat.com>
+
+       * elf.c (bfd_elf_hash): Mask lower 32 bits of hash.
+
+2003-05-13  Alan Modra  <amodra@bigpond.net.au>
+           H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Move from
+       elf32-ppc.c.  Add ELF_LINK_FORCED_LOCAL check.
+       * elf32-ppc.c: (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Delete.
+       (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL for dynreloc check.
+       (ppc_elf_relocate_section): Likewise.
+       * elf64-ppc.c (allocate_dynrelocs): Likewise.
+       (ppc64_elf_relocate_section): Likewise.  Use for .got relocs too.
+       (ppc64_elf_adjust_dynamic_symbol): Don't assume symbols with .plt
+       relocs need no other types.
+       * elf32-i386.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL for
+       dynreloc check.
+       (elf_i386_relocate_section): Likewise.  Use for .got relocs too.
+       (elf_i386_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL for
+       .got relocs.
+
+2003-05-13  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * elf32-sh.c (sh_elf_adjust_dynamic_symbol): For weak symbols,
+       copy ELF_LINK_NON_GOT_REF from weakdef.
+       (allocate_dynrelocs):  For undef weak syms with non-default
+       visibility, a) don't allocate plt entries, b) don't allocate
+       .got relocs, c) discard dyn rel space
+        (sh_elf_relocate_section): d) don't generate .got relocs, e)
+        don't generate dynamic relocs.
+       (sh_elf_copy_indirect_symbol): Don't copy ELF_LINK_NON_GOT_REF
+       for weakdefs when symbol already adjusted.
+
+2003-05-12  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-xstormy16.c (xstormy16_elf_howto_table): use 'bitfield'
+       overflow detection for R_XSTORMY16_16 reloc.
+
+2003-05-12  Paul Clarke  <paulc@senet.com.au>
+
+       * elf32-h8300.c: Fix typo in name of R_H8_DIR8 reloc.
+
+2003-05-11  Jason Eckhardt  <jle@rice.edu>
+
+       * elf32-i860.c (elf32_i860_relocate_highadj): Properly
+       adjust upper bits.
+       (elf32_i860_relocate_splitn): Obtain upper 5 bits from the
+       proper place.
+       (elf32_i860_relocate_pc16): Obtain upper 5 bits from the
+       proper place.
+
+2003-05-11  Andreas Schwab  <schwab@suse.de>
+
+       * elf32-m68k.c (elf_m68k_relocate_section): Replace ugly
+       complicated tests for unresolvable relocs with a simple direct
+       scheme using "unresolved_reloc" var.  Report some detail on
+       bfd_reloc_outofrange and similar errors.
+
+2003-05-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * elf32-s390.c (allocate_dynrelocs, elf_s390_relocate_section):
+       Fix WILL_CALL_FINISH_DYNAMIC_SYMBOL call.
+       (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO.
+       * elf64-s390.c: Likewise.
+
+2003-05-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * elf32-s390.c (ELIMINATE_COPY_RELOCS): Define as one.
+       (elf_s390_adjust_dynamic_symbol): For weak symbols, copy
+       ELF_LINK_NON_GOT_REF from weakdef.
+       (elf_s390_copy_indirect_symbol): Test whether the weakdef sym has
+       already been adjusted before treating it specially.
+       * el64-s390.c: Likwise.
+
+2003-05-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * elf32-s390.c (allocate_dynrelocs): For undef weak syms with
+       non-default visibility, a) don't make them dynamic, b) discard
+       space for dynamic relocs.
+       (elf_s390_relocate_section): Initialize the GOT entries and skip
+       R_390_{8,16,32}/R_390_PC{16,16DBL,32DBL,32} for weak undefined
+       symbols with non-default visibility.
+       * elf64-s390.c: Likewise.
+
+2003-05-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * cpu-arm.c (arm_check_note): Warning fix.
+       * elf32-iq2000.c (iq2000_elf_check_relocs): Warning fixes.  Arrange
+       to keep relocs if edited.
+       (iq2000_elf_print_private_bfd_data): Return TRUE.
+       * elfxx-ia64.c (elfNN_ia64_relax_section): Use ELFNN_R_SYM, not
+       ELF64_R_SYM.
+       (elfNN_ia64_relax_ldxmov): Warning fix.
+       * xtensa-isa.c (xtensa_add_isa): Warning fix.
+       * xtensa-modules.c (get_num_opcodes): Warning fix.
+
+2003-05-09  Andrey Petrov <petrov@netbsd.org>
+
+       * elf.c (elf_fake_sections): Use correct cast for sh_name.
+
 2003-05-09  Alan Modra  <amodra@bigpond.net.au>
 
        * elflink.c (_bfd_elf_link_create_dynamic_sections): Move from