ld: Add -static-pie tests
[external/binutils.git] / ld / testsuite / ld-x86-64 / pr19609-1i.d
1 #source: pr19609-1.s
2 #as: --x32 -mrelax-relocations=yes
3 #ld: -pie -melf32_x86_64 --no-dynamic-linker
4 #objdump: -dw
5
6 .*: +file format .*
7
8
9 Disassembly of section .text:
10
11 [a-f0-9]+ <_start>:
12 [       ]*[a-f0-9]+:    48 81 f8 00 00 00 00    cmp    \$0x0,%rax
13 [       ]*[a-f0-9]+:    81 f9 00 00 00 00       cmp    \$0x0,%ecx
14 [       ]*[a-f0-9]+:    49 81 fb 00 00 00 00    cmp    \$0x0,%r11
15 [       ]*[a-f0-9]+:    41 81 fc 00 00 00 00    cmp    \$0x0,%r12d
16 [       ]*[a-f0-9]+:    40 c7 c0 00 00 00 00    rex mov \$0x0,%eax
17 [       ]*[a-f0-9]+:    c7 c1 00 00 00 00       mov    \$0x0,%ecx
18 [       ]*[a-f0-9]+:    41 c7 c3 00 00 00 00    mov    \$0x0,%r11d
19 [       ]*[a-f0-9]+:    41 c7 c4 00 00 00 00    mov    \$0x0,%r12d
20 [       ]*[a-f0-9]+:    48 f7 c0 00 00 00 00    test   \$0x0,%rax
21 [       ]*[a-f0-9]+:    f7 c1 00 00 00 00       test   \$0x0,%ecx
22 [       ]*[a-f0-9]+:    49 f7 c3 00 00 00 00    test   \$0x0,%r11
23 [       ]*[a-f0-9]+:    41 f7 c4 00 00 00 00    test   \$0x0,%r12d