mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-01 07:50:49 +00:00
* elflink.c (_bfd_elf_merge_symbol): Discard references to TLS
symbols from the --just-syms file.
This commit is contained in:
parent
98c5f827ea
commit
cd7be95be2
@ -1,3 +1,8 @@
|
||||
2006-10-02 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* elflink.c (_bfd_elf_merge_symbol): Discard references to TLS
|
||||
symbols from the --just-syms file.
|
||||
|
||||
2006-10-01 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* elf64-ppc.c (ppc64_elf_build_stubs): Test glink size for
|
||||
|
@ -832,6 +832,15 @@ _bfd_elf_merge_symbol (bfd *abfd,
|
||||
sec = *psec;
|
||||
bind = ELF_ST_BIND (sym->st_info);
|
||||
|
||||
/* Silently discard TLS symbols from --just-syms. There's no way to
|
||||
combine a static TLS block with a new TLS block for this executable. */
|
||||
if (ELF_ST_TYPE (sym->st_info) == STT_TLS
|
||||
&& sec->sec_info_type == ELF_INFO_TYPE_JUST_SYMS)
|
||||
{
|
||||
*skip = TRUE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
if (! bfd_is_und_section (sec))
|
||||
h = elf_link_hash_lookup (elf_hash_table (info), name, TRUE, FALSE, FALSE);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user