aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2003-11-22 10:45:44 +0000
committerJakub Jelinek <jakub@redhat.com>2003-11-22 10:45:44 +0000
commitc6585bbb101d8e377478a01b64d75d9d415dbd01 (patch)
tree384d6c3a25ee4722262bd804935dbb182400c7d0 /bfd/elf-bfd.h
parentf22b3cafc9a10cda728946d2fa7cc37ff905136f (diff)
downloadgdb-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-bfd.h')
-rw-r--r--bfd/elf-bfd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index d5965d3..5cb7efa 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -200,6 +200,9 @@ struct elf_link_hash_entry
#define ELF_LINK_DYNAMIC_DEF 020000
/* Symbol is weak in all shared objects. */
#define ELF_LINK_DYNAMIC_WEAK 040000
+ /* Symbol is referenced with a relocation where C/C++ pointer equality
+ matters. */
+#define ELF_LINK_POINTER_EQUALITY_NEEDED 0100000
};
/* Will references to this symbol always reference the symbol