old-cross-binutils/ld/testsuite/ld-powerpc/plt1.s
Alan Modra faead5625e * ld-powerpc/plt1.s: New.
* ld-powerpc/plt1.d: New.
	* ld-powerpc/relbrlt.s: New.
	* ld-powerpc/relbrlt.d: New.
	* ld-powerpc/powerpc.exp: Run them.
2006-10-24 13:29:37 +00:00

9 lines
164 B
ArmAsm

.text
.global _start
_start:
bcl 20,31,1f
1: mflr 30
addis 30,30,(_GLOBAL_OFFSET_TABLE_-1b)@ha
addi 30,30,(_GLOBAL_OFFSET_TABLE_-1b)@l
bl _exit@plt
b _start