Displaying 3 results from an estimated 3 matches for "r_ppc64_addr14".
Did you mean:
r_ppc64_addr16
2016 Dec 14
2
LLD status update and performance chart
...brought up in this thread, if
> you look at the details, the argument is not as strong as the
> high-level software engineering spidey sense might initially
> suggest.
Alright, let's be specific. PPC64TargetInfo::relocateOne in tools/lld/ELF/Target.cpp has this:
switch (Type) {
case R_PPC64_ADDR14: {
checkAlignment<4>(Val, Type);
// Preserve the AA/LK bits in the branch instruction
uint8_t AALK = Loc[3];
write16be(Loc + 2, (AALK & 3) | (Val & 0xfffc));
break;
}
case R_PPC64_ADDR16:
checkInt<16>(Val, Type);
write16be(Loc, Val);
break;
case R_PPC64_ADDR16_DS:
ch...
2016 Dec 14
0
LLD status update and performance chart
...if you look at the
> details, the argument is not as strong as the high-level software
> engineering spidey sense might initially suggest.
>
> Alright, let's be specific. PPC64TargetInfo::relocateOne in
> tools/lld/ELF/Target.cpp has this:
>
> switch (Type) {
> case R_PPC64_ADDR14: {
> checkAlignment<4>(Val, Type);
> // Preserve the AA/LK bits in the branch instruction
> uint8_t AALK = Loc[3];
> write16be(Loc + 2, (AALK & 3) | (Val & 0xfffc));
> break;
> }
> case R_PPC64_ADDR16:
> checkInt<16>(Val, Type)...
2016 Dec 14
0
LLD status update and performance chart
On Tue, Dec 13, 2016 at 12:08 PM, Rui Ueyama <ruiu at google.com> wrote:
> On Tue, Dec 13, 2016 at 12:01 PM, Mehdi Amini <mehdi.amini at apple.com>
> wrote:
>
>>
>> On Dec 13, 2016, at 11:51 AM, Rui Ueyama <ruiu at google.com> wrote:
>>
>> On Tue, Dec 13, 2016 at 11:37 AM, Mehdi Amini <mehdi.amini at apple.com>
>> wrote:
>>