1 #source: relax-3.s 2 #as: -mno-shared 3 #objdump: -dwr 4 5 .*: +file format .* 6 7 8 Disassembly of section .text: 9 10 0+ <foo>: 11 [ ]*[a-f0-9]+: eb 21 jmp 23 <local> 12 [ ]*[a-f0-9]+: eb 1b jmp 1f <hidden_def> 13 [ ]*[a-f0-9]+: eb 1b jmp 21 <global_def> 14 [ ]*[a-f0-9]+: e9 00 00 00 00 jmpq b <foo\+0xb> 7: R_X86_64_PLT32 global_def-0x4 15 [ ]*[a-f0-9]+: e9 00 00 00 00 jmpq 10 <foo\+0x10> c: R_X86_64_PC32 weak_def-0x4 16 [ ]*[a-f0-9]+: e9 00 00 00 00 jmpq 15 <foo\+0x15> 11: R_X86_64_PC32 weak_hidden_undef-0x4 17 [ ]*[a-f0-9]+: e9 00 00 00 00 jmpq 1a <foo\+0x1a> 16: R_X86_64_PC32 weak_hidden_def-0x4 18 [ ]*[a-f0-9]+: e9 00 00 00 00 jmpq 1f <hidden_def> 1b: R_X86_64_PC32 hidden_undef-0x4 19 20 0+1f <hidden_def>: 21 [ ]*[a-f0-9]+: c3 retq 22 23 0+20 <weak_hidden_def>: 24 [ ]*[a-f0-9]+: c3 retq 25 26 0+21 <global_def>: 27 [ ]*[a-f0-9]+: c3 retq 28 29 0+22 <weak_def>: 30 [ ]*[a-f0-9]+: c3 retq 31 32 0+23 <local>: 33 [ ]*[a-f0-9]+: c3 retq 34 #pass 35