1 #objdump: -dr 2 #name: i386 dynamic 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: 8d 04 1d 00 00 00 00 [ ]*lea 0x0\(,%ebx,1\),%eax 18 [ ]+14: R_386_TLS_GD foo 19 18: e8 fc ff ff ff [ ]*call 19 <fn\+0x19> 20 [ ]+19: R_386_PLT32 ___tls_get_addr 21 1d: 8d 83 00 00 00 00 [ ]*lea 0x0\(%ebx\),%eax 22 [ ]+1f: R_386_TLS_LDM bar 23 23: e8 fc ff ff ff [ ]*call 24 <fn\+0x24> 24 [ ]+24: R_386_PLT32 ___tls_get_addr 25 28: 83 c7 00 [ ]*add \$0x0,%edi 26 2b: 8d 90 00 00 00 00 [ ]*lea 0x0\(%eax\),%edx 27 [ ]+2d: R_386_TLS_LDO_32 bar 28 31: 83 c6 00 [ ]*add \$0x0,%esi 29 34: 8d 88 00 00 00 00 [ ]*lea 0x0\(%eax\),%ecx 30 [ ]+36: R_386_TLS_LDO_32 baz 31 3a: 8b 5d fc [ ]*mov -0x4\(%ebp\),%ebx 32 3d: c9 [ ]*leave[ ]* 33 3e: c3 [ ]*ret[ ]* 34