1 #source: tls.s 2 #as: -a64 3 #ld: -shared 4 #objdump: -dr 5 #target: powerpc64*-*-* 6 7 .* 8 9 Disassembly of section \.text: 10 11 .* <.*plt_call\.__tls_get_addr(|_opt)>: 12 .* (f8 41 00 28|28 00 41 f8) std r2,40\(r1\) 13 .* (e9 82 80 78|78 80 82 e9) ld r12,-32648\(r2\) 14 .* (7d 89 03 a6|a6 03 89 7d) mtctr r12 15 .* (e8 42 80 80|80 80 42 e8) ld r2,-32640\(r2\) 16 .* (28 22 00 00|00 00 22 28) cmpldi r2,0 17 .* (4c e2 04 20|20 04 e2 4c) bnectr\+ * 18 .* (48 00 00 ..|.. 00 00 48) b .* <__tls_get_addr@plt> 19 20 .* <\._start>: 21 .* (38 62 80 20|20 80 62 38) addi r3,r2,-32736 22 .* (4b ff ff ..|.. ff ff 4b) bl .*plt_call.__tls_get_addr.* 23 .* (e8 41 00 28|28 00 41 e8) ld r2,40\(r1\) 24 .* (38 62 80 50|50 80 62 38) addi r3,r2,-32688 25 .* (4b ff ff ..|.. ff ff 4b) bl .*plt_call.__tls_get_addr.* 26 .* (e8 41 00 28|28 00 41 e8) ld r2,40\(r1\) 27 .* (38 62 80 38|38 80 62 38) addi r3,r2,-32712 28 .* (4b ff ff ..|.. ff ff 4b) bl .*plt_call.__tls_get_addr.* 29 .* (e8 41 00 28|28 00 41 e8) ld r2,40\(r1\) 30 .* (38 62 80 50|50 80 62 38) addi r3,r2,-32688 31 .* (4b ff ff ..|.. ff ff 4b) bl .*plt_call.__tls_get_addr.* 32 .* (e8 41 00 28|28 00 41 e8) ld r2,40\(r1\) 33 .* (39 23 80 40|40 80 23 39) addi r9,r3,-32704 34 .* (3d 23 00 00|00 00 23 3d) addis r9,r3,0 35 .* (81 49 80 48|48 80 49 81) lwz r10,-32696\(r9\) 36 .* (e9 22 80 30|30 80 22 e9) ld r9,-32720\(r2\) 37 .* (7d 49 18 2a|2a 18 49 7d) ldx r10,r9,r3 38 .* (e9 22 80 48|48 80 22 e9) ld r9,-32696\(r2\) 39 .* (7d 49 6a 2e|2e 6a 49 7d) lhzx r10,r9,r13 40 .* (89 4d 00 00|00 00 4d 89) lbz r10,0\(r13\) 41 .* (3d 2d 00 00|00 00 2d 3d) addis r9,r13,0 42 .* (99 49 00 00|00 00 49 99) stb r10,0\(r9\) 43 .* (38 62 80 08|08 80 62 38) addi r3,r2,-32760 44 .* (4b ff ff ..|.. ff ff 4b) bl .*plt_call.__tls_get_addr.* 45 .* (e8 41 00 28|28 00 41 e8) ld r2,40\(r1\) 46 .* (38 62 80 50|50 80 62 38) addi r3,r2,-32688 47 .* (4b ff ff ..|.. ff ff 4b) bl .*plt_call.__tls_get_addr.* 48 .* (e8 41 00 28|28 00 41 e8) ld r2,40\(r1\) 49 .* (f9 43 80 08|08 80 43 f9) std r10,-32760\(r3\) 50 .* (3d 23 00 00|00 00 23 3d) addis r9,r3,0 51 .* (91 49 80 10|10 80 49 91) stw r10,-32752\(r9\) 52 .* (e9 22 80 18|18 80 22 e9) ld r9,-32744\(r2\) 53 .* (7d 49 19 2a|2a 19 49 7d) stdx r10,r9,r3 54 .* (e9 22 80 48|48 80 22 e9) ld r9,-32696\(r2\) 55 .* (7d 49 6b 2e|2e 6b 49 7d) sthx r10,r9,r13 56 .* (e9 4d 00 02|02 00 4d e9) lwa r10,0\(r13\) 57 .* (3d 2d 00 00|00 00 2d 3d) addis r9,r13,0 58 .* (a9 49 00 00|00 00 49 a9) lha r10,0\(r9\) 59 .* (60 00 00 00|00 00 00 60) nop 60 .* (00 00 00 00|38 02 01 00) .* 61 .* (00 01 02 38|00 00 00 00) .* 62 .* <__glink_PLTresolve>: 63 .* (7d 88 02 a6|a6 02 88 7d) mflr r12 64 .* (42 9f 00 05|05 00 9f 42) bcl 20,4\*cr7\+so,.* 65 .* (7d 68 02 a6|a6 02 68 7d) mflr r11 66 .* (e8 4b ff f0|f0 ff 4b e8) ld r2,-16\(r11\) 67 .* (7d 88 03 a6|a6 03 88 7d) mtlr r12 68 .* (7d 62 5a 14|14 5a 62 7d) add r11,r2,r11 69 .* (e9 8b 00 00|00 00 8b e9) ld r12,0\(r11\) 70 .* (e8 4b 00 08|08 00 4b e8) ld r2,8\(r11\) 71 .* (7d 89 03 a6|a6 03 89 7d) mtctr r12 72 .* (e9 6b 00 10|10 00 6b e9) ld r11,16\(r11\) 73 .* (4e 80 04 20|20 04 80 4e) bctr 74 .* (60 00 00 00|00 00 00 60) nop 75 .* (60 00 00 00|00 00 00 60) nop 76 .* (60 00 00 00|00 00 00 60) nop 77 .* <__tls_get_addr@plt>: 78 .* (38 00 00 00|00 00 00 38) li r0,0 79 .* (4b ff ff c4|c4 ff ff 4b) b .* 80