diff options
author | Jakub Jelinek <jakub@redhat.com> | 2003-07-04 13:57:14 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2003-07-04 13:57:14 +0000 |
commit | 6f94a737e9b43e0b771893de361f58badac3effd (patch) | |
tree | 73238fc9c9711be5d26f222fe1cac2c9826c7810 /bfd/elf-bfd.h | |
parent | 3f8f8e366144709848d1f08a5a132c8bd9ca6954 (diff) | |
download | binutils-redhat-6f94a737e9b43e0b771893de361f58badac3effd.tar.gz |
* elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Return
true even if -pie.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 1b9ec8ae25..410e91f2cb 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -217,7 +217,7 @@ struct elf_link_hash_entry it's necessary for shared libs to also reference the .plt even though the symbol is really local to the shared lib. */ #define SYMBOL_REFERENCES_LOCAL(INFO, H) \ - ((! (INFO)->shared \ + (((INFO)->executable \ || (INFO)->symbolic \ || (H)->dynindx == -1 \ || ELF_ST_VISIBILITY ((H)->other) == STV_INTERNAL \ @@ -227,7 +227,7 @@ struct elf_link_hash_entry /* Will _calls_ to this symbol always call the version in this object? */ #define SYMBOL_CALLS_LOCAL(INFO, H) \ - ((! (INFO)->shared \ + (((INFO)->executable \ || (INFO)->symbolic \ || (H)->dynindx == -1 \ || ELF_ST_VISIBILITY ((H)->other) != STV_DEFAULT \ |