From b46fa76826669b1496cac329d132485ede779d85 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Fri, 2 May 2014 00:31:58 +0200 Subject: 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. --- ld/testsuite/ld-mmix/sec-10.d | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ld/testsuite/ld-mmix/sec-10.d (limited to 'ld/testsuite/ld-mmix/sec-10.d') 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 .* + -- cgit v1.1