This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] ARM: Identify the hard-float ABI in older ARM binaries


On Mon, Dec 03, 2012 at 04:59:02PM +0000, Joseph S. Myers wrote:
>On Mon, 3 Dec 2012, Steve McIntyre wrote:
>
>> On Mon, Dec 03, 2012 at 04:49:06PM +0000, Joseph S. Myers wrote:
>> >On Mon, 3 Dec 2012, Steve McIntyre wrote:
>> >
>> >> >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?
>> >
>> >I think so, yes; I'm not aware of any existing use of the section view of 
>> >the file in ldconfig, although efficiency issues don't really apply there.
>> 
>> OK... So is there a good reason not to do this beyond "we've not done
>> this before", then?
>
>ldconfig, like the dynamic linker, is logically about the execution time 
>(segment) view of a program / shared library, rather than the static-link 
>time (section) view.

OK, fair enough - thanks.

Cheers,
-- 
Steve McIntyre                                steve.mcintyre@linaro.org
<http://www.linaro.org/> Linaro.org | Open source software for ARM SoCs


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]