aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mmix/b-offloc.s
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2004-10-24 21:39:30 +0000
committerHans-Peter Nilsson <hp@axis.com>2004-10-24 21:39:30 +0000
commit1fddb8daadfc2368d8e5aa5e6041d44db0884a79 (patch)
treef50cf7abbc5a53461e86167b19d3530289a02074 /ld/testsuite/ld-mmix/b-offloc.s
parented0403211c2f8f10191898b627cb29e65c612942 (diff)
downloadgdb-1fddb8daadfc2368d8e5aa5e6041d44db0884a79.zip
gdb-1fddb8daadfc2368d8e5aa5e6041d44db0884a79.tar.gz
gdb-1fddb8daadfc2368d8e5aa5e6041d44db0884a79.tar.bz2
* ld-mmix/sec-8m.d: Adjust test for dump using correct section
length. * ld-mmix/sec-9.d: Renamed test, formerly known as sec-5.d. * ld-mmix/sec-5.d, ld-mmix/b-offloc.s: Rewritten test.
Diffstat (limited to 'ld/testsuite/ld-mmix/b-offloc.s')
-rw-r--r--ld/testsuite/ld-mmix/b-offloc.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mmix/b-offloc.s b/ld/testsuite/ld-mmix/b-offloc.s
new file mode 100644
index 0000000..c2fb2cc
--- /dev/null
+++ b/ld/testsuite/ld-mmix/b-offloc.s
@@ -0,0 +1,9 @@
+% The .text contents is supposed to be linked --oformat binary with
+% b-post1.s and b-goodmain.s. The code below will provide a LOP_LOC
+% with a 64-bit address (0x789abcdef0123456) then 16 bytes of % random data.
+
+ .text
+ .byte 0x98,1,0,2
+ .8byte 0x789abcdef0123458
+ .byte 0xb0,0x45,0x19,0x7d,0x2c,0x1b,0x3,0xb2
+ .byte 0xe4,0xdb,0xf8,0x77,0xf,0xc7,0x66,0xfb