Skip to content

Commit

Permalink
Add missing .alt_entry to CoreCLR *_FakeProlog methods (#106744)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipnavara authored Aug 22, 2024
1 parent 92e41b6 commit 6df7807
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/coreclr/vm/arm64/asmhelpers.S
Original file line number Diff line number Diff line change
Expand Up @@ -606,8 +606,12 @@ NESTED_END ResolveWorkerAsmStub, _TEXT
#ifdef FEATURE_READYTORUN

NESTED_ENTRY DelayLoad_MethodCall_FakeProlog, _TEXT, NoHandler
C_FUNC(DelayLoad_MethodCall):
#if defined(__APPLE__)
.alt_entry C_FUNC(DelayLoad_MethodCall)
#endif
.global C_FUNC(DelayLoad_MethodCall)
C_FUNC(DelayLoad_MethodCall):

PROLOG_WITH_TRANSITION_BLOCK

add x0, sp, #__PWTB_TransitionBlock // pTransitionBlock
Expand All @@ -626,8 +630,11 @@ NESTED_END DelayLoad_MethodCall_FakeProlog, _TEXT

.macro DynamicHelper frameFlags, suffix
NESTED_ENTRY DelayLoad_Helper\suffix\()_FakeProlog, _TEXT, NoHandler
C_FUNC(DelayLoad_Helper\suffix):
#if defined(__APPLE__)
.alt_entry C_FUNC(DelayLoad_Helper\suffix)
#endif
.global C_FUNC(DelayLoad_Helper\suffix)
C_FUNC(DelayLoad_Helper\suffix):

PROLOG_WITH_TRANSITION_BLOCK

Expand Down

0 comments on commit 6df7807

Please sign in to comment.