From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27030 invoked by alias); 14 May 2012 17:44:30 -0000 Received: (qmail 27000 invoked by uid 22791); 14 May 2012 17:44:28 -0000 X-SWARE-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-qa0-f48.google.com (HELO mail-qa0-f48.google.com) (209.85.216.48) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 May 2012 17:44:05 +0000 Received: by qady23 with SMTP id y23so4087868qad.14 for ; Mon, 14 May 2012 10:44:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.183.135 with SMTP id cg7mr14277693qab.25.1337017444709; Mon, 14 May 2012 10:44:04 -0700 (PDT) Received: by 10.229.169.130 with HTTP; Mon, 14 May 2012 10:44:04 -0700 (PDT) In-Reply-To: <4FB14211.6070905@zytor.com> References: <4FB14211.6070905@zytor.com> Date: Mon, 14 May 2012 17:44:00 -0000 Message-ID: Subject: Re: [x86-64 psABI] RFC: Extend x86-64 psABI to support x32 From: "H.J. Lu" To: "H. Peter Anvin" Cc: x32-abi@googlegroups.com, discuss@x86-64.org, GCC Development , Binutils , GNU C Library , GDB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-05/txt/msg00059.txt.bz2 On Mon, May 14, 2012 at 10:34 AM, H. Peter Anvin wrote: > On 05/14/2012 10:31 AM, H.J. Lu wrote: >> Hi, >> >> Support for the x32 psABI: >> >> http://sites.google.com/site/x32abi/ >> >> is added in Linux kernel 3.4-rc1. =A0X32 uses the ILP32 model for x86-64 >> instruction set with size of long and pointers =3D=3D 4 bytes. =A0X32 is >> already supported in GCC 4.7.0 and binutils 2.22. =A0I am now working >> to integrate x32 support into GLIBC 2.16 and GDB 7.5 =A0 Here is a >> patch to extend x86-64 psABI for x32. =A0Any comments? >> > > As a minor nitpick, I have always used x32 with a lower case x. =A0The > capital X32 looks odd to me. > I used X32 together with LP64. I can use ILP32 instead of X32 when LP64 is mentioned at the same time. --=20 H.J.