Richard Guenther wrote:
> Also, libgcc
> does _not_ know the machine - it only knows the -march it was compiled
> for.  Inlining and transparently handling different sub-architecture just
> does not play together well.

Yes, libgcc doesn't know this.  But the libgcc can be installed in the
correct place and the dynamic linker, which does in fact know what arch
is used, can make the decision.  It's really pretty easy for those
platforms with sufficient flexibility.  Use if cascades or indirect
jumps for the others, if necessary.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to