* 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.
This commit is contained in:
Ian Lance Taylor 1996-02-01 21:05:52 +00:00
parent be54c2b6c9
commit 6c55897c9f
1 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,12 @@
Thu Feb 1 16:04:06 1996 Ian Lance Taylor <ian@cygnus.com>
* 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 <sac@slash.cygnus.com>
* coff-i386.c (coff_i386_reloc_type_lookup): Add BFD_RELOC_32_PCREL.