aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-nios2/relax_call26_norelax.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-nios2/relax_call26_norelax.d')
-rw-r--r--ld/testsuite/ld-nios2/relax_call26_norelax.d5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-nios2/relax_call26_norelax.d b/ld/testsuite/ld-nios2/relax_call26_norelax.d
new file mode 100644
index 0000000..7c7371c
--- /dev/null
+++ b/ld/testsuite/ld-nios2/relax_call26_norelax.d
@@ -0,0 +1,5 @@
+#name: NIOS2 relax_call26_norelax
+#ld: --no-relax -Trelax_call26_multi.ld
+#source: relax_call26.s
+#error: .*relocation truncated to fit: R_NIOS2_CALL26.*
+# Test relaxation of call26 relocations via linker stubs