include/
[external/binutils.git] / ld / testsuite / ld-i386 / pcrel16.d
index 1e8f182..3d45afe 100644 (file)
@@ -1,3 +1,15 @@
 #name: PCREL16 overflow
-#ld:
-#error: .*relocation truncated to fit: R_386_PC16 .*
+#as: --32
+#ld: -melf_i386 -Ttext 0x0
+#objdump: -drj.text -m i8086
+
+.*: +file format elf32-i386
+
+Disassembly of section .text:
+
+0+ <_start>:
+       ...
+     420:      cd 42[  ]+int    \$0x42
+     422:      ca 02 00[       ]+lret   \$0x2
+       ...
+    f065:      e9 b8 13[       ]+jmp    420 <_start\+0x420>