Skip to content

Commit f5f544f

Browse files
committed
allow cross compiling for alloca on arm64
1 parent 7479a5c commit f5f544f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tccasm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ static void asm_parse_directive(TCCState *s1, int global)
991991
next();
992992
asm_expr(s1, &e);
993993
skip(',');
994-
#ifdef __aarch64__
994+
#if defined(TCC_TARGET_ARM64)
995995
if (strcmp(get_tok_str(tok, NULL), "R_AARCH64_CALL26"))
996996
#endif
997997
tcc_error("unimp: reloc '%s' unknown", get_tok_str(tok, NULL));

0 commit comments

Comments
 (0)