From bb93064d7857d887b674999c9b4152b44a628f9a Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 25 Feb 2017 12:49:47 +0100 Subject: makefile: unify cross with native builds supports building cross compilers on the fly without need for configure --enable-cross $ make cross # all compilers $ make cross-TARGET # only TARGET-compiler & its libtcc1.a with TARGET one from i386 x86_64 i386-win32 x86_64-win32 arm arm64 arm-wince c67 Type 'make help' for more information --- arm-asm.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'arm-asm.c') diff --git a/arm-asm.c b/arm-asm.c index 5840cde..c236b54 100644 --- a/arm-asm.c +++ b/arm-asm.c @@ -17,6 +17,11 @@ ST_FUNC void gen_le32(int c); #else /*************************************************************/ +static void asm_error(void) +{ + tcc_error("ARM asm not implemented."); +} + /* XXX: make it faster ? */ ST_FUNC void g(int c) { @@ -49,10 +54,12 @@ ST_FUNC void gen_expr32(ExprValue *pe) ST_FUNC void asm_opcode(TCCState *s1, int opcode) { + asm_error(); } ST_FUNC void subst_asm_operand(CString *add_str, SValue *sv, int modifier) { + asm_error(); } /* generate prolog and epilog code for asm statement */ @@ -61,6 +68,7 @@ ST_FUNC void asm_gen_code(ASMOperand *operands, int nb_operands, uint8_t *clobber_regs, int out_reg) { + asm_error(); } ST_FUNC void asm_compute_constraints(ASMOperand *operands, @@ -68,14 +76,17 @@ ST_FUNC void asm_compute_constraints(ASMOperand *operands, const uint8_t *clobber_regs, int *pout_reg) { + asm_error(); } ST_FUNC void asm_clobber(uint8_t *clobber_regs, const char *str) { + asm_error(); } ST_FUNC int asm_parse_regvar (int t) { + asm_error(); return -1; } -- cgit v1.3.1