summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sh/sh64/crange-2i.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-sh/sh64/crange-2i.s')
-rw-r--r--ld/testsuite/ld-sh/sh64/crange-2i.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-sh/sh64/crange-2i.s b/ld/testsuite/ld-sh/sh64/crange-2i.s
new file mode 100644
index 0000000..78c1ce9
--- /dev/null
+++ b/ld/testsuite/ld-sh/sh64/crange-2i.s
@@ -0,0 +1,8 @@
+! If this file comes before a file with a SHcompact .text section but with
+! no symbols, we will have a symbol of the "wrong kind" before the
+! SHcompact insns.
+ .section .text,"ax"
+ .mode SHmedia
+ .align 2
+ .global diversion
+diversion: