Automatic date update in version.in
[deliverable/binutils-gdb.git] / ld / testsuite / ld-sparc / gotop64.s
index 8a8ff82b89a298ae00ea609b8eb0b641eb8f9a23..9910813d2a57c6a0c977bc0074f569b137f96573 100644 (file)
@@ -3,6 +3,9 @@
        .globl  sym
 sym:   .word   0x12345678
 
+local_sym:
+       .word   0xdeadbeef
+
        .text
        .align  4096
 .LLGETPC0:
@@ -24,5 +27,11 @@ foo:
        nop
        ldx     [%l7 + %l1], %i0, %gdop(sym)
        nop
+       sethi   %gdop_hix22(local_sym), %l1
+       nop
+       xor     %l1, %gdop_lox10(local_sym), %l1
+       nop
+       ldx     [%l7 + %l1], %i0, %gdop(local_sym)
+       nop
        ret
        restore
This page took 0.023666 seconds and 4 git commands to generate.