@@ -755,32 +755,6 @@ inline Symbol &createAnonymousPointerJumpStub(LinkGraph &G,
755755 sizeof (PointerJumpStubContent), true , false );
756756}
757757
758- // / AArch64 reentry trampoline.
759- // /
760- // / Contains the instruction sequence for a trampoline that stores its return
761- // / address on the stack and passes its own address in x0:
762- // / STP x29, x30, [sp, #-16]!
763- // / BL <reentry-symbol>
764- extern const char ReentryTrampolineContent[8 ];
765-
766- // / Create a block of N reentry trampolines.
767- inline Block &createReentryTrampolineBlock (LinkGraph &G,
768- Section &TrampolineSection,
769- Symbol &ReentrySymbol) {
770- auto &B = G.createContentBlock (TrampolineSection, ReentryTrampolineContent,
771- orc::ExecutorAddr (~uint64_t (7 )), 4 , 0 );
772- B.addEdge (Branch26PCRel, 4 , ReentrySymbol, 0 );
773- return B;
774- }
775-
776- inline Symbol &createAnonymousReentryTrampoline (LinkGraph &G,
777- Section &TrampolineSection,
778- Symbol &ReentrySymbol) {
779- return G.addAnonymousSymbol (
780- createReentryTrampolineBlock (G, TrampolineSection, ReentrySymbol), 0 ,
781- sizeof (ReentryTrampolineContent), true , false );
782- }
783-
784758// / Global Offset Table Builder.
785759class GOTTableManager : public TableManager <GOTTableManager> {
786760public:
0 commit comments