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/i386.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/i386.cc')
-rw-r--r-- | gold/i386.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/i386.cc b/gold/i386.cc index eae6b7f..9b90c79 100644 --- a/gold/i386.cc +++ b/gold/i386.cc @@ -84,6 +84,11 @@ class Target_i386 : public Sized_target<32, 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<32, false>*, |