diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-02-14 20:17:10 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-02-15 09:56:08 -0800 |
commit | 576fa8831a7334ef5be41d9f3dc72a92bc227979 (patch) | |
tree | a215e0262a5bea9a5b711105112193ce4ad1299d /bfd/elf64-x86-64.c | |
parent | 49987e5cbb94d95e844374952923b7bb8f13ca87 (diff) | |
download | gdb-576fa8831a7334ef5be41d9f3dc72a92bc227979.zip gdb-576fa8831a7334ef5be41d9f3dc72a92bc227979.tar.gz gdb-576fa8831a7334ef5be41d9f3dc72a92bc227979.tar.bz2 |
Set root.linker_def on _TLS_MODULE_BASE_
* elf32-i386.c (elf_i386_always_size_sections): Set root.linker_def
on _TLS_MODULE_BASE_.
* elf64-x86-64.c (elf_x86_64_always_size_sections): Likewise.
Diffstat (limited to 'bfd/elf64-x86-64.c')
-rw-r--r-- | bfd/elf64-x86-64.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index fd9c726..eef0d60 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -3409,6 +3409,7 @@ elf_x86_64_always_size_sections (bfd *output_bfd, tlsbase = (struct elf_link_hash_entry *)bh; tlsbase->def_regular = 1; tlsbase->other = STV_HIDDEN; + tlsbase->root.linker_def = 1; (*bed->elf_backend_hide_symbol) (info, tlsbase, TRUE); } } |