summaryrefslogtreecommitdiff
path: root/arch/mips/reloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/reloc.h')
-rw-r--r--arch/mips/reloc.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/mips/reloc.h b/arch/mips/reloc.h
index 07fa10a7..4ca81257 100644
--- a/arch/mips/reloc.h
+++ b/arch/mips/reloc.h
@@ -8,7 +8,13 @@
#define ENDIAN_SUFFIX ""
#endif
-#define LDSO_ARCH "mips" ENDIAN_SUFFIX
+#ifdef __mips_soft_float
+#define FP_SUFFIX "-sf"
+#else
+#define FP_SUFFIX ""
+#endif
+
+#define LDSO_ARCH "mips" ENDIAN_SUFFIX FP_SUFFIX
#define IS_COPY(x) ((x)==R_MIPS_COPY)
#define IS_PLT(x) 1