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. --- tcc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tcc.h') diff --git a/tcc.h b/tcc.h index dde2832..8bca9ae 100644 --- a/tcc.h +++ b/tcc.h @@ -204,6 +204,8 @@ # define CONFIG_TCC_ELFINTERP "/libexec/ld-elf.so.1" # elif defined __FreeBSD_kernel__ # define CONFIG_TCC_ELFINTERP "/lib/ld.so.1" +# elif defined TCC_ARM_HARDFLOAT +# define CONFIG_TCC_ELFINTERP "/lib/ld-linux-armhf.so.3" # elif defined TCC_ARM_EABI # define CONFIG_TCC_ELFINTERP "/lib/ld-linux.so.3" # elif defined(TCC_TARGET_X86_64) @@ -1138,6 +1140,7 @@ ST_FUNC Sym *external_global_sym(int v, CType *type, int r); ST_FUNC void vset(CType *type, int r, int v); ST_FUNC void vswap(void); ST_FUNC void vpush_global_sym(CType *type, int v); +ST_FUNC void vrote(SValue *e, int n); ST_FUNC void vrott(int n); ST_FUNC void vrotb(int n); #ifdef TCC_TARGET_ARM -- cgit v1.3.1