projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix ldso name for sh-nofpu subarch
[musl]
/
arch
/
sh
/
reloc.h
diff --git
a/arch/sh/reloc.h
b/arch/sh/reloc.h
index
61192ff
..
77da650
100644
(file)
--- 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