diff options
Diffstat (limited to 'ld/testsuite/ld-sparc/vxworks1.s')
-rw-r--r-- | ld/testsuite/ld-sparc/vxworks1.s | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ld/testsuite/ld-sparc/vxworks1.s b/ld/testsuite/ld-sparc/vxworks1.s new file mode 100644 index 0000000..82106c8 --- /dev/null +++ b/ld/testsuite/ld-sparc/vxworks1.s @@ -0,0 +1,25 @@ + .text + .globl _start + .type _start, %function +_start: + save %sp, -104, %sp + + call foo, 0 + nop + + call sexternal, 0 + nop + + call sglobal, 0 + nop + + ret + restore + .size _start, .-_start + + .globl sexternal + .type sexternal, %function +sexternal: + retl + nop + .size sexternal, .-sexternal |