This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: Conditionally falling back to the .c code or a different .S
> So for the 'Implies' case you mean that vN+1 would have an imply that
> pulled in vN and that
> would have an Implies that pulled in vN-1 ?
Right.
> What do you mean by the 'set of more-specific subdirectories'?
If you create sysdeps/arm/armv6/armv7/armv8 then when submachine
is set to armv6/armv7/armv8 that will automatically imply
arm/armv6/armv7 and arm/armv6, when submachine is set to
armv6/armv7 that will automatically imply arm/armv6, etc.
The Implies file approach is what seems to be used the most already.
That approach lets --with-cpu=foobar automatically compile with
-mcpu=foobar as well as selecting the sysdeps/cpu/foobar directory.
But it's really up to your CPU's main maintainer to decide how this should
be done for that CPU. For arm, that's Joseph Myers <joseph@codesourcery.com>.
Thanks,
Roland