Skip to content

Commit 6c9bdf2

Browse files
committed
Fix: GNU AArch64 assembler does not like @plt symbol suffix
1 parent a09b139 commit 6c9bdf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rt/arch/aarch64/morestack.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#if defined(__APPLE__)
1111
#define MORESTACK ___morestack
12-
#define STACK_EXHAUSTED _rust_stack_exhausted
12+
#define STACK_EXHAUSTED _rust_stack_exhausted@plt
1313
#else
1414
#define MORESTACK __morestack
1515
#define STACK_EXHAUSTED rust_stack_exhausted
@@ -30,6 +30,6 @@
3030
// FIXME(AARCH64): this might not be perfectly right but works for now
3131
MORESTACK:
3232
.cfi_startproc
33-
bl STACK_EXHAUSTED@plt
33+
bl STACK_EXHAUSTED
3434
// the above function ensures that it never returns
3535
.cfi_endproc

0 commit comments

Comments
 (0)