aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/reloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/reloc.h')
-rw-r--r--arch/arm/reloc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/reloc.h b/arch/arm/reloc.h
index 6227bd1..b175711 100644
--- a/arch/arm/reloc.h
+++ b/arch/arm/reloc.h
@@ -6,10 +6,10 @@
#define ENDIAN_SUFFIX ""
#endif
-#if __SOFTFP__
-#define FP_SUFFIX ""
-#else
+#if __ARM_PCS_VFP
#define FP_SUFFIX "hf"
+#else
+#define FP_SUFFIX ""
#endif
#define LDSO_ARCH "arm" ENDIAN_SUFFIX FP_SUFFIX