* elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Return
authorJakub Jelinek <jakub@redhat.com>
Fri, 4 Jul 2003 13:57:14 +0000 (13:57 +0000)
committerJakub Jelinek <jakub@redhat.com>
Fri, 4 Jul 2003 13:57:14 +0000 (13:57 +0000)
true even if -pie.

bfd/ChangeLog
bfd/elf-bfd.h

index 49c49c2be634ee58968793d15387167ad8f63748..b9f5970ba55371c697a5c7fc07c131758be7545b 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Return
+       true even if -pie.
+
 2003-07-04  Jakub Jelinek  <jakub@redhat.com>
 
        * elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add rel_fptr_sec.
index 1b9ec8ae2566e1cdc6dcdd1d9e593639a396c00e..410e91f2cb4d36d98a01b017a209e54b516aa1bd 100644 (file)
@@ -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                   \
This page took 0.029908 seconds and 4 git commands to generate.