Displaying 2 results from an estimated 2 matches for "16128f8".
2019 Jan 18
0
[klibc:master] fcntl: Fix file locking numbers for 64-bit architectures
...iases for
the non-64 fcntl numbers and are not implemented at all. Only use
them in 32-bit configurations.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/include/fcntl.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/usr/include/fcntl.h b/usr/include/fcntl.h
index 16128f8..b08c7c8 100644
--- a/usr/include/fcntl.h
+++ b/usr/include/fcntl.h
@@ -13,6 +13,9 @@
# include <klibc/archfcntl.h>
#endif
#include <linux/fcntl.h>
+#include <bitsize.h>
+
+#if _BITSIZE == 32
/* This is ugly, but "struct flock" has actually been defined with
a...
2015 Mar 06
0
[klibc:master] add-mips64-support-headers
...r */
#define fp $30 /* frame pointer */
-#define s8 $30 /* same like fp! */
+#define s8 $30 /* callee saved */
#define ra $31 /* return address */
+
/*
* LEAF - declare leaf routine
*/
diff --git a/usr/include/fcntl.h b/usr/include/fcntl.h
index bbd6917..16128f8 100644
--- a/usr/include/fcntl.h
+++ b/usr/include/fcntl.h
@@ -9,7 +9,7 @@
#include <klibc/compiler.h>
#include <klibc/seek.h>
#include <sys/types.h>
-#if defined(__mips__) && !defined(__mips64__)
+#if defined(__mips__) && ! defined(__mips64)
# include <klib...