summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/cross1.t
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/cross1.t')
-rw-r--r--ld/testsuite/ld-scripts/cross1.t10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/cross1.t b/ld/testsuite/ld-scripts/cross1.t
new file mode 100644
index 0000000..c20e473
--- /dev/null
+++ b/ld/testsuite/ld-scripts/cross1.t
@@ -0,0 +1,10 @@
+NOCROSSREFS ( .text .data )
+SECTIONS
+{
+ .dynsym : { *(.dynsym) }
+ .dynstr : { *(.dynstr) }
+ .hash : { *(.hash) }
+ .toc : { *(.toc) }
+ .text : { tmpdir/cross1.o }
+ .data : { tmpdir/cross2.o }
+}