summaryrefslogtreecommitdiffstats
path: root/binutils-2.21/ld/testsuite/ld-i386/pcrel16.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-i386/pcrel16.s')
-rw-r--r--binutils-2.21/ld/testsuite/ld-i386/pcrel16.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-i386/pcrel16.s b/binutils-2.21/ld/testsuite/ld-i386/pcrel16.s
new file mode 100644
index 0000000..d68a6c6
--- /dev/null
+++ b/binutils-2.21/ld/testsuite/ld-i386/pcrel16.s
@@ -0,0 +1,9 @@
+ .code16
+ .text
+ .globl _start
+_start:
+ .org 0x420
+ int $0x42
+ lret $2
+ .org 0xf065
+ jmp _start+((0x42) << 4)