diff options
author | Hans-Peter Nilsson <hp@bitrange.com> | 2014-05-02 00:31:58 +0200 |
---|---|---|
committer | Hans-Peter Nilsson <hp@bitrange.com> | 2014-05-02 00:31:58 +0200 |
commit | b46fa76826669b1496cac329d132485ede779d85 (patch) | |
tree | 6f15a2e75875f807f45ac1283d4f347019b05021 /ld/testsuite/ld-mmix/sec-12.d | |
parent | 1218d67db11b6a1aceeb477855047f70d4856854 (diff) | |
download | binutils-b46fa76826669b1496cac329d132485ede779d85.zip binutils-b46fa76826669b1496cac329d132485ede779d85.tar.gz binutils-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-12.d')
-rw-r--r-- | ld/testsuite/ld-mmix/sec-12.d | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mmix/sec-12.d b/ld/testsuite/ld-mmix/sec-12.d new file mode 100644 index 0000000..720789e --- /dev/null +++ b/ld/testsuite/ld-mmix/sec-12.d @@ -0,0 +1,26 @@ +#source: b-twoinsn.s +#source: b-offlocmis.s +#source: b-post1.s +#source: b-goodmain.s +#ld: --oformat binary +#objdump: -sh + +# Check that a LOP_LOC at a misaligned location followed by a +# LOP_QUOTE hits the corresponding aligned address. This is a +# variant of sec-5.d with the lop_loc having a misalignment, followed +# by another misaligned lop_loc with a lop_quot. + +.*: file format mmo + +Sections: +Idx Name Size VMA LMA File off Algn + 0 \.text 0+8 0+ 0+ 0+ 2\*\*2 + CONTENTS, ALLOC, LOAD, CODE + 1 \.MMIX\.sec\.0 0+24 789abcdef0123458 789abcdef0123458 0+ 2\*\*2 + CONTENTS, ALLOC, LOAD +Contents of section \.text: + 0+ e3fd0001 e3fd0004 .* +Contents of section \.MMIX\.sec\.0: + 789abcdef0123458 b045197d 2c1b03b2 e4dbf877 0fc766fb .* + 789abcdef0123468 00000000 00000000 00000000 00000000 .* + 789abcdef0123478 12345677 .* |