diff options
Diffstat (limited to 'ld/testsuite/ld-powerpc/symtocbase-2.s')
-rw-r--r-- | ld/testsuite/ld-powerpc/symtocbase-2.s | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/symtocbase-2.s b/ld/testsuite/ld-powerpc/symtocbase-2.s new file mode 100644 index 0000000..1176cb8 --- /dev/null +++ b/ld/testsuite/ld-powerpc/symtocbase-2.s @@ -0,0 +1,16 @@ +.section .toc,"aw",@progbits + .align 15 + .globl y +y: .quad .y,.y@tocbase,0 +.LCi: .quad i + .space 48 * 1024 +.data +.L2bases: + .quad .TOC.@tocbase + .quad .x@tocbase + .quad .y@tocbase +.text + .globl .y +.y: + ld 9,.LCi@toc(2) + blr |