Merge pull request #20905 from akiss77/pr-morestack-plt
Fix: GNU AArch64 assembler does not like @plt symbol suffix Reviewed-by: alexcrichton
This commit is contained in:
commit
79602e24c8
|
@ -9,7 +9,7 @@
|
|||
|
||||
#if defined(__APPLE__)
|
||||
#define MORESTACK ___morestack
|
||||
#define STACK_EXHAUSTED _rust_stack_exhausted
|
||||
#define STACK_EXHAUSTED _rust_stack_exhausted@plt
|
||||
#else
|
||||
#define MORESTACK __morestack
|
||||
#define STACK_EXHAUSTED rust_stack_exhausted
|
||||
|
@ -30,6 +30,6 @@
|
|||
// FIXME(AARCH64): this might not be perfectly right but works for now
|
||||
MORESTACK:
|
||||
.cfi_startproc
|
||||
bl STACK_EXHAUSTED@plt
|
||||
bl STACK_EXHAUSTED
|
||||
// the above function ensures that it never returns
|
||||
.cfi_endproc
|
||||
|
|
Loading…
Reference in New Issue