diff options
author | Ian Lance Taylor <iant@google.com> | 2007-11-14 16:53:25 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-11-14 16:53:25 +0000 |
commit | 9a2d69841557c502021be98221a796ebe253fa09 (patch) | |
tree | 0b92ca469f9782810c95cbbc2e2aa5e80273c669 /gold/x86_64.cc | |
parent | 3e6fe5ae738660d48c8b6a3e0206cbd2d23fa1c5 (diff) | |
download | gdb-9a2d69841557c502021be98221a796ebe253fa09.zip gdb-9a2d69841557c502021be98221a796ebe253fa09.tar.gz gdb-9a2d69841557c502021be98221a796ebe253fa09.tar.bz2 |
Add heuristics for undefined symbol warnings.
Diffstat (limited to 'gold/x86_64.cc')
-rw-r--r-- | gold/x86_64.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/x86_64.cc b/gold/x86_64.cc index 0614e89..349d8c1 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() |