1 .section .toc,"aw" 2x4t: 3 .quad x4 4x5t: 5 .quad x5 6 7 .section .sdata,"aw" 8 .p2align 4 9x1: 10 .quad 1 11x2: 12 .quad 2 13x3: 14 .quad 3 15x4: 16 .quad 4 17x5: 18 .quad 5 19x6: 20 .quad 6 21 22 .globl _start 23 .text 24_start: 25# no need for got entry, optimise to nop,addi 26# note: ld doesn't yet do got optimisation, so we get nop,ld 27 addis 9,2,x1@got@ha 28 ld 9,x1@got@l(9) 29# must keep got entry, optimise to nop,addi,ld 30 addis 4,2,x2@got@ha 31 addi 5,4,x2@got@l 32 ld 6,0(5) 33# no need for toc entry, optimise to nop,addi 34 addis 9,2,x4t@toc@ha 35 ld 9,x4t@toc@l(9) 36# must keep toc entry, optimise to nop,addi,ld 37# if we had a reloc tying the ld to x5/x5t then we could throw away 38# the toc entry and optimise to nop,nop,addi 39 addis 4,2,x5t@toc@ha 40 addi 5,4,x5t@toc@l 41 ld 6,0(5) 42# keep toc entry due to other accesses to x5t, optimise to nop,ld 43 addis 9,2,x5t@toc@ha 44 ld 9,x5t@toc@l(9) 45 46 addis 4,2,x2@got@ha 47 addi 5,4,x2@got@l 48 lwz 6,0(5) 49 addis 9,2,x1@toc@ha 50 lwz 9,x1@toc@l(9) 51 addis 4,2,x5t@toc@ha 52 addi 5,4,x5t@toc@l 53 lwz 6,0(5) 54 55 addis 4,2,x2@got@ha 56 addi 5,4,x2@got@l 57 lwa 6,0(5) 58 addis 9,2,x1@toc@ha 59 lwa 9,x1@toc@l(9) 60 addis 4,2,x5t@toc@ha 61 addi 5,4,x5t@toc@l 62 lwa 6,0(5) 63 64 addis 4,2,x2@got@ha 65 addi 5,4,x2@got@l 66 lhz 6,0(5) 67 addis 9,2,x1@toc@ha 68 lhz 9,x1@toc@l(9) 69 addis 4,2,x5t@toc@ha 70 addi 5,4,x5t@toc@l 71 lhz 6,0(5) 72 73 addis 4,2,x2@got@ha 74 addi 5,4,x2@got@l 75 lha 6,0(5) 76 addis 9,2,x1@toc@ha 77 lha 9,x1@toc@l(9) 78 addis 4,2,x5t@toc@ha 79 addi 5,4,x5t@toc@l 80 lha 6,0(5) 81 82 addis 4,2,x2@got@ha 83 addi 5,4,x2@got@l 84 lbz 6,0(5) 85 addis 9,2,x1@toc@ha 86 lbz 9,x1@toc@l(9) 87 addis 4,2,x5t@toc@ha 88 addi 5,4,x5t@toc@l 89 lbz 6,0(5) 90 91 addis 4,2,x2@got@ha 92 addi 5,4,x2@got@l 93 lfs 6,0(5) 94 addis 9,2,x1@toc@ha 95 lfs 9,x1@toc@l(9) 96 addis 4,2,x5t@toc@ha 97 addi 5,4,x5t@toc@l 98 lfs 6,0(5) 99 100 addis 4,2,x2@got@ha 101 addi 5,4,x2@got@l 102 lfd 6,0(5) 103 addis 9,2,x1@toc@ha 104 lfd 9,x1@toc@l(9) 105 addis 4,2,x5t@toc@ha 106 addi 5,4,x5t@toc@l 107 lfd 6,0(5) 108 109 addis 4,2,x2@got@ha 110 addi 5,4,x2@got@l 111 lxv 6,0(5) 112 addis 9,2,x1@toc@ha 113 lxv 9,x1@toc@l(9) 114 addis 4,2,x1@toc@ha 115 addi 5,4,x1@toc@l 116 lxv 6,0(5) 117 118 addis 4,2,x2@got@ha 119 addi 5,4,x2@got@l 120 lxsd 6,0(5) 121 addis 9,2,x1@toc@ha 122 lxsd 9,x1@toc@l(9) 123 addis 4,2,x5t@toc@ha 124 addi 5,4,x5t@toc@l 125 lxsd 6,0(5) 126 127 addis 4,2,x2@got@ha 128 addi 5,4,x2@got@l 129 lxssp 6,0(5) 130 addis 9,2,x1@toc@ha 131 lxssp 9,x1@toc@l(9) 132 addis 4,2,x5t@toc@ha 133 addi 5,4,x5t@toc@l 134 lxssp 6,0(5) 135 136 addis 9,2,x1@toc@ha 137 std 9,x1@toc@l(9) 138 addis 4,2,x5t@toc@ha 139 addi 5,4,x5t@toc@l 140 std 6,0(5) 141 142 addis 9,2,x1@toc@ha 143 stw 9,x1@toc@l(9) 144 addis 4,2,x5t@toc@ha 145 addi 5,4,x5t@toc@l 146 stw 6,0(5) 147 148 addis 9,2,x1@toc@ha 149 sth 9,x1@toc@l(9) 150 addis 4,2,x5t@toc@ha 151 addi 5,4,x5t@toc@l 152 sth 6,0(5) 153 154 addis 9,2,x1@toc@ha 155 stb 9,x1@toc@l(9) 156 addis 4,2,x5t@toc@ha 157 addi 5,4,x5t@toc@l 158 stb 6,0(5) 159 160 addis 9,2,x1@toc@ha 161 stfs 9,x1@toc@l(9) 162 addis 4,2,x5t@toc@ha 163 addi 5,4,x5t@toc@l 164 stfs 6,0(5) 165 166 addis 9,2,x1@toc@ha 167 stfd 9,x1@toc@l(9) 168 addis 4,2,x5t@toc@ha 169 addi 5,4,x5t@toc@l 170 stfd 6,0(5) 171 172 addis 9,2,x1@toc@ha 173 stxv 9,x1@toc@l(9) 174 addis 4,2,x1@toc@ha 175 addi 5,4,x1@toc@l 176 stxv 6,0(5) 177 178 addis 9,2,x1@toc@ha 179 stxsd 9,x1@toc@l(9) 180 addis 4,2,x5t@toc@ha 181 addi 5,4,x5t@toc@l 182 stxsd 6,0(5) 183 184 addis 9,2,x1@toc@ha 185 stxssp 9,x1@toc@l(9) 186 addis 4,2,x5t@toc@ha 187 addi 5,4,x5t@toc@l 188 stxssp 6,0(5) 189