1 #source: tls32.s 2 #as: -a32 3 #ld: tmpdir/libtlslib32.so 4 #objdump: -dr 5 #target: powerpc*-*-* 6 7 .* 8 9 Disassembly of section \.text: 10 11 .* <_start>: 12 .*: (42 9f 00 05|05 00 9f 42) bcl 20,4\*cr7\+so,.* <_start\+0x4> 13 .*: (7f c8 02 a6|a6 02 c8 7f) mflr r30 14 .*: (3f de 00 02|02 00 de 3f) addis r30,r30,2 15 .*: (3b de 81 18|18 81 de 3b) addi r30,r30,-32488 16 .*: (80 7f ff f4|f4 ff 7f 80) lwz r3,-12\(r31\) 17 .*: (7c 63 12 14|14 12 63 7c) add r3,r3,r2 18 .*: (38 7f ff f8|f8 ff 7f 38) addi r3,r31,-8 19 .*: (48 00 00 65|65 00 00 48) bl .* <__tls_get_addr_opt@plt> 20 .*: (3c 62 00 00|00 00 62 3c) addis r3,r2,0 21 .*: (38 63 90 1c|1c 90 63 38) addi r3,r3,-28644 22 .*: (3c 62 00 00|00 00 62 3c) addis r3,r2,0 23 .*: (38 63 10 00|00 10 63 38) addi r3,r3,4096 24 .*: (39 23 80 20|20 80 23 39) addi r9,r3,-32736 25 .*: (3d 23 00 00|00 00 23 3d) addis r9,r3,0 26 .*: (81 49 80 24|24 80 49 81) lwz r10,-32732\(r9\) 27 .*: (3d 22 00 00|00 00 22 3d) addis r9,r2,0 28 .*: (a1 49 90 2c|2c 90 49 a1) lhz r10,-28628\(r9\) 29 .*: (89 42 90 30|30 90 42 89) lbz r10,-28624\(r2\) 30 .*: (3d 22 00 00|00 00 22 3d) addis r9,r2,0 31 .*: (99 49 90 34|34 90 49 99) stb r10,-28620\(r9\) 32 .*: (3c 62 00 00|00 00 62 3c) addis r3,r2,0 33 .*: (38 63 90 00|00 90 63 38) addi r3,r3,-28672 34 .*: (3c 62 00 00|00 00 62 3c) addis r3,r2,0 35 .*: (38 63 10 00|00 10 63 38) addi r3,r3,4096 36 .*: (91 43 80 04|04 80 43 91) stw r10,-32764\(r3\) 37 .*: (3d 23 00 00|00 00 23 3d) addis r9,r3,0 38 .*: (91 49 80 08|08 80 49 91) stw r10,-32760\(r9\) 39 .*: (3d 22 00 00|00 00 22 3d) addis r9,r2,0 40 .*: (b1 49 90 2c|2c 90 49 b1) sth r10,-28628\(r9\) 41 .*: (a1 42 90 14|14 90 42 a1) lhz r10,-28652\(r2\) 42 .*: (3d 22 00 00|00 00 22 3d) addis r9,r2,0 43 .*: (a9 49 90 18|18 90 49 a9) lha r10,-28648\(r9\) 44 45 .* <__tls_get_addr_opt@plt>: 46 .*: (81 63 00 00|00 00 63 81) lwz r11,0\(r3\) 47 .*: (81 83 00 04|04 00 83 81) lwz r12,4\(r3\) 48 .*: (7c 60 1b 78|78 1b 60 7c) mr r0,r3 49 .*: (2c 0b 00 00|00 00 0b 2c) cmpwi r11,0 50 .*: (7c 6c 12 14|14 12 6c 7c) add r3,r12,r2 51 .*: (4d 82 00 20|20 00 82 4d) beqlr 52 .*: (7c 03 03 78|78 03 03 7c) mr r3,r0 53 .*: (60 00 00 00|00 00 00 60) nop 54 .*: (3d 60 01 81|81 01 60 3d) lis r11,385 55 .*: (81 6b 04 14|14 04 6b 81) lwz r11,1044\(r11\) 56 .*: (7d 69 03 a6|a6 03 69 7d) mtctr r11 57 .*: (4e 80 04 20|20 04 80 4e) bctr 58 59 .* <__glink>: 60 .*: (60 00 00 00|00 00 00 60) nop 61 .*: (60 00 00 00|00 00 00 60) nop 62 .*: (60 00 00 00|00 00 00 60) nop 63 .*: (60 00 00 00|00 00 00 60) nop 64 65 .* <__glink_PLTresolve>: 66 .*: (3d 80 01 81|81 01 80 3d) lis r12,385 67 .*: (3d 6b fe 80|80 fe 6b 3d) addis r11,r11,-384 68 .*: (80 0c 04 0c|0c 04 0c 80) lwz r0,1036\(r12\) 69 .*: (39 6b fd 20|20 fd 6b 39) addi r11,r11,-736 70 .*: (7c 09 03 a6|a6 03 09 7c) mtctr r0 71 .*: (7c 0b 5a 14|14 5a 0b 7c) add r0,r11,r11 72 .*: (81 8c 04 10|10 04 8c 81) lwz r12,1040\(r12\) 73 .*: (7d 60 5a 14|14 5a 60 7d) add r11,r0,r11 74 .*: (4e 80 04 20|20 04 80 4e) bctr 75 .*: (60 00 00 00|00 00 00 60) nop 76 .*: (60 00 00 00|00 00 00 60) nop 77 .*: (60 00 00 00|00 00 00 60) nop 78 .*: (60 00 00 00|00 00 00 60) nop 79 .*: (60 00 00 00|00 00 00 60) nop 80 .*: (60 00 00 00|00 00 00 60) nop 81 .*: (60 00 00 00|00 00 00 60) nop 82