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
Hi Joseph,
On Mon, Dec 03, 2012 at 04:00:21PM +0000, Joseph S. Myers wrote:
>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.
Does that apply to ldconfig as well as ld.so?
Again, I understand if people don't like this ugly approach; it's just
a fallback that will end up being used in Debian/Ubuntu anyway, and
may be helpful in other places where there are lots of pre-flag
hard-float binaries.
Cheers,
--
Steve McIntyre steve.mcintyre@linaro.org
<http://www.linaro.org/> Linaro.org | Open source software for ARM SoCs