This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: STT_GNU_IFUNC from libgcc?


On Tue, Jun 2, 2009 at 10:49 AM, Adam Goode <adam@spicenitz.org> wrote:
> Hi,
>
> I have a couple questions about STT_GNU_IFUNC:
>
> ?* Could it be used from libgcc? (I don't see why not, but
> ? libgcc is a little special.)
>
> ?* Will it work with a statically-linked library? (libgcc
> ? is often statically linked in, would this still work,
> ? or would it need to be dynamically linked?)
>

STT_GNU_IFUNC works in all cases where
STT_IFUNC works, including statically-linked
binaries.

> I'm asking because ARM floating point is implemented as functions in
> libgcc, and it would be nice to have these go through the IFUNC
> mechanism to take advantage of hardware floating point when available.
>

You need to implement the ARM backend support
in both binutils and glibc.


-- 
H.J.


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