summaryrefslogtreecommitdiff
path: root/gold/x86_64.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/x86_64.cc')
-rw-r--r--gold/x86_64.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/x86_64.cc b/gold/x86_64.cc
index 0614e89c606..349d8c1407f 100644
--- a/gold/x86_64.cc
+++ b/gold/x86_64.cc
@@ -113,6 +113,11 @@ class Target_x86_64 : public Sized_target<64, 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()