diff options
Diffstat (limited to 'arch/sh/reloc.h')
-rw-r--r-- | arch/sh/reloc.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/sh/reloc.h b/arch/sh/reloc.h index 61192ffe..77da6508 100644 --- a/arch/sh/reloc.h +++ b/arch/sh/reloc.h @@ -6,7 +6,13 @@ #define ENDIAN_SUFFIX "" #endif -#define LDSO_ARCH "sh" ENDIAN_SUFFIX +#if __SH_FPU_ANY__ || __SH4__ +#define FP_SUFFIX "" +#else +#define FP_SUFFIX "-nofpu" +#endif + +#define LDSO_ARCH "sh" ENDIAN_SUFFIX FP_SUFFIX #define TPOFF_K 8 |