diff options
author | Ian Lance Taylor <iant@google.com> | 2007-11-14 22:31:02 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-11-14 22:31:02 +0000 |
commit | 07f397aba39f619db4fdce42c9e91cb07dd4dc68 (patch) | |
tree | 5cc86b1998b729454448c3f3429154dbdebde33d /gold/output.h | |
parent | c224138d88196fe7cabce4fe554c10a1520f5a4f (diff) | |
download | gdb-07f397aba39f619db4fdce42c9e91cb07dd4dc68.zip gdb-07f397aba39f619db4fdce42c9e91cb07dd4dc68.tar.gz gdb-07f397aba39f619db4fdce42c9e91cb07dd4dc68.tar.bz2 |
From Cary Coutant: Improve i386 shared library TLS support.
Diffstat (limited to 'gold/output.h')
-rw-r--r-- | gold/output.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gold/output.h b/gold/output.h index 053579f..e90077a 100644 --- a/gold/output.h +++ b/gold/output.h @@ -920,6 +920,19 @@ class Output_data_got : public Output_section_data bool add_local(Sized_relobj<size, big_endian>* object, unsigned int sym_index); + // Add an entry (or pair of entries) for a global TLS symbol to the GOT. + // Return true if this is a new GOT entry, false if the symbol was + // already in the GOT. + bool + add_global_tls(Symbol* gsym, bool need_pair); + + // Add an entry (or pair of entries) for a local TLS symbol to the GOT. + // This returns true if this is a new GOT entry, false if the symbol + // already has a GOT entry. + bool + add_local_tls(Sized_relobj<size, big_endian>* object, + unsigned int sym_index, bool need_pair); + // Add a constant to the GOT. This returns the offset of the new // entry from the start of the GOT. unsigned int |