diff options
| author | grischka <grischka> | 2017-02-25 12:49:47 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2017-02-25 12:51:04 +0100 |
| commit | bb93064d7857d887b674999c9b4152b44a628f9a (patch) | |
| tree | 5290a93161373fd5a286d9aaf32ebb8dea04f82c /arm-asm.c | |
| parent | 669f61117d6ff2255649e80a9708fe24e32d4a33 (diff) | |
| download | tinycc-bb93064d7857d887b674999c9b4152b44a628f9a.tar.gz tinycc-bb93064d7857d887b674999c9b4152b44a628f9a.tar.bz2 | |
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
Diffstat (limited to 'arm-asm.c')
| -rw-r--r-- | arm-asm.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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; } |
