Skip to content

Fix: GNU AArch64 assembler does not like @plt symbol suffix #20905

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 12, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/rt/arch/aarch64/morestack.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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