@@ -203,63 +203,6 @@ enum EdgeKind_systemz : Edge::Kind {
203203 // / an out-of-range error will be returned.
204204 NegDelta32,
205205
206- // / A GOT entry getter/constructor, transformed to Delta64FromGOT pointing
207- // / at the GOT entry for the original target.
208- // /
209- // / Indicates that this edge should be transformed into a Delta64FromGOT
210- // / targeting the GOT entry for the edge's current target, maintaining the
211- // / same addend. A GOT entry for the target should be created if one does
212- // / not already exist.
213- // /
214- // / Edges of this kind are usually handled by a GOT builder pass inserted by
215- // / default.
216- // /
217- // / Fixup expression:
218- // / NONE
219- // /
220- // / Errors:
221- // / - *ASSERTION* Failure to handle edges of this kind prior to the fixup
222- // /
223- RequestGOTAndTransformToDelta64FromGOT,
224-
225- // / A GOT entry getter/constructor, transformed to Delta32FromGOT pointing
226- // / at the GOT entry for the original target.
227- // /
228- // / Indicates that this edge should be transformed into a Delta32FromGOT
229- // / targeting the GOT entry for the edge's current target, maintaining the
230- // / same addend. A GOT entry for the target should be created if one does
231- // / not already exist.
232- // /
233- // / Edges of this kind are usually handled by a GOT builder pass inserted by
234- // / default.
235- // /
236- // / Fixup expression:
237- // / NONE
238- // /
239- // / Errors:
240- // / - *ASSERTION* Failure to handle edges of this kind prior to the fixup
241- // /
242- RequestGOTAndTransformToDelta32FromGOT,
243-
244- // / A GOT entry getter/constructor, transformed to Delta16FromGOT pointing
245- // / at the GOT entry for the original target.
246- // /
247- // / Indicates that this edge should be transformed into a Delta16FromGOT
248- // / targeting the GOT entry for the edge's current target, maintaining the
249- // / same addend. A GOT entry for the target should be created if one does
250- // / not already exist.
251- // /
252- // / Edges of this kind are usually handled by a GOT builder pass inserted by
253- // / default.
254- // /
255- // / Fixup expression:
256- // / NONE
257- // /
258- // / Errors:
259- // / - *ASSERTION* Failure to handle edges of this kind prior to the fixup
260- // /
261- RequestGOTAndTransformToDelta16FromGOT,
262-
263206 // / A 32-bit Delta shifted by 1.
264207 // /
265208 // / Delta from the fixup to the PLT slot for the target. This will lead to
@@ -448,6 +391,44 @@ enum EdgeKind_systemz : Edge::Kind {
448391 // /
449392 Delta12FromGOT,
450393
394+ // / A GOT entry getter/constructor, transformed to Delta64FromGOT pointing
395+ // / at the GOT entry for the original target.
396+ // /
397+ // / Indicates that this edge should be transformed into a Delta64FromGOT
398+ // / targeting the GOT entry for the edge's current target, maintaining the
399+ // / same addend. A GOT entry for the target should be created if one does
400+ // / not already exist.
401+ // /
402+ // / Edges of this kind are usually handled by a GOT builder pass inserted by
403+ // / default.
404+ // /
405+ // / Fixup expression:
406+ // / NONE
407+ // /
408+ // / Errors:
409+ // / - *ASSERTION* Failure to handle edges of this kind prior to the fixup
410+ // /
411+ RequestGOTAndTransformToDelta64FromGOT,
412+
413+ // / A GOT entry getter/constructor, transformed to Delta32FromGOT pointing
414+ // / at the GOT entry for the original target.
415+ // /
416+ // / Indicates that this edge should be transformed into a Delta32FromGOT
417+ // / targeting the GOT entry for the edge's current target, maintaining the
418+ // / same addend. A GOT entry for the target should be created if one does
419+ // / not already exist.
420+ // /
421+ // / Edges of this kind are usually handled by a GOT builder pass inserted by
422+ // / default.
423+ // /
424+ // / Fixup expression:
425+ // / NONE
426+ // /
427+ // / Errors:
428+ // / - *ASSERTION* Failure to handle edges of this kind prior to the fixup
429+ // /
430+ RequestGOTAndTransformToDelta32FromGOT,
431+
451432 // / A GOT entry getter/constructor, transformed to Delta20FromGOT pointing
452433 // / at the GOT entry for the original target.
453434 // /
@@ -467,6 +448,25 @@ enum EdgeKind_systemz : Edge::Kind {
467448 // /
468449 RequestGOTAndTransformToDelta20FromGOT,
469450
451+ // / A GOT entry getter/constructor, transformed to Delta16FromGOT pointing
452+ // / at the GOT entry for the original target.
453+ // /
454+ // / Indicates that this edge should be transformed into a Delta16FromGOT
455+ // / targeting the GOT entry for the edge's current target, maintaining the
456+ // / same addend. A GOT entry for the target should be created if one does
457+ // / not already exist.
458+ // /
459+ // / Edges of this kind are usually handled by a GOT builder pass inserted by
460+ // / default.
461+ // /
462+ // / Fixup expression:
463+ // / NONE
464+ // /
465+ // / Errors:
466+ // / - *ASSERTION* Failure to handle edges of this kind prior to the fixup
467+ // /
468+ RequestGOTAndTransformToDelta16FromGOT,
469+
470470 // / A GOT entry getter/constructor, transformed to Delta12FromGOT pointing
471471 // / at the GOT entry for the original target.
472472 // /
@@ -638,7 +638,7 @@ inline Error applyFixup(LinkGraph &G, Block &B, const Edge &E,
638638 }
639639 case Delta32dbl:
640640 case DeltaPLT32dbl: {
641- int64_t Value = ( S + A - P) ;
641+ int64_t Value = S + A - P;
642642 if (!LLVM_UNLIKELY (isInt<33 >(Value)))
643643 return makeTargetOutOfRangeError (G, B, E);
644644 if (!LLVM_UNLIKELY (isAlignmentCorrect (Value, 2 )))
@@ -648,7 +648,7 @@ inline Error applyFixup(LinkGraph &G, Block &B, const Edge &E,
648648 }
649649 case Delta24dbl:
650650 case DeltaPLT24dbl: {
651- int64_t Value = ( S + A - P) ;
651+ int64_t Value = S + A - P;
652652 if (!LLVM_UNLIKELY (isInt<25 >(Value)))
653653 return makeTargetOutOfRangeError (G, B, E);
654654 if (!LLVM_UNLIKELY (isAlignmentCorrect (Value, 2 )))
@@ -660,7 +660,7 @@ inline Error applyFixup(LinkGraph &G, Block &B, const Edge &E,
660660 }
661661 case Delta16dbl:
662662 case DeltaPLT16dbl: {
663- int64_t Value = ( S + A - P) ;
663+ int64_t Value = S + A - P;
664664 if (!LLVM_UNLIKELY (isInt<17 >(Value)))
665665 return makeTargetOutOfRangeError (G, B, E);
666666 if (!LLVM_UNLIKELY (isAlignmentCorrect (Value, 2 )))
@@ -670,7 +670,7 @@ inline Error applyFixup(LinkGraph &G, Block &B, const Edge &E,
670670 }
671671 case Delta12dbl:
672672 case DeltaPLT12dbl: {
673- int64_t Value = ( S + A - P) ;
673+ int64_t Value = S + A - P;
674674 if (!LLVM_UNLIKELY (isInt<13 >(Value)))
675675 return makeTargetOutOfRangeError (G, B, E);
676676 if (!LLVM_UNLIKELY (isAlignmentCorrect (Value, 2 )))
@@ -700,14 +700,14 @@ inline Error applyFixup(LinkGraph &G, Block &B, const Edge &E,
700700 case Delta64PLTFromGOT:
701701 case Delta64FromGOT: {
702702 assert (GOTSymbol && " No GOT section symbol" );
703- int64_t Value = ( S + A - GOTBase) ;
703+ int64_t Value = S + A - GOTBase;
704704 write64be (FixupPtr, Value);
705705 break ;
706706 }
707707 case Delta32PLTFromGOT:
708708 case Delta32FromGOT: {
709709 assert (GOTSymbol && " No GOT section symbol" );
710- int64_t Value = ( S + A - GOTBase) ;
710+ int64_t Value = S + A - GOTBase;
711711 if (!LLVM_UNLIKELY (isInt<32 >(Value)))
712712 return makeTargetOutOfRangeError (G, B, E);
713713 write32be (FixupPtr, Value);
@@ -716,7 +716,7 @@ inline Error applyFixup(LinkGraph &G, Block &B, const Edge &E,
716716 case Delta16PLTFromGOT:
717717 case Delta16FromGOT: {
718718 assert (GOTSymbol && " No GOT section symbol" );
719- int64_t Value = ( S + A - GOTBase) ;
719+ int64_t Value = S + A - GOTBase;
720720 if (!LLVM_UNLIKELY (isInt<16 >(Value)))
721721 return makeTargetOutOfRangeError (G, B, E);
722722 write16be (FixupPtr, Value);
0 commit comments