From 3c3bdf30e42268e6193693acd1dc66d2d1792536 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 30 Oct 2001 15:20:14 +0000 Subject: Add MMIX support --- ld/testsuite/ld-mmix/greg-11b.d | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 ld/testsuite/ld-mmix/greg-11b.d (limited to 'ld/testsuite/ld-mmix/greg-11b.d') diff --git a/ld/testsuite/ld-mmix/greg-11b.d b/ld/testsuite/ld-mmix/greg-11b.d new file mode 100644 index 00000000000..50665d01cbe --- /dev/null +++ b/ld/testsuite/ld-mmix/greg-11b.d @@ -0,0 +1,32 @@ +#source: greg-1.s +#source: gregldo1.s +#source: gregget2.s +#source: a.s +#source: greg-3.s +#source: start.s +#source: greg-2.s +#as: -x +#ld: -m mmo +#objdump: -str + +# Have two used gregs and one unused, mmo; display contents to visualize +# mmo bug with register contents. + +.*: file format mmo + +SYMBOL TABLE: +0+20 g \.text Main +0+fe g \*REG\* b +0+20 g \.text _start +0+fc g \*REG\* areg +0+fd g \*REG\* c +0+1c g \.text a + + +Contents of section \.text: + 0+ 8c0c20fc 8d7bfc22 8dfcea38 e3fe001c .* + 0+10 e6fe0000 e5fe0000 e4fe0000 e3fd0004 .* + 0+20 e3fd0001 .* +Contents of section \.MMIX\.reg_contents: + 07e0 00007048 860f3a38 00000000 00000042 .* + 07f0 007acf50 505a30a2 .* -- cgit v1.2.1