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 | c6585bbb101d8e377478a01b64d75d9d415dbd01 (patch) | |
tree | 384d6c3a25ee4722262bd804935dbb182400c7d0 /bfd/elf.c | |
parent | f22b3cafc9a10cda728946d2fa7cc37ff905136f (diff) | |
download | gdb-c6585bbb101d8e377478a01b64d75d9d415dbd01.zip gdb-c6585bbb101d8e377478a01b64d75d9d415dbd01.tar.gz gdb-c6585bbb101d8e377478a01b64d75d9d415dbd01.tar.bz2 |
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; |