aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-xc16x/offset.s
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-02-17 14:36:28 +0000
committerNick Clifton <nickc@redhat.com>2006-02-17 14:36:28 +0000
commitd70c5fc7c56fa9915f594aca8de15b478f3ab5b0 (patch)
tree47ad1b8f49a0f428e7c1d53f02062e685c5f0ef9 /ld/testsuite/ld-xc16x/offset.s
parent0b92ab21c5c6920cc18c05efadd3a52fbd35c825 (diff)
downloadgdb-d70c5fc7c56fa9915f594aca8de15b478f3ab5b0.zip
gdb-d70c5fc7c56fa9915f594aca8de15b478f3ab5b0.tar.gz
gdb-d70c5fc7c56fa9915f594aca8de15b478f3ab5b0.tar.bz2
Add support for the Infineon XC16X.
Diffstat (limited to 'ld/testsuite/ld-xc16x/offset.s')
-rw-r--r--ld/testsuite/ld-xc16x/offset.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-xc16x/offset.s b/ld/testsuite/ld-xc16x/offset.s
new file mode 100644
index 0000000..b3aad19
--- /dev/null
+++ b/ld/testsuite/ld-xc16x/offset.s
@@ -0,0 +1,13 @@
+ .global _start
+_start:
+ mov r8,#0xf
+ jmps #seg:.12,#sof:.12
+ mov r9,#0xf
+.12:
+ mov r5,#0xf
+ mov r7,#0xf
+ calls #seg:.13,#sof:.13
+.13:
+ mov r6,#0xf
+ mov r8,#0xf
+ \ No newline at end of file