diff options
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-sh/sh64/sh64-1.s')
-rw-r--r-- | binutils-2.21/ld/testsuite/ld-sh/sh64/sh64-1.s | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-sh/sh64/sh64-1.s b/binutils-2.21/ld/testsuite/ld-sh/sh64/sh64-1.s new file mode 100644 index 0000000..3e488db --- /dev/null +++ b/binutils-2.21/ld/testsuite/ld-sh/sh64/sh64-1.s @@ -0,0 +1,20 @@ +! Test that all common kinds of relocs get right for simple use. +! Auxiliary part. + .text + .mode SHmedia + .global foo + .global bar +foo: + pt/l xyzzy,tr3 +bar: + nop + + .data + .global baz +baz: + .long foobar + .long bar + .global baz2 +baz2: + .long xyzzy +foobar: .long baz |