old-cross-binutils/ld/testsuite/ld-powerpc/tlslib.s
Alan Modra ac8b6cc0b0 * ld-powerpc/tlslib.s: Give .__tls_get_addr function type.
* ld-powerpc/tlsexe.d: Update for changed handling of (invalid) ld var
	in dynamic lib.
	* ld-powerpc/tlsexe.g: Likewise.
	* ld-powerpc/tlsexe.r: Likewise.
	* ld-powerpc/tlsexe.t: Likewise.
	* ld-powerpc/tlsexetoc.d: Likewise.
	* ld-powerpc/tlsexetoc.g: Likewise.
	* ld-powerpc/tlsexetoc.r: Likewise.
	* ld-powerpc/tlsexetoc.t: Likewise.
2003-02-09 04:37:04 +00:00

21 lines
342 B
ArmAsm

.global .__tls_get_addr,__tls_get_addr,gd,ld
.type .__tls_get_addr,@function
.section ".opd","aw",@progbits
__tls_get_addr:
.align 3
.quad .__tls_get_addr
.quad .TOC.@tocbase
.quad 0
.section ".tbss","awT",@nobits
.align 3
gd: .space 8
.section ".tdata","awT",@progbits
.align 2
ld: .long 0xc0ffee
.text
.__tls_get_addr:
blr