diff options
Diffstat (limited to 'ld/testsuite/ld-powerpc/tls32.s')
-rw-r--r-- | ld/testsuite/ld-powerpc/tls32.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/tls32.s b/ld/testsuite/ld-powerpc/tls32.s index 1c3092d..b9b8468 100644 --- a/ld/testsuite/ld-powerpc/tls32.s +++ b/ld/testsuite/ld-powerpc/tls32.s @@ -19,8 +19,17 @@ ie4: .long 0x56789abc le4: .long 0x6789abcd le5: .long 0x789abcde + .section ".got2","aw" +.LCTOC1 = .+32768 + .text _start: + bcl 20,31,0f +0: + mflr 30 + addis 30,30,.LCTOC1-0b@ha + addi 30,30,.LCTOC1-0b@l + #extern syms #GD addi 3,31,gd@got@tlsgd #R_PPC_GOT_TLSGD16 gd |