mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +08:00
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.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2015-02-15 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2015-02-15 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* dwarf2.c (read_rangelist): Correct buffer overflow check
|
||||
|
@ -3143,6 +3143,7 @@ elf_i386_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);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user