aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mmix/sec-10.d
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2014-05-02 00:31:58 +0200
committerHans-Peter Nilsson <hp@bitrange.com>2014-05-02 00:31:58 +0200
commitb46fa76826669b1496cac329d132485ede779d85 (patch)
tree6f15a2e75875f807f45ac1283d4f347019b05021 /ld/testsuite/ld-mmix/sec-10.d
parent1218d67db11b6a1aceeb477855047f70d4856854 (diff)
downloadgdb-b46fa76826669b1496cac329d132485ede779d85.zip
gdb-b46fa76826669b1496cac329d132485ede779d85.tar.gz
gdb-b46fa76826669b1496cac329d132485ede779d85.tar.bz2
ld/testsuite:
* ld-mmix/sec-11.d, ld-mmix/sec-11.ld, ld-mmix/sec-10.s, ld-mmix/sec-10.d, ld-mmix/b-offlocmis.s, ld-mmix/sec-12.d: New tests. * ld-mmix/b-offloc.s: Correct address in comment.
Diffstat (limited to 'ld/testsuite/ld-mmix/sec-10.d')
-rw-r--r--ld/testsuite/ld-mmix/sec-10.d18
1 files changed, 18 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mmix/sec-10.d b/ld/testsuite/ld-mmix/sec-10.d
new file mode 100644
index 0000000..a1c558d
--- /dev/null
+++ b/ld/testsuite/ld-mmix/sec-10.d
@@ -0,0 +1,18 @@
+#source: start.s
+#source: sec-10.s
+#ld: -m mmo
+#objdump: -s
+
+# There was yet another bug in the strip-zeros-at-beginning-and-end-of-data
+# code: it requires outputting the location when data is stripped, and that
+# location is only valid for tetra alignments as the low bits are ignored.
+
+.*: file format mmo
+
+Contents of section \.text:
+ 0*0 e3fd0001 2a000000 00000000 00000000 .*
+ 0*10 00000000 00000000 00000000 00000000 .*
+#...
+ 0*7ff0 00000000 00000000 00000000 00000000 .*
+ 0*8000 00000000 00000000 00000000 2b2c0000 .*
+