aboutsummaryrefslogtreecommitdiff
path: root/gold/i386.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-11-14 16:53:25 +0000
committerIan Lance Taylor <iant@google.com>2007-11-14 16:53:25 +0000
commit9a2d69841557c502021be98221a796ebe253fa09 (patch)
tree0b92ca469f9782810c95cbbc2e2aa5e80273c669 /gold/i386.cc
parent3e6fe5ae738660d48c8b6a3e0206cbd2d23fa1c5 (diff)
downloadgdb-9a2d69841557c502021be98221a796ebe253fa09.zip
gdb-9a2d69841557c502021be98221a796ebe253fa09.tar.gz
gdb-9a2d69841557c502021be98221a796ebe253fa09.tar.bz2
Add heuristics for undefined symbol warnings.
Diffstat (limited to 'gold/i386.cc')
-rw-r--r--gold/i386.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/i386.cc b/gold/i386.cc
index eae6b7f..7bd5a3a 100644
--- a/gold/i386.cc
+++ b/gold/i386.cc
@@ -100,6 +100,11 @@ class Target_i386 : public Sized_target<32, false>
std::string
do_code_fill(off_t length);
+ // Return whether SYM is defined by the ABI.
+ bool
+ do_is_defined_by_abi(Symbol* sym) const
+ { return strcmp(sym->name(), "___tls_get_addr") == 0; }
+
// Return the size of the GOT section.
off_t
got_size()