PointerToGOT lowering was accidentally changed from Delta32 to Delta64 in
db3722580335c. This patch moves it back to Delta32 and renames the generic
aarch64 edge to Delta32ToGOT to avoid the ambiguity.
No test case yet -- I haven't figured out how to write a succinct test case
(this typically appears in CIEs in eh-frames).
TLVPageOffset12,
TLSDescPage21,
TLSDescPageOffset12,
- PointerToGOT,
+ Delta32ToGOT,
PairedAddend,
LDRLiteral19,
Delta32,
case TLSDescPageOffset12:
case GOTPage21:
case GOTPageOffset12:
- case PointerToGOT: {
+ case Delta32ToGOT: {
return make_error<JITLinkError>(
"In graph " + G.getName() + ", section " + B.getSection().getName() +
"GOT/TLV edge kinds not lowered: " + getEdgeKindName(E.getKind()));
"RawInstr isn't a 64-bit LDR immediate");
break;
}
- case aarch64::PointerToGOT: {
- KindToSet = aarch64::Delta64;
+ case aarch64::Delta32ToGOT: {
+ KindToSet = aarch64::Delta32;
break;
}
default:
else
return TargetSymbolOrErr.takeError();
- Kind = aarch64::PointerToGOT;
+ Kind = aarch64::Delta32ToGOT;
break;
case MachODelta32:
case MachODelta64: {
return "TLSDescPage21";
case TLSDescPageOffset12:
return "TLSDescPageOffset12";
- case PointerToGOT:
- return "PointerToGOT";
+ case Delta32ToGOT:
+ return "Delta32ToGOT";
case PairedAddend:
return "PairedAddend";
case LDRLiteral19: