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 | 3368a7fb7aed1785abd007308ed0b4feed7c5723 (patch) | |
tree | 5efc67cb823fd06ec37c4ab255cc8721bd9f1e72 /bfd/elf-bfd.h | |
parent | 9203ba999ff3620ef277840e1cd5344e37cec8ee (diff) | |
download | gdb-3368a7fb7aed1785abd007308ed0b4feed7c5723.zip gdb-3368a7fb7aed1785abd007308ed0b4feed7c5723.tar.gz gdb-3368a7fb7aed1785abd007308ed0b4feed7c5723.tar.bz2 |
* 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 1b9ec8a..410e91f 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 \ |