diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2005-09-28 19:32:19 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2005-09-28 19:32:19 +0000 |
commit | 08f46626eb865bccbce3c60c00429c00b608710e (patch) | |
tree | 01efc3688808512581da9993412b0cefb3ad4ee7 /ld/testsuite/ld-powerpc/symtocbase-2.s | |
parent | 6ad80df0505e4fbfb7bfa96477c2df044d60dd30 (diff) | |
download | gdb-08f46626eb865bccbce3c60c00429c00b608710e.zip gdb-08f46626eb865bccbce3c60c00429c00b608710e.tar.gz gdb-08f46626eb865bccbce3c60c00429c00b608710e.tar.bz2 |
* symtocbase-1.s, symtocbase-2.s, symtocbase.d: New test.
* powerpc.exp: Run it.
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 |