diff options
| author | Thomas Preud'homme <robotux@celest.fr> | 2011-12-10 07:22:09 +0100 |
|---|---|---|
| committer | Thomas Preud'homme <robotux@celest.fr> | 2012-06-05 23:09:55 +0200 |
| commit | 7f6095bfec82b178084b22b33941d4f06155e514 (patch) | |
| tree | 1eb61b34ecfee1afa07159c1b4f97a9483fd8e2a /tcc.h | |
| parent | bfb00494eb2ffaf4fbf68a8ecabe9e503f4cdf65 (diff) | |
| download | tinycc-7f6095bfec82b178084b22b33941d4f06155e514.tar.gz tinycc-7f6095bfec82b178084b22b33941d4f06155e514.tar.bz2 | |
Add support for arm hardfloat calling convention
See Procedure Call Standard for the ARM Architecture (AAPCS) for more
details.
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |
