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:
bors 2015-01-12 00:21:27 +00:00
commit 79602e24c8
1 changed files with 2 additions and 2 deletions

View File

@ -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