x86-64: Skip GNU2 TLS tests only without compiler support
[binutils-gdb.git] / ld / testsuite / ld-ifunc / pr17154-i386-now.d
1 #source: pr17154-x86.s
2 #ld: -z now -m elf_i386 -shared --hash-style=sysv -z noseparate-code
3 #as: --32
4 #objdump: -dw
5 #target: x86_64-*-* i?86-*-*
6 #notarget: x86_64-*-nacl* i?86-*-nacl*
7
8 .*: +file format .*
9
10
11 Disassembly of section .plt:
12
13 0+180 <.plt>:
14 +[a-f0-9]+: ff b3 04 00 00 00 pushl 0x4\(%ebx\)
15 +[a-f0-9]+: ff a3 08 00 00 00 jmp \*0x8\(%ebx\)
16 +[a-f0-9]+: 00 00 add %al,\(%eax\)
17 ...
18
19 0+190 <\*ABS\*@plt>:
20 +[a-f0-9]+: ff a3 0c 00 00 00 jmp \*0xc\(%ebx\)
21 +[a-f0-9]+: 68 18 00 00 00 push \$0x18
22 +[a-f0-9]+: e9 e0 ff ff ff jmp 180 <.plt>
23
24 0+1a0 <func1@plt>:
25 +[a-f0-9]+: ff a3 10 00 00 00 jmp \*0x10\(%ebx\)
26 +[a-f0-9]+: 68 00 00 00 00 push \$0x0
27 +[a-f0-9]+: e9 d0 ff ff ff jmp 180 <.plt>
28
29 0+1b0 <func2@plt>:
30 +[a-f0-9]+: ff a3 14 00 00 00 jmp \*0x14\(%ebx\)
31 +[a-f0-9]+: 68 08 00 00 00 push \$0x8
32 +[a-f0-9]+: e9 c0 ff ff ff jmp 180 <.plt>
33
34 0+1c0 <\*ABS\*@plt>:
35 +[a-f0-9]+: ff a3 18 00 00 00 jmp \*0x18\(%ebx\)
36 +[a-f0-9]+: 68 10 00 00 00 push \$0x10
37 +[a-f0-9]+: e9 b0 ff ff ff jmp 180 <.plt>
38
39 Disassembly of section .text:
40
41 0+1d0 <resolve1>:
42 +[a-f0-9]+: e8 cb ff ff ff call 1a0 <func1@plt>
43
44 0+1d5 <g1>:
45 +[a-f0-9]+: e9 e6 ff ff ff jmp 1c0 <\*ABS\*@plt>
46
47 0+1da <resolve2>:
48 +[a-f0-9]+: e8 d1 ff ff ff call 1b0 <func2@plt>
49
50 0+1df <g2>:
51 +[a-f0-9]+: e9 ac ff ff ff jmp 190 <\*ABS\*@plt>
52 #pass