summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-nios2/relax_call26_boundary_d0.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-nios2/relax_call26_boundary_d0.d')
-rw-r--r--ld/testsuite/ld-nios2/relax_call26_boundary_d0.d9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-nios2/relax_call26_boundary_d0.d b/ld/testsuite/ld-nios2/relax_call26_boundary_d0.d
new file mode 100644
index 0000000..67f28ce
--- /dev/null
+++ b/ld/testsuite/ld-nios2/relax_call26_boundary_d0.d
@@ -0,0 +1,9 @@
+#name: NIOS2 relax_call26_boundary_d0
+#ld: --relax -Trelax_call26_boundary.ld --section-start=text0=0x0fffffd0
+#source: relax_call26_boundary.s
+#objdump: -dr --prefix-addresses
+# Test relaxation of call26 relocations via linker stubs. We don't need to
+# check the exact layout of stubs for this test, only verify that it
+# links without "relocation truncated to fit" errors.
+
+#pass