2003-02-04 15:52:11 +01:00
|
|
|
#source: tls.s
|
|
|
|
#as: -a64
|
|
|
|
#ld: -shared -melf64ppc
|
|
|
|
#objdump: -dr
|
|
|
|
#target: powerpc64*-*-*
|
|
|
|
|
|
|
|
.*: +file format elf64-powerpc
|
|
|
|
|
|
|
|
Disassembly of section \.text:
|
|
|
|
|
2003-06-10 06:36:01 +02:00
|
|
|
.* <\.__tls_get_addr>:
|
opcodes/
* ppc-dis.c (print_insn_powerpc): Don't print tabs. Handle
PPC_OPERANDS_GPR_0.
* ppc-opc.c (RA0): Define.
(RAQ, RAL, RAM, RAS, RSQ, RTQ, RSO): Use PPC_OPERAND_GPR_0.
(RAOPT): Rename from RAO. Update all uses.
(powerpc_opcodes): Use RA0 as appropriate. Add "lsdx", "lsdi",
"stsdx", "stsdi", "lmd" and "stmd" insns.
include/opcode/
* ppc.h (PPC_OPERAND_GPR_0): Define. Bump other operand defines.
gas/testsuite/
Update gas/ppc/.
ld/testsuite/
Update ld-powerpc/.
2004-03-16 01:58:43 +01:00
|
|
|
.* 3d 82 00 00 addis r12,r2,0
|
|
|
|
.* f8 41 00 28 std r2,40\(r1\)
|
|
|
|
.* e9 6c 80 78 ld r11,-32648\(r12\)
|
|
|
|
.* e8 4c 80 80 ld r2,-32640\(r12\)
|
|
|
|
.* 7d 69 03 a6 mtctr r11
|
|
|
|
.* e9 6c 80 88 ld r11,-32632\(r12\)
|
2003-06-10 06:36:01 +02:00
|
|
|
.* 4e 80 04 20 bctr
|
2003-02-04 15:52:11 +01:00
|
|
|
|
2003-06-10 06:36:01 +02:00
|
|
|
.* <_start>:
|
opcodes/
* ppc-dis.c (print_insn_powerpc): Don't print tabs. Handle
PPC_OPERANDS_GPR_0.
* ppc-opc.c (RA0): Define.
(RAQ, RAL, RAM, RAS, RSQ, RTQ, RSO): Use PPC_OPERAND_GPR_0.
(RAOPT): Rename from RAO. Update all uses.
(powerpc_opcodes): Use RA0 as appropriate. Add "lsdx", "lsdi",
"stsdx", "stsdi", "lmd" and "stmd" insns.
include/opcode/
* ppc.h (PPC_OPERAND_GPR_0): Define. Bump other operand defines.
gas/testsuite/
Update gas/ppc/.
ld/testsuite/
Update ld-powerpc/.
2004-03-16 01:58:43 +01:00
|
|
|
.* 38 62 80 30 addi r3,r2,-32720
|
|
|
|
.* 4b ff ff e1 bl .* <\.__tls_get_addr>
|
|
|
|
.* e8 41 00 28 ld r2,40\(r1\)
|
|
|
|
.* 38 62 80 08 addi r3,r2,-32760
|
|
|
|
.* 4b ff ff d5 bl .* <\.__tls_get_addr>
|
|
|
|
.* e8 41 00 28 ld r2,40\(r1\)
|
|
|
|
.* 38 62 80 48 addi r3,r2,-32696
|
|
|
|
.* 4b ff ff c9 bl .* <\.__tls_get_addr>
|
|
|
|
.* e8 41 00 28 ld r2,40\(r1\)
|
|
|
|
.* 38 62 80 08 addi r3,r2,-32760
|
|
|
|
.* 4b ff ff bd bl .* <\.__tls_get_addr>
|
|
|
|
.* e8 41 00 28 ld r2,40\(r1\)
|
|
|
|
.* 39 23 80 40 addi r9,r3,-32704
|
|
|
|
.* 3d 23 00 00 addis r9,r3,0
|
|
|
|
.* 81 49 80 48 lwz r10,-32696\(r9\)
|
|
|
|
.* e9 22 80 40 ld r9,-32704\(r2\)
|
|
|
|
.* 7d 49 18 2a ldx r10,r9,r3
|
|
|
|
.* e9 22 80 58 ld r9,-32680\(r2\)
|
|
|
|
.* 7d 49 6a 2e lhzx r10,r9,r13
|
|
|
|
.* 89 4d 00 00 lbz r10,0\(r13\)
|
|
|
|
.* 3d 2d 00 00 addis r9,r13,0
|
|
|
|
.* 99 49 00 00 stb r10,0\(r9\)
|
|
|
|
.* 38 62 80 18 addi r3,r2,-32744
|
|
|
|
.* 4b ff ff 89 bl .* <\.__tls_get_addr>
|
|
|
|
.* e8 41 00 28 ld r2,40\(r1\)
|
|
|
|
.* 38 62 80 08 addi r3,r2,-32760
|
|
|
|
.* 4b ff ff 7d bl .* <\.__tls_get_addr>
|
|
|
|
.* e8 41 00 28 ld r2,40\(r1\)
|
|
|
|
.* f9 43 80 08 std r10,-32760\(r3\)
|
|
|
|
.* 3d 23 00 00 addis r9,r3,0
|
|
|
|
.* 91 49 80 10 stw r10,-32752\(r9\)
|
|
|
|
.* e9 22 80 28 ld r9,-32728\(r2\)
|
|
|
|
.* 7d 49 19 2a stdx r10,r9,r3
|
|
|
|
.* e9 22 80 58 ld r9,-32680\(r2\)
|
|
|
|
.* 7d 49 6b 2e sthx r10,r9,r13
|
|
|
|
.* e9 4d 00 02 lwa r10,0\(r13\)
|
|
|
|
.* 3d 2d 00 00 addis r9,r13,0
|
|
|
|
.* a9 49 00 00 lha r10,0\(r9\)
|
|
|
|
.* 7d 89 02 a6 mfctr r12
|
|
|
|
.* 78 0b 1f 24 rldicr r11,r0,3,60
|
|
|
|
.* 34 40 80 00 addic\. r2,r0,-32768
|
|
|
|
.* 7d 8b 60 50 subf r12,r11,r12
|
|
|
|
.* 7c 42 fe 76 sradi r2,r2,63
|
|
|
|
.* 78 0b 17 64 rldicr r11,r0,2,61
|
|
|
|
.* 7c 42 58 38 and r2,r2,r11
|
|
|
|
.* 7d 8b 60 50 subf r12,r11,r12
|
|
|
|
.* 7d 8c 12 14 add r12,r12,r2
|
|
|
|
.* 3d 8c 00 01 addis r12,r12,1
|
|
|
|
.* e9 6c 01 f4 ld r11,500\(r12\)
|
|
|
|
.* 39 8c 01 f4 addi r12,r12,500
|
|
|
|
.* e8 4c 00 08 ld r2,8\(r12\)
|
|
|
|
.* 7d 69 03 a6 mtctr r11
|
|
|
|
.* e9 6c 00 10 ld r11,16\(r12\)
|
2003-06-10 06:36:01 +02:00
|
|
|
.* 4e 80 04 20 bctr
|
opcodes/
* ppc-dis.c (print_insn_powerpc): Don't print tabs. Handle
PPC_OPERANDS_GPR_0.
* ppc-opc.c (RA0): Define.
(RAQ, RAL, RAM, RAS, RSQ, RTQ, RSO): Use PPC_OPERAND_GPR_0.
(RAOPT): Rename from RAO. Update all uses.
(powerpc_opcodes): Use RA0 as appropriate. Add "lsdx", "lsdi",
"stsdx", "stsdi", "lmd" and "stmd" insns.
include/opcode/
* ppc.h (PPC_OPERAND_GPR_0): Define. Bump other operand defines.
gas/testsuite/
Update gas/ppc/.
ld/testsuite/
Update ld-powerpc/.
2004-03-16 01:58:43 +01:00
|
|
|
.* 38 00 00 00 li r0,0
|
|
|
|
.* 4b ff ff bc b .*
|