summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mmix/mmosec1.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mmix/mmosec1.ld')
-rw-r--r--ld/testsuite/ld-mmix/mmosec1.ld16
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mmix/mmosec1.ld b/ld/testsuite/ld-mmix/mmosec1.ld
new file mode 100644
index 0000000..4e7e799
--- /dev/null
+++ b/ld/testsuite/ld-mmix/mmosec1.ld
@@ -0,0 +1,16 @@
+OUTPUT_ARCH(mmix)
+ENTRY(Main)
+SECTIONS
+{
+ .text 0x100 :
+ { *(.text); Main = _start; }
+
+ .other 0x1000000000000000 :
+ { *(secname); *(anothersec); *(thirdsec); *(.a.fourth.section); }
+
+ .data 0x2000000000000000 :
+ { *(.data); }
+
+ .MMIX.reg_contents :
+ { *(.MMIX.reg_contents); }
+}