| 1 | #objdump: -dr |
| 2 | #name: i386 pic tls |
| 3 | |
| 4 | .*: +file format .* |
| 5 | |
| 6 | Disassembly of section .text: |
| 7 | |
| 8 | 0+000 <fn>: |
| 9 | 0: 55 [ ]*push %ebp |
| 10 | 1: 89 e5 [ ]*mov %esp,%ebp |
| 11 | 3: 53 [ ]*push %ebx |
| 12 | 4: 50 [ ]*push %eax |
| 13 | 5: e8 00 00 00 00 [ ]*call a <fn\+0xa> |
| 14 | a: 5b [ ]*pop %ebx |
| 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: 83 c6 00 [ ]*add \$0x0,%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: 83 c6 00 [ ]*add \$0x0,%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 -0x4\(%ebp\),%ebx |
| 29 | 3c: c9 [ ]*leave[ ]* |
| 30 | 3d: c3 [ ]*ret[ ]* |