From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19288 invoked by alias); 27 Jun 2012 10:18:28 -0000 Received: (qmail 19238 invoked by uid 22791); 27 Jun 2012 10:18:26 -0000 X-SWARE-Spam-Status: No, hits=-7.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 27 Jun 2012 10:18:10 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q5RAI8Fl020545 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 27 Jun 2012 06:18:08 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q5RAI7FD003108; Wed, 27 Jun 2012 06:18:07 -0400 Message-ID: <4FEADDDE.6020904@redhat.com> Date: Wed, 27 Jun 2012 10:18:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: Thiago Jung Bauermann CC: gdb-patches ml Subject: Re: [patch] Support bionic's jmp_buf. References: <1337560528.4363.13.camel@hactar> <4FBA2920.4070909@redhat.com> <1337623164.22073.9.camel@hactar> <1340574375.31308.7.camel@hactar> In-Reply-To: <1340574375.31308.7.camel@hactar> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-06/txt/msg00827.txt.bz2 On 06/24/2012 10:46 PM, Thiago Jung Bauermann wrote:>>> Urgh. Isn't there a better way? This doesn't work with shared libraries, >>> > > for starters. >> > >> > There is. I thought of adding an Android flag to .note.ABI-tag and I >> > even have a patch ready which adds it to Android binaries. I gave up on >> > it because I thought it was overkill but I can certainly use that if >> > using the interpreter field is a worse solution. > I submitted a patch to bionic which adds a .note.ABI-tag to Android > binaries: > > https://android-review.googlesource.com/37590 > The note has a flag which is set to 1 if the binary is for the Android > platform. > > The patch was accepted by the Google engineers and applied to their > internal tree. It wasn't merged yet to the AOSP tree because of > conflicts with some of their internal patches, but will be in the near > future. Thank you very much for persevering. I think that using "GNU" as ABI_VENDOR for Android isn't the best thing to do, but from skimming the binutils@ list I see you're already addressing that. -- Pedro Alves