#objdump: -dr #name: i386 pic tls .*: +file format .* Disassembly of section .text: 0+000 : 0: 55 [ ]*push %ebp 1: 89 e5 [ ]*mov %esp,%ebp 3: 53 [ ]*push %ebx 4: 50 [ ]*push %eax 5: e8 00 00 00 00 [ ]*call a a: 5b [ ]*pop %ebx b: 81 c3 03 00 00 00 [ ]*add \$0x3,%ebx [ ]+d: R_386_GOTPC _GLOBAL_OFFSET_TABLE_ 11: 65 a1 00 00 00 00 [ ]*mov %gs:0x0,%eax 17: 83 c6 00 [ ]*add \$0x0,%esi 1a: 2b 83 00 00 00 00 [ ]*sub 0x0\(%ebx\),%eax [ ]+1c: R_386_TLS_IE_32 foo 20: 8b 83 00 00 00 00 [ ]*mov 0x0\(%ebx\),%eax [ ]+22: R_386_TLS_GOTIE foo 26: 83 c6 00 [ ]*add \$0x0,%esi 29: 65 8b 00 [ ]*mov %gs:\(%eax\),%eax 2c: 65 8b 0d 00 00 00 00 [ ]*mov %gs:0x0,%ecx 33: 03 8b 00 00 00 00 [ ]*add 0x0\(%ebx\),%ecx [ ]+35: R_386_TLS_GOTIE foo 39: 8b 5d fc [ ]*mov -0x4\(%ebp\),%ebx 3c: c9 [ ]*leave[ ]* 3d: c3 [ ]*ret[ ]*