diff options
| author | Christian Jullien <Christian Jullien> | 2017-05-08 09:18:27 +0200 |
|---|---|---|
| committer | Christian Jullien <Christian Jullien> | 2017-05-08 09:18:27 +0200 |
| commit | 56df27502c17d29984474918cb3b8850671d8f39 (patch) | |
| tree | 100c520ff5bcf2d7265fcec999cd893b346ad7df /arm-gen.c | |
| parent | 19d8b8a17383863d45823e37f20a94cc1d55c3a6 (diff) | |
| download | tinycc-56df27502c17d29984474918cb3b8850671d8f39.tar.gz tinycc-56df27502c17d29984474918cb3b8850671d8f39.tar.bz2 | |
C string litteral is const, fix return type of default_elfinterp. Remove #ifndef TCC_IS_NATIVE in arm-gen.c as suggested by grischka.
Diffstat (limited to 'arm-gen.c')
| -rw-r--r-- | arm-gen.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -203,7 +203,7 @@ static int regmask(int r) { /******************************************************/ #if defined(TCC_ARM_EABI) && !defined(CONFIG_TCC_ELFINTERP) -char *default_elfinterp(struct TCCState *s) +const char *default_elfinterp(struct TCCState *s) { if (s->float_abi == ARM_HARD_FLOAT) return "/lib/ld-linux-armhf.so.3"; @@ -2150,6 +2150,6 @@ ST_FUNC void gen_vla_alloc(CType *type, int align) { #endif /*************************************************************/ -#ifndef TCC_IS_NATIVE +// #ifndef TCC_IS_NATIVE #include "arm-asm.c" -#endif +// #endif |
