From f5f544f43658887f095041588d2765996ffaf729 Mon Sep 17 00:00:00 2001 From: herman ten brugge Date: Mon, 1 Dec 2025 18:09:04 +0100 Subject: [PATCH] allow cross compiling for alloca on arm64 --- tccasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tccasm.c b/tccasm.c index 1c0e1b86..9e89f5a3 100644 --- a/tccasm.c +++ b/tccasm.c @@ -991,7 +991,7 @@ static void asm_parse_directive(TCCState *s1, int global) next(); asm_expr(s1, &e); skip(','); -#ifdef __aarch64__ +#if defined(TCC_TARGET_ARM64) if (strcmp(get_tok_str(tok, NULL), "R_AARCH64_CALL26")) #endif tcc_error("unimp: reloc '%s' unknown", get_tok_str(tok, NULL));