From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17324 invoked by alias); 17 Feb 2011 15:30:46 -0000 Received: (qmail 17300 invoked by uid 22791); 17 Feb 2011 15:30:44 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_IB X-Spam-Check-By: sourceware.org Received: from mail-qy0-f176.google.com (HELO mail-qy0-f176.google.com) (209.85.216.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 17 Feb 2011 15:30:39 +0000 Received: by qyk10 with SMTP id 10so2609326qyk.0 for ; Thu, 17 Feb 2011 07:30:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.224.54.6 with SMTP id o6mr2772940qag.49.1297956637569; Thu, 17 Feb 2011 07:30:37 -0800 (PST) Received: by 10.224.61.18 with HTTP; Thu, 17 Feb 2011 07:30:37 -0800 (PST) In-Reply-To: <20110217152233.GB11346@atrey.karlin.mff.cuni.cz> References: <4D5C2DD2.10608@zytor.com> <4D5CEBDE02000078000325A2@vpn.id2.novell.com> <20110217142916.GI13037@sunsite.ms.mff.cuni.cz> <20110217152233.GB11346@atrey.karlin.mff.cuni.cz> Date: Thu, 17 Feb 2011 15:30:00 -0000 Message-ID: Subject: Re: x32 psABI draft version 0.2 From: "H.J. Lu" To: Jan Hubicka Cc: Jakub Jelinek , Jan Beulich , "H. Peter Anvin" , GCC Development , x32-abi@googlegroups.com, Binutils , GNU C Library Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-02/txt/msg00213.txt.bz2 On Thu, Feb 17, 2011 at 7:22 AM, Jan Hubicka wrote: >> On Thu, Feb 17, 2011 at 08:35:26AM +0000, Jan Beulich wrote: >> > >>> On 16.02.11 at 21:04, "H. Peter Anvin" wrote: >> > > On 02/16/2011 11:22 AM, H.J. Lu wrote: >> > >> Hi, >> > >> >> > >> I updated =A0x32 psABI draft to version 0.2 to change x32 library p= ath >> > >> from lib32 to libx32 since lib32 is used for ia32 libraries on Debi= an, >> > >> Ubuntu and other derivative distributions. The new x32 psABI is >> > >> available from: >> > >> >> > >> https://sites.google.com/site/x32abi/home >> > >> >> > > >> > > I'm wondering if we should define a section header flag (sh_flags) >> > > and/or an ELF header flag (e_flags) for x32 for the people unhappy a= bout >> > > keying it to the ELF class... >> > >> > Thanks for supporting this! >> > >> > Besides that I also wonder why all the 64-bit relocations get >> > marked as LP64-only. It is clear that some of them can be useful >> > in ILP32 as well, and there's no reason to preclude future uses >> > even if currently no-one can imagine any. >> > >> > Furthermore, it seems questionable to continue to require rela >> > relocations when for all normal ones (leaving aside the 8- and 16- >> > bit ones) the addend can fit in the relocated field. >> >> REL is horrible pain, we shouldn't ever add new REL targets. > > According to Mozilla folks however REL+RELA scheme used by EABI leads > to significandly smaller libxul.so size > > According to http://glandium.org/blog/?p=3D1177 the difference is about 4= -5MB > (out of approximately 20-30MB shared lib) This is orthogonal to x32 psABI. --=20 H.J.