From 7f6095bfec82b178084b22b33941d4f06155e514 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Sat, 10 Dec 2011 07:22:09 +0100 Subject: Add support for arm hardfloat calling convention See Procedure Call Standard for the ARM Architecture (AAPCS) for more details. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 60aabbd..10e1cd4 100644 --- a/Makefile +++ b/Makefile @@ -54,6 +54,8 @@ NATIVE_DEFINES+=-DWITHOUT_LIBTCC NATIVE_DEFINES+=$(if $(wildcard /lib/ld-linux.so.3),-DTCC_ARM_EABI) NATIVE_DEFINES+=$(if $(wildcard /lib/arm-linux-gnueabi),-DCONFIG_MULTIARCHDIR=\"arm-linux-gnueabi\") NATIVE_DEFINES+=$(if $(shell grep -l "^Features.* \(vfp\|iwmmxt\) " /proc/cpuinfo),-DTCC_ARM_VFP) +# To use ARM hardfloat calling convension +#NATIVE_DEFINES+=-DTCC_ARM_HARDFLOAT endif ifdef CONFIG_WIN32 -- cgit v1.3.1