aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-05-26 04:28:20 +0000
committerAlan Modra <amodra@gmail.com>2011-05-26 04:28:20 +0000
commit2676a7d99177c857a9cf46543f961816e2650365 (patch)
treecedaddf73fffa34649c3629ec489ab5ffaf9b9b7 /bfd/elf-bfd.h
parentea1f7d4c8e76be752583e1829e94dc487d5f77f7 (diff)
downloadbinutils-2676a7d99177c857a9cf46543f961816e2650365.zip
binutils-2676a7d99177c857a9cf46543f961816e2650365.tar.gz
binutils-2676a7d99177c857a9cf46543f961816e2650365.tar.bz2
* elf-bfd.h (SYMBOL_REFERENCES_LOCAL): Remove most of comment.
* elflink.c (_bfd_elf_symbol_refs_local_p): Expand local_protected comment.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index b34845b..59b6e72 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -232,11 +232,7 @@ struct elf_link_hash_entry
};
/* Will references to this symbol always reference the symbol
- in this object? STV_PROTECTED is excluded from the visibility test
- here so that function pointer comparisons work properly. Since
- function symbols not defined in an app are set to their .plt entry,
- it's necessary for shared libs to also reference the .plt even
- though the symbol is really local to the shared lib. */
+ in this object? */
#define SYMBOL_REFERENCES_LOCAL(INFO, H) \
_bfd_elf_symbol_refs_local_p (H, INFO, 0)