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