Check R_X86_64_32 overflow and allow R_X86_64_64 for x32.
[external/binutils.git] / gas / testsuite / gas / i386 / ilp32 / x86-64-pcrel.d
1 #objdump: -drw
2 #name: x86-64 (ILP32) pcrel
3
4 .*: +file format .*
5
6 Disassembly of section .text:
7
8 0+ <_start>:
9 [       ]*[a-f0-9]+:    b0 00                   mov    \$0x0,%al        1: R_X86_64_PC8 xtrn\+0x1
10 [       ]*[a-f0-9]+:    66 b8 00 00             mov    \$0x0,%ax        4: R_X86_64_PC16        xtrn\+0x2
11 [       ]*[a-f0-9]+:    b8 00 00 00 00          mov    \$0x0,%eax       7: R_X86_64_PC32        xtrn\+0x1
12 [       ]*[a-f0-9]+:    48 c7 c0 00 00 00 00    mov    \$0x0,%rax       e: R_X86_64_PC32        xtrn\+0x3
13 [       ]*[a-f0-9]+:    b0 00                   mov    \$0x0,%al        13: R_X86_64_8  xtrn
14 [       ]*[a-f0-9]+:    66 b8 00 00             mov    \$0x0,%ax        16: R_X86_64_16 xtrn
15 [       ]*[a-f0-9]+:    b8 00 00 00 00          mov    \$0x0,%eax       19: R_X86_64_32 xtrn
16 [       ]*[a-f0-9]+:    48 c7 c0 00 00 00 00    mov    \$0x0,%rax       20: R_X86_64_32S        xtrn
17 [       ]*[a-f0-9]+:    48 b8 00 00 00 00 00 00 00 00   movabs \$0x0,%rax       26: R_X86_64_64 xtrn
18 [       ]*[a-f0-9]+:    48 a1 00 00 00 00 00 00 00 00   movabs 0x0,%rax 30: R_X86_64_64 xtrn
19 #pass