projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netinet/udp.h: add UDP_GRO from linux v5.0
[musl]
/
arch
/
mips64
/
reloc.h
diff --git
a/arch/mips64/reloc.h
b/arch/mips64/reloc.h
index
5933147
..
bbd9bd9
100644
(file)
--- a/
arch/mips64/reloc.h
+++ b/
arch/mips64/reloc.h
@@
-4,6
+4,12
@@
#define _GNU_SOURCE
#include <endian.h>
#define _GNU_SOURCE
#include <endian.h>
+#if __mips_isa_rev >= 6
+#define ISA_SUFFIX "r6"
+#else
+#define ISA_SUFFIX ""
+#endif
+
#if __BYTE_ORDER == __LITTLE_ENDIAN
#define ENDIAN_SUFFIX "el"
#else
#if __BYTE_ORDER == __LITTLE_ENDIAN
#define ENDIAN_SUFFIX "el"
#else
@@
-16,7
+22,7
@@
#define FP_SUFFIX ""
#endif
#define FP_SUFFIX ""
#endif
-#define LDSO_ARCH "mips64" ENDIAN_SUFFIX FP_SUFFIX
+#define LDSO_ARCH "mips64"
ISA_SUFFIX
ENDIAN_SUFFIX FP_SUFFIX
#define TPOFF_K (-0x7000)
#define TPOFF_K (-0x7000)