From: Ian Lance Taylor Date: Thu, 1 Feb 1996 21:05:52 +0000 (+0000) Subject: * elf32-i386.c (elf_i386_check_relocs): Don't record a symbol with X-Git-Tag: gdb-4_18-branchpoint~9436 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c55897c9ff5be0d80f5ce317d816ed1aeb29298;p=thirdparty%2Fbinutils-gdb.git * elf32-i386.c (elf_i386_check_relocs): Don't record a symbol with a PLT32 reloc as dynamic. (elf_i386_adjust_dynamic_symbol): If a symbol with a PLT32 reloc is not referenced by a dynamic object, and we are not making a shared object, then don't make a PLT entry. If we do make a PLT entry, make sure the symbol has been recorded as dynamic. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f23ee2ee6ab..99ce01db984 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,12 @@ +Thu Feb 1 16:04:06 1996 Ian Lance Taylor + + * elf32-i386.c (elf_i386_check_relocs): Don't record a symbol with + a PLT32 reloc as dynamic. + (elf_i386_adjust_dynamic_symbol): If a symbol with a PLT32 reloc + is not referenced by a dynamic object, and we are not making a + shared object, then don't make a PLT entry. If we do make a PLT + entry, make sure the symbol has been recorded as dynamic. + Wed Jan 31 17:23:32 1996 Steve Chamberlain * coff-i386.c (coff_i386_reloc_type_lookup): Add BFD_RELOC_32_PCREL.