1 #objdump: -dr 2 #name: i386 non-pic tls 3 4 .*: +file format .* 5 6 Disassembly of section .text: 7 8 0+000 <fn>: 9 0: 8b 15 00 00 00 00 [ ]*mov 0x0,%edx 10 [ ]+2: R_386_32 .text 11 6: 81 c2 08 00 00 00 [ ]*add \$0x8,%edx 12 [ ]+8: R_386_GOTPC _GLOBAL_OFFSET_TABLE_ 13 c: 65 a1 00 00 00 00 [ ]*mov %gs:0x0,%eax 14 12: 2b 82 00 00 00 00 [ ]*sub 0x0\(%edx\),%eax 15 [ ]+14: R_386_TLS_IE_32 foo 16 18: 65 a1 00 00 00 00 [ ]*mov %gs:0x0,%eax 17 1e: 2d 00 00 00 00 [ ]*sub \$0x0,%eax 18 [ ]+1f: R_386_TLS_LE_32 bar 19 23: 65 8b 0d 00 00 00 00 [ ]*mov %gs:0x0,%ecx 20 2a: 90 [ ]*nop[ ]* 21 2b: 81 e9 00 00 00 00 [ ]*sub \$0x0,%ecx 22 [ ]+2d: R_386_TLS_LE_32 baz 23 31: 65 8b 0d 00 00 00 00 [ ]*mov %gs:0x0,%ecx 24 38: 90 [ ]*nop 25 39: 90 [ ]*nop 26 3a: 8d 81 00 00 00 00 [ ]*lea 0x0\(%ecx\),%eax 27 [ ]+3c: R_386_TLS_LE var 28 40: 90 [ ]*nop 29 41: 8d 91 00 00 00 00 lea 0x0\(%ecx\),%edx 30 [ ]+43: R_386_TLS_LE var2 31 47: a1 00 00 00 00 [ ]*mov 0x0,%eax 32 [ ]+48: R_386_TLS_IE foo 33 4c: 65 8b 00 [ ]*mov %gs:\(%eax\),%eax 34 4f: 65 a1 00 00 00 00 [ ]*mov %gs:0x0,%eax 35 55: 03 05 00 00 00 00 [ ]*add 0x0,%eax 36 57: R_386_TLS_IE foo 37 5b: c3 [ ]*ret[ ]* 38