diff options
author | Jakub Jelinek <jakub@redhat.com> | 2003-11-22 10:45:44 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2003-11-22 10:45:44 +0000 |
commit | f9b2daee50819dc9f075aea65d2e234f09ff3c5e (patch) | |
tree | db7eed3bd24f1e8881195bf4e2ebe5c11456c8f2 /bfd/elf.c | |
parent | 4970261a62112481ff1807cf0a508f788fbac000 (diff) | |
download | binutils-redhat-f9b2daee50819dc9f075aea65d2e234f09ff3c5e.tar.gz |
2003-11-22 Jakub Jelinek <jakub@redhat.com>
* elf-bfd.h (ELF_LINK_POINTER_EQUALITY_NEEDED): Define new flag.
* elf.c (_bfd_elf_link_hash_copy_indirect): Copy it.
* elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
(elf_i386_check_relocs): Set it.
(elf_i386_finish_dynamic_symbol): If it is not set,
clear st_value of SHN_UNDEF symbol.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1359,7 +1359,8 @@ _bfd_elf_link_hash_copy_indirect (const struct elf_backend_data *bed, | ELF_LINK_HASH_REF_REGULAR | ELF_LINK_HASH_REF_REGULAR_NONWEAK | ELF_LINK_NON_GOT_REF - | ELF_LINK_HASH_NEEDS_PLT)); + | ELF_LINK_HASH_NEEDS_PLT + | ELF_LINK_POINTER_EQUALITY_NEEDED)); if (ind->root.type != bfd_link_hash_indirect) return; |