This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH] ARM: Identify the hard-float ABI in older ARM binaries
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Steve McIntyre <steve dot mcintyre at linaro dot org>
- Cc: <libc-ports at sourceware dot org>, Carlos O'Donell <carlos at systemhalted dot org>, Marcus Shawcroft <marcus dot shawcroft at linaro dot org>
- Date: Mon, 3 Dec 2012 16:00:21 +0000
- Subject: Re: [PATCH] ARM: Identify the hard-float ABI in older ARM binaries
- References: <20121203153446.GD22509@einval.com> <20121203153747.GE22509@einval.com> <20121203154154.GF22509@einval.com>
On Mon, 3 Dec 2012, Steve McIntyre wrote:
> Hi,
>
> I expect this one to be more controversial and I'll understand if
> people don't want to accept it! It's a variation on the code that's in
> use today in Debian/Ubuntu to be able to distinguish between soft- and
> hard-float ABI libraries. In time, the new ELF flags will make this
> obsolete. Until that time, this adds a fallback for older binaries
> created before those flags went into binutils.
As previously explained, it's not appropriate for the dynamic linker to
examine the section view of the ELF file this way; the use of ELF header
flags is the right approach.
--
Joseph S. Myers
joseph@codesourcery.com