diff options
author | Ian Lance Taylor <iant@google.com> | 2007-11-14 07:52:21 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-11-14 07:52:21 +0000 |
commit | 3728821ffcf74858b028948e224e1dc4695d9112 (patch) | |
tree | 33789e7f02b4a7cece4de72bc9ceb1381dbc34bf /gold/x86_64.cc | |
parent | e2827e5f525574e8620bd43c8bcb27dba3407a7f (diff) | |
download | gdb-3728821ffcf74858b028948e224e1dc4695d9112.zip gdb-3728821ffcf74858b028948e224e1dc4695d9112.tar.gz gdb-3728821ffcf74858b028948e224e1dc4695d9112.tar.bz2 |
Support special always-defined symbols for targets.
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..ead93d9 100644 --- a/gold/x86_64.cc +++ b/gold/x86_64.cc @@ -97,6 +97,11 @@ class Target_x86_64 : public Sized_target<64, false> uint64_t do_dynsym_value(const Symbol*) const; + // Return whether SYM is always defined. + bool + do_is_always_defined(Symbol* sym) const + { return strcmp(sym->name(), "__tls_get_addr") == 0; } + // Relocate a section. void relocate_section(const Relocate_info<64, false>*, |