[lld] r353263 - [PPC64] Delete the unnecessary __tls_get_addr from ppc64-tls-ld-le.s
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 5 18:13:40 PST 2019
Author: maskray
Date: Tue Feb 5 18:13:40 2019
New Revision: 353263
URL: http://llvm.org/viewvc/llvm-project?rev=353263&view=rev
Log:
[PPC64] Delete the unnecessary __tls_get_addr from ppc64-tls-ld-le.s
The definition is harmful here as it suppresses R_PPC64_REL24 which is
supposed to follow R_PPC64_TLSLD.
Modified:
lld/trunk/test/ELF/ppc64-tls-ld-le.s
Modified: lld/trunk/test/ELF/ppc64-tls-ld-le.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/ppc64-tls-ld-le.s?rev=353263&r1=353262&r2=353263&view=diff
==============================================================================
--- lld/trunk/test/ELF/ppc64-tls-ld-le.s (original)
+++ lld/trunk/test/ELF/ppc64-tls-ld-le.s Tue Feb 5 18:13:40 2019
@@ -52,9 +52,7 @@ _start:
.Lfunc_end0:
.size _start, .Lfunc_end0-.Lfunc_begin0
# -- End function
-.globl __tls_get_addr
-.type __tls_get_addr, at function
-__tls_get_addr:
+
.type a, at object # @a
.section .tdata,"awT", at progbits
.p2align 2
More information about the llvm-commits
mailing list