mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: x32 shouldn't provide LP64 macros
Date: Thu, 14 Dec 2017 21:24:18 -0500	[thread overview]
Message-ID: <20171215022418.GE1627@brightrain.aerifal.cx> (raw)
In-Reply-To: <AM6PR0502MB38788DC5334755747F8DD6F6E7340@AM6PR0502MB3878.eurprd05.prod.outlook.com>

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


      reply	other threads:[~2017-12-15  2:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-12 10:27 Nicholas Wilson
2017-12-15  2:24 ` Rich Felker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171215022418.GE1627@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).