diff options
| -rw-r--r-- | src/rt/arch/aarch64/morestack.S | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/rt/arch/aarch64/morestack.S b/src/rt/arch/aarch64/morestack.S index c5e412140e4..8b7366ebed4 100644 --- a/src/rt/arch/aarch64/morestack.S +++ b/src/rt/arch/aarch64/morestack.S @@ -24,7 +24,7 @@ #endif #if !defined(__APPLE__) -.type MORESTACK,%function +func MORESTACK #endif // FIXME(AARCH64): this might not be perfectly right but works for now @@ -33,3 +33,7 @@ MORESTACK: bl STACK_EXHAUSTED // the above function ensures that it never returns .cfi_endproc + +#if !defined(__APPLE__) +endfunc MORESTACK +#endif |
