2
#name: i386 non-pic tls
6
Disassembly of section .text:
10
1: 89 e5 [ ]*mov %esp,%ebp
13
5: e8 00 00 00 00 [ ]*call a <fn\+0xa>
15
b: 81 c3 03 00 00 00 [ ]*add \$0x3,%ebx
16
[ ]+d: R_386_GOTPC _GLOBAL_OFFSET_TABLE_
17
11: 65 a1 00 00 00 00 [ ]*mov %gs:0x0,%eax
18
17: 8d 76 00 [ ]*lea 0x0\(%esi\),%esi
19
1a: 2b 83 00 00 00 00 [ ]*sub 0x0\(%ebx\),%eax
20
[ ]+1c: R_386_TLS_IE_32 foo
21
20: 8b 83 00 00 00 00 [ ]*mov 0x0\(%ebx\),%eax
22
[ ]+22: R_386_TLS_GOTIE foo
23
26: 8d 76 00 [ ]*lea 0x0\(%esi\),%esi
24
29: 65 8b 00 [ ]*mov %gs:\(%eax\),%eax
25
2c: 65 8b 0d 00 00 00 00 [ ]*mov %gs:0x0,%ecx
26
33: 03 8b 00 00 00 00 [ ]*add 0x0\(%ebx\),%ecx
27
[ ]+35: R_386_TLS_GOTIE foo
28
39: 8b 5d fc [ ]*mov 0xfffffffc\(%ebp\),%ebx