aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-riscv-elf/call-relax-3.s')
-rw-r--r--ld/testsuite/ld-riscv-elf/call-relax-3.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-riscv-elf/call-relax-3.s b/ld/testsuite/ld-riscv-elf/call-relax-3.s
new file mode 100644
index 00000000000..3eb04d8b8f7
--- /dev/null
+++ b/ld/testsuite/ld-riscv-elf/call-relax-3.s
@@ -0,0 +1,9 @@
+.globl cc
+.globl dd
+
+.text
+cc:
+ csrr a0, sie
+ csrr a1, sie
+dd:
+ ret