From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4632 invoked by alias); 14 May 2012 17:34:48 -0000 Received: (qmail 4067 invoked by uid 22791); 14 May 2012 17:34:45 -0000 X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 tests=BAYES_00,KHOP_THREADED,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from terminus.zytor.com (HELO mail.zytor.com) (198.137.202.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 May 2012 17:34:34 +0000 Received: from anacreon.sc.intel.com ([134.134.139.76]) (authenticated bits=0) by mail.zytor.com (8.14.5/8.14.5) with ESMTP id q4EHYEm7009662 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 14 May 2012 10:34:15 -0700 Message-ID: <4FB14211.6070905@zytor.com> Date: Mon, 14 May 2012 17:34:00 -0000 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: x32-abi@googlegroups.com CC: "H.J. Lu" , discuss@x86-64.org, GCC Development , Binutils , GNU C Library , GDB Subject: Re: [x86-64 psABI] RFC: Extend x86-64 psABI to support x32 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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/msg00058.txt.bz2 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. X32 uses the ILP32 model for x86-64 > instruction set with size of long and pointers == 4 bytes. X32 is > already supported in GCC 4.7.0 and binutils 2.22. I am now working > to integrate x32 support into GLIBC 2.16 and GDB 7.5 Here is a > patch to extend x86-64 psABI for x32. Any comments? > As a minor nitpick, I have always used x32 with a lower case x. The capital X32 looks odd to me. -hpa