summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mmix/zeroehmmo.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mmix/zeroehmmo.d')
-rw-r--r--ld/testsuite/ld-mmix/zeroehmmo.d16
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mmix/zeroehmmo.d b/ld/testsuite/ld-mmix/zeroehmmo.d
new file mode 100644
index 0000000000..2c47ff108e
--- /dev/null
+++ b/ld/testsuite/ld-mmix/zeroehmmo.d
@@ -0,0 +1,16 @@
+#source: x.s
+#source: y.s
+#ld: -m mmo -Ttext 0xa00 -T $srcdir/$subdir/zeroeh.ld
+#objdump: -s
+
+# The word at address 201c, for the linkonce-excluded section, must be zero.
+
+.*: file format mmo
+
+Contents of section \.text:
+ 0a00 00000a08 00000a10 00000001 00000002 .*
+ 0a10 00000003 .*
+Contents of section \.eh_frame:
+ 2000 00000002 00000a08 00000008 00000007 .*
+ 2010 00000a10 00000004 00006066 00000000 .*
+ 2020 00000004 .*