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
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.
--
Joseph S. Myers
joseph@codesourcery.com