Lines Matching refs:ha
65 static uint16_t ha(uint32_t v) { return (v + 0x8000) >> 16; }
109 write32(buf + 0, 0x3d6b0000 | ha(afterBcl)); // addis r11,r11,1f-glink@ha
116 write32(buf + 28, 0x3d8c0000 | ha(gotBcl)); // addis 12,12,GOT+4-1b@ha
117 if (ha(gotBcl) == ha(gotBcl + 4)) {
131 write32(buf + 0, 0x3d800000 | ha(got + 4)); // lis r12,GOT+4@ha
132 write32(buf + 4, 0x3d6b0000 | ha(-glink)); // addis r11,r11,-glink@ha
133 if (ha(got + 4) == ha(got + 8))
140 if (ha(got + 4) == ha(got + 8))
333 write16(loc, ha(val));
424 // addi r3, r31, x@got@tlsgd --> addis r3, r2, x@tprel@ha
425 writeFromHalf16(loc, 0x3c620000 | ha(val));
464 // lwz rT, x@got@tprel(rA) --> addis rT, r2, x@tprel@ha
466 writeFromHalf16(loc, 0x3c020000 | rt | ha(val));