1 #source: plt.s 2 #as: --64 3 #ld: -melf_x86_64_nacl 4 #objdump: -drj.plt 5 #target: x86_64-*-nacl* 6 7 .*: +file format .* 8 9 Disassembly of section .plt: 10 11 [0-9a-f]+ <fn1@plt-0x40>: 12 +[0-9a-f]+: ff 35 ([0-9a-f]{2} ){4} * pushq 0x[0-9a-f]+\(%rip\) +# [0-9a-f]+ <_GLOBAL_OFFSET_TABLE_\+0x8> 13 +[0-9a-f]+: 4c 8b 1d ([0-9a-f]{2} ){4} * mov 0x[0-9a-f]+\(%rip\),%r11 +# [0-9a-f]+ <_GLOBAL_OFFSET_TABLE_\+0x10> 14 +[0-9a-f]+: 41 83 e3 e0 and \$0xffffffe0,%r11d 15 +[0-9a-f]+: 4d 01 fb add %r15,%r11 16 +[0-9a-f]+: 41 ff e3 jmpq \*%r11 17 +[0-9a-f]+: 66 0f 1f 84 00 00 00 nopw 0x0\(%rax,%rax,1\) 18 +[0-9a-f]+: 00 00 * 19 +[0-9a-f]+: 66 66 66 66 66 66 2e data16 data16 data16 data16 data16 nopw %cs:0x0\(%rax,%rax,1\) 20 +[0-9a-f]+: 0f 1f 84 00 00 00 00 * 21 +[0-9a-f]+: 00 * 22 +[0-9a-f]+: 66 66 66 66 66 66 2e data16 data16 data16 data16 data16 nopw %cs:0x0\(%rax,%rax,1\) 23 +[0-9a-f]+: 0f 1f 84 00 00 00 00 * 24 +[0-9a-f]+: 00 * 25 +[0-9a-f]+: 66 90 xchg %ax,%ax 26 27 [0-9a-f]+ <fn1@plt>: 28 +[0-9a-f]+: 4c 8b 1d ([0-9a-f]{2} ){4} * mov 0x[0-9a-f]+\(%rip\),%r11 +# [0-9a-f]+ <_GLOBAL_OFFSET_TABLE_\+0x18> 29 +[0-9a-f]+: 41 83 e3 e0 and \$0xffffffe0,%r11d 30 +[0-9a-f]+: 4d 01 fb add %r15,%r11 31 +[0-9a-f]+: 41 ff e3 jmpq \*%r11 32 +[0-9a-f]+: 66 66 66 66 66 66 2e data16 data16 data16 data16 data16 nopw %cs:0x0\(%rax,%rax,1\) 33 +[0-9a-f]+: 0f 1f 84 00 00 00 00 * 34 +[0-9a-f]+: 00 * 35 +[0-9a-f]+: 68 00 00 00 00 pushq \$0x0 36 +[0-9a-f]+: e9 ([0-9a-f]{2} ){4} * jmpq [0-9a-f]+ <fn1@plt-0x40> 37 +[0-9a-f]+: 66 66 66 66 66 66 2e data16 data16 data16 data16 data16 nopw %cs:0x0\(%rax,%rax,1\) 38 +[0-9a-f]+: 0f 1f 84 00 00 00 00 * 39 +[0-9a-f]+: 00 * 40 +[0-9a-f]+: 0f 1f 80 00 00 00 00 nopl 0x0\(%rax\) 41 42 [0-9a-f]+ <fn2@plt>: 43 +[0-9a-f]+: 4c 8b 1d ([0-9a-f]{2} ){4} * mov 0x[0-9a-f]+\(%rip\),%r11 +# [0-9a-f]+ <_GLOBAL_OFFSET_TABLE_\+0x20> 44 +[0-9a-f]+: 41 83 e3 e0 and \$0xffffffe0,%r11d 45 +[0-9a-f]+: 4d 01 fb add %r15,%r11 46 +[0-9a-f]+: 41 ff e3 jmpq \*%r11 47 +[0-9a-f]+: 66 66 66 66 66 66 2e data16 data16 data16 data16 data16 nopw %cs:0x0\(%rax,%rax,1\) 48 +[0-9a-f]+: 0f 1f 84 00 00 00 00 * 49 +[0-9a-f]+: 00 * 50 +[0-9a-f]+: 68 01 00 00 00 pushq \$0x1 51 +[0-9a-f]+: e9 ([0-9a-f]{2} ){4} * jmpq [0-9a-f]+ <fn1@plt-0x40> 52 +[0-9a-f]+: 66 66 66 66 66 66 2e data16 data16 data16 data16 data16 nopw %cs:0x0\(%rax,%rax,1\) 53 +[0-9a-f]+: 0f 1f 84 00 00 00 00 * 54 +[0-9a-f]+: 00 * 55 +[0-9a-f]+: 0f 1f 80 00 00 00 00 nopl 0x0\(%rax\) 56