On Thu, 24 Jun 2010 17:53:25 +0000 (UTC)
Warner Losh <imp at FreeBSD.org> wrote:
> Author: imp
> Date: Thu Jun 24 17:53:25 2010
> New Revision: 209511
> URL: http://svn.freebsd.org/changeset/base/209511>> Log:
> Merge from tbemd:
>> use MACHINE_CPUARCH instead of MACHINE_CPU since the sources for the
> CSU is based on MACHINE_CPUARCH
>> Reviewed by: arch@ (twice)
This is not always true. For example, on powerpc64, the ABI is
different enough between powerpc and powerpc64, which share a CPUARCH,
that the csu code shares very little. I can work around this with
Makefile or preprocessor hacks, of course, but would be it be possible
here instead to check for MACHINE_ARCH before falling back to
MACHINE_CPUARCH?
-Nathan