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