x86-64: Generate branch with PLT32 relocation
[external/binutils.git] / gas / testsuite / gas / i386 / x86-64-relax-2.d
1 #source: relax-3.s
2 #as: -mshared
3 #objdump: -dwr
4
5 .*: +file format .*
6
7
8 Disassembly of section .text:
9
10 0+ <foo>:
11 [       ]*[a-f0-9]+:    eb 24                   jmp    26 <local>
12 [       ]*[a-f0-9]+:    eb 1e                   jmp    22 <hidden_def>
13 [       ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   9 <foo\+0x9>     5: R_X86_64_PLT32       global_def-0x4
14 [       ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   e <foo\+0xe>     a: R_X86_64_PLT32       global_def-0x4
15 [       ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   13 <foo\+0x13>   f: R_X86_64_PLT32       weak_def-0x4
16 [       ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   18 <foo\+0x18>   14: R_X86_64_PLT32      weak_hidden_undef-0x4
17 [       ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   1d <foo\+0x1d>   19: R_X86_64_PLT32      weak_hidden_def-0x4
18 [       ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   22 <hidden_def>  1e: R_X86_64_PLT32      hidden_undef-0x4
19
20 0+22 <hidden_def>:
21 [       ]*[a-f0-9]+:    c3                      retq   
22
23 0+23 <weak_hidden_def>:
24 [       ]*[a-f0-9]+:    c3                      retq   
25
26 0+24 <global_def>:
27 [       ]*[a-f0-9]+:    c3                      retq   
28
29 0+25 <weak_def>:
30 [       ]*[a-f0-9]+:    c3                      retq   
31
32 0+26 <local>:
33 [       ]*[a-f0-9]+:    c3                      retq   
34 #pass