summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-m68hc11/xgate-offset.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-m68hc11/xgate-offset.s')
-rw-r--r--ld/testsuite/ld-m68hc11/xgate-offset.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-m68hc11/xgate-offset.s b/ld/testsuite/ld-m68hc11/xgate-offset.s
new file mode 100644
index 0000000..f81bc89
--- /dev/null
+++ b/ld/testsuite/ld-m68hc11/xgate-offset.s
@@ -0,0 +1,8 @@
+;;; Test 16bit relocate with --xgate-ramoffset
+;;;
+ .sect .text
+ .globl _start
+_start:
+
+ ldw r1,#var
+ ldw r2,#var+0x106 ; check for correct carry too