[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/16546] powerpc __tls_get_addr should be ignored in ppc_elf_relax
From: |
wang.deqiang1 at zte dot com.cn |
Subject: |
[Bug ld/16546] powerpc __tls_get_addr should be ignored in ppc_elf_relax_section |
Date: |
Mon, 10 Feb 2014 02:39:04 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=16546
--- Comment #1 from wangdeqiang <wang.deqiang1 at zte dot com.cn> ---
my solution is very simple, we just ignore the tls_get_addr in
ppc_elf_relax_section:
static bfd_boolean
ppc_elf_relax_section (bfd *abfd,
asection *isec,
struct bfd_link_info *link_info,
bfd_boolean *again)
{
.............
while (h->root.type == bfd_link_hash_indirect
|| h->root.type == bfd_link_hash_warning)
h = (struct elf_link_hash_entry *) h->root.u.i.link;
+ if ((h == htab->tls_get_addr ) && ( (link_info->relocatable ||
link_info->executable)))
+ continue;
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/16546] New: powerpc __tls_get_addr should be ignored in ppc_elf_relax_section, wang.deqiang1 at zte dot com.cn, 2014/02/09
- [Bug ld/16546] powerpc __tls_get_addr should be ignored in ppc_elf_relax_section,
wang.deqiang1 at zte dot com.cn <=
- [Bug ld/16546] powerpc __tls_get_addr should be ignored in ppc_elf_relax_section, amodra at gmail dot com, 2014/02/12
- [Bug ld/16546] powerpc __tls_get_addr should be ignored in ppc_elf_relax_section, cvs-commit at gcc dot gnu.org, 2014/02/12
- [Bug ld/16546] powerpc __tls_get_addr should be ignored in ppc_elf_relax_section, amodra at gmail dot com, 2014/02/12
- [Bug ld/16546] powerpc __tls_get_addr should be ignored in ppc_elf_relax_section, wang.deqiang1 at zte dot com.cn, 2014/02/12
- [Bug ld/16546] powerpc __tls_get_addr should be ignored in ppc_elf_relax_section, wang.deqiang1 at zte dot com.cn, 2014/02/17
- [Bug ld/16546] powerpc __tls_get_addr should be ignored in ppc_elf_relax_section, amodra at gmail dot com, 2014/02/17
- [Bug ld/16546] powerpc __tls_get_addr should be ignored in ppc_elf_relax_section, wang.deqiang1 at zte dot com.cn, 2014/02/17