|
|
Message-ID: <AM6PR0502MB38788DC5334755747F8DD6F6E7340@AM6PR0502MB3878.eurprd05.prod.outlook.com>
Date: Tue, 12 Dec 2017 10:27:23 +0000
From: Nicholas Wilson <nicholas.wilson@...lvnc.com>
To: "musl@...ts.openwall.com" <musl@...ts.openwall.com>
Subject: x32 shouldn't provide LP64 macros
Hi,
While working on the WebAssembly port, we noticed the following in arch/x32/bits/posix.h. It looks like the _POSIX_V{6,7}_LP64_OFF64 macros are defined, but surely x32 is an ILP32 architecture?
diff --git a/arch/x32/bits/posix.h b/arch/x32/bits/posix.h
index c37b94c1..30a38714 100644
--- a/arch/x32/bits/posix.h
+++ b/arch/x32/bits/posix.h
@@ -1,2 +1,2 @@
-#define _POSIX_V6_LP64_OFF64 1
-#define _POSIX_V7_LP64_OFF64 1
+#define _POSIX_V6_ILP32_OFFBIG 1
+#define _POSIX_V7_ILP32_OFFBIG 1
Best,
Nick
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.