* elf-bfd.h (ELF_LINK_NON_GOT_REF): Define.
authorIan Lance Taylor <ian@airs.com>
Sat, 4 Sep 1999 16:26:08 +0000 (16:26 +0000)
committerIan Lance Taylor <ian@airs.com>
Sat, 4 Sep 1999 16:26:08 +0000 (16:26 +0000)
commit7843f00e2d20477ff4fe77054c7f2c5a90a20bca
treea3b1a31ff9e27a3f9e2745611d5bfd031647b44c
parent4fe53c9827dd950f6fac045494bb4821a40b2141
* elf-bfd.h (ELF_LINK_NON_GOT_REF): Define.
* elflink.h (elf_adjust_dynamic_symbol): Copy REF_REGULAR_NONWEAK
and NON_GOT_REF from weak defined symbol to real symbol.
* elf32-i386.c (elf_i386_check_relocs): Set NON_GOT_REF.
(elf_i386_adjust_dynamic_symbol): If NON_GOT_REF is not set, don't
create a COPY reloc.
* elf32-sparc.c (elf32_sparc_check_relocs): Set NON_GOT_REF.
(elf32_sparc_adjust_dynamic_symbol): If NON_GOT_REF is not set,
don't create a COPY reloc.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf32-i386.c
bfd/elf32-sparc.c
bfd/elflink.h