aboutsummaryrefslogtreecommitdiff
path: root/gold/i386.cc
diff options
context:
space:
mode:
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()