ld-x86-64: Pass -z notext to linker for tests with DT_TEXTREL
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / pcrel16.d
index 41da975b20c7c628b3d5a7bcfa5df1ad971d8bea..b9dff1f99b87ce47a51fd2c5baeeb8972ed3c273 100644 (file)
@@ -1,4 +1,15 @@
 #name: PCREL16 overflow
 #source: ../ld-i386/pcrel16.s
-#ld:
-#error: .*relocation truncated to fit: R_X86_64_PC16 .*
+#ld: -Ttext 0x0
+#objdump: -drj.text -m i8086
+
+.*: +file format elf.*-x86-64.*
+
+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>
This page took 0.023244 seconds and 4 git commands to generate.