diff options
Diffstat (limited to 'ld/testsuite/ld-powerpc/defsym.s')
-rw-r--r-- | ld/testsuite/ld-powerpc/defsym.s | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/defsym.s b/ld/testsuite/ld-powerpc/defsym.s new file mode 100644 index 0000000..efca072 --- /dev/null +++ b/ld/testsuite/ld-powerpc/defsym.s @@ -0,0 +1,19 @@ + .text + .globl _start +_start: + bl foo + bl bar + nop + + .globl foo + .type foo,@function +foo: + addis 2,12,.TOC.-foo@ha + addi 2,2,.TOC.-foo@l + .localentry foo,.-foo + blr + .size foo,.-foo + + .data + .dc.a foo + .dc.a bar |