Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 14 Dec 2017 21:24:18 -0500
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: x32 shouldn't provide LP64 macros

On Tue, Dec 12, 2017 at 10:27:23AM +0000, Nicholas Wilson wrote:
> 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

Thanks, applying.

Rich

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.