Retro68/binutils/ld/testsuite/ld-powerpc/plt1.s
2012-03-26 21:18:29 +02:00

10 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