diff options
author | Ian Lance Taylor <iant@google.com> | 2007-08-22 05:06:38 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-08-22 05:06:38 +0000 |
commit | a6badf5a97374debb5be7b7e6e624f409e14e00d (patch) | |
tree | 5becd23e990a6d3cc72b377591a6652673fb1b72 /gold/symtab.h | |
parent | 6b2d86bda4d98894598f17fb8682e7cd4eafd833 (diff) | |
download | gdb-a6badf5a97374debb5be7b7e6e624f409e14e00d.zip gdb-a6badf5a97374debb5be7b7e6e624f409e14e00d.tar.gz gdb-a6badf5a97374debb5be7b7e6e624f409e14e00d.tar.bz2 |
Add support for -E/--export-dynamic. Also clean up --help output a bit.
Diffstat (limited to 'gold/symtab.h')
-rw-r--r-- | gold/symtab.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/symtab.h b/gold/symtab.h index 66e98bc..cba97d0 100644 --- a/gold/symtab.h +++ b/gold/symtab.h @@ -337,6 +337,14 @@ class Symbol || this->type_ == elfcpp::STT_COMMON)); } + // Return whether this symbol can be seen outside this object. + bool + is_externally_visible() const + { + return (this->visibility_ == elfcpp::STV_DEFAULT + || this->visibility_ == elfcpp::STV_PROTECTED); + } + // Return whether there should be a warning for references to this // symbol. bool |