From 28435ec58c2ef9bb571cad5f8a1129aea3ecc204 Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 13 May 2017 08:59:06 +0200 Subject: configure: --config-musl/-uClibc switch & misc cleanups - configure: - add --config-uClibc,-musl switch and suggest to use it if uClibc/musl is detected - make warning options magic clang compatible - simplify (use $confvars instead of individual options) - Revert "Remove some unused-parameter lint" 7443db0d5f841b81a55e918bf8c228dd20f9ddb2 rather use -Wno-unused-parameter (or just not -Wextra) - #ifdef functions that are unused on some targets - tccgen.c: use PTR_SIZE==8 instead of (X86_64 || ARM64) - tccpe.c: fix some warnings - integrate dummy arm-asm better --- arm-gen.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'arm-gen.c') diff --git a/arm-gen.c b/arm-gen.c index d11b1ec..8384781 100644 --- a/arm-gen.c +++ b/arm-gen.c @@ -34,8 +34,8 @@ #define NB_REGS 9 #endif -#ifndef TCC_ARM_VERSION -# define TCC_ARM_VERSION 5 +#ifndef TCC_CPU_VERSION +# define TCC_CPU_VERSION 5 #endif /* a register can belong to several classes. The classes must be @@ -2149,7 +2149,3 @@ ST_FUNC void gen_vla_alloc(CType *type, int align) { /*************************************************************/ #endif /*************************************************************/ - -// #ifndef TCC_IS_NATIVE -#include "arm-asm.c" -// #endif -- cgit v1.3.1