aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-maxq/addend.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-maxq/addend.s')
-rw-r--r--ld/testsuite/ld-maxq/addend.s16
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-maxq/addend.s b/ld/testsuite/ld-maxq/addend.s
new file mode 100644
index 0000000..a5ca450
--- /dev/null
+++ b/ld/testsuite/ld-maxq/addend.s
@@ -0,0 +1,16 @@
+; Addend check testcases
+; inderpreetb@noida.hcltech.com
+.global _main
+_main:
+_buf0:
+ .long 0x5678
+_buf1:
+ .long 0x1234
+_start:
+ nop
+ nop
+ move A[0], _buf1+2
+ move A[0], _buf1-2
+ call _buf0+8
+ call _buf1+2
+