aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pcrel8.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/pcrel8.s')
-rw-r--r--ld/testsuite/ld-i386/pcrel8.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/pcrel8.s b/ld/testsuite/ld-i386/pcrel8.s
new file mode 100644
index 0000000..e624aaf
--- /dev/null
+++ b/ld/testsuite/ld-i386/pcrel8.s
@@ -0,0 +1,11 @@
+ .text
+ .code16
+ .global _start, fwd
+_start:
+ jcxz fwd
+ .rept 10
+ testl $0x12345678, %ss:0x76543210(,%eax,4)
+ .endr
+fwd:
+ leave
+ ret