aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-m68hc11/xgate-offset.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-m68hc11/xgate-offset.d')
-rw-r--r--ld/testsuite/ld-m68hc11/xgate-offset.d13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-m68hc11/xgate-offset.d b/ld/testsuite/ld-m68hc11/xgate-offset.d
new file mode 100644
index 0000000..ee8d492
--- /dev/null
+++ b/ld/testsuite/ld-m68hc11/xgate-offset.d
@@ -0,0 +1,13 @@
+#as: -mm9s12xg --xgate-ramoffset
+#source: xgate-offset.s
+#ld: --relax -mm68hc12elf -defsym var=0x20fe
+#objdump: -d --prefix-addresses -r -mm9s12xg
+
+tmpdir/dump: file format elf32-m68hc12
+
+
+Disassembly of section .text:
+00008000 <_start> ldl R1, #0xfe
+00008002 <_start\+0x2> ldh R1, #0xe0
+00008004 <_start\+0x4> ldl R2, #0x04
+00008006 <_start\+0x6> ldh R2, #0xe2