1 #as: -mshared 2 #objdump: -dwr 3 4 .*: +file format .* 5 6 Disassembly of section .text: 7 8 0+ <foo>: 9 [ ]*[a-f0-9]+: eb 24 jmp 26 <local> 10 [ ]*[a-f0-9]+: eb 1e jmp 22 <hidden_def> 11 [ ]*[a-f0-9]+: e9 fc ff ff ff jmp 5 <foo\+0x5> 5: R_386_PC32 global_def 12 [ ]*[a-f0-9]+: e9 fc ff ff ff jmp a <foo\+0xa> a: R_386_PLT32 global_def 13 [ ]*[a-f0-9]+: e9 fc ff ff ff jmp f <foo\+0xf> f: R_386_PC32 weak_def 14 [ ]*[a-f0-9]+: e9 fc ff ff ff jmp 14 <foo\+0x14> 14: R_386_PC32 weak_hidden_undef 15 [ ]*[a-f0-9]+: e9 fc ff ff ff jmp 19 <foo\+0x19> 19: R_386_PC32 weak_hidden_def 16 [ ]*[a-f0-9]+: e9 fc ff ff ff jmp 1e <foo\+0x1e> 1e: R_386_PC32 hidden_undef 17 18 0+22 <hidden_def>: 19 [ ]*[a-f0-9]+: c3 ret 20 21 0+23 <weak_hidden_def>: 22 [ ]*[a-f0-9]+: c3 ret 23 24 0+24 <global_def>: 25 [ ]*[a-f0-9]+: c3 ret 26 27 0+25 <weak_def>: 28 [ ]*[a-f0-9]+: c3 ret 29 30 0+26 <local>: 31 [ ]*[a-f0-9]+: c3 ret 32 #pass 33