This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Support bionic's jmp_buf.
- From: Pedro Alves <palves at redhat dot com>
- To: Thiago Jung Bauermann <thiago dot bauermann at linaro dot org>
- Cc: gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Wed, 27 Jun 2012 11:18:06 +0100
- 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>
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