]> git.hungrycats.org Git - linux/commit
[PATCH] ppc32: fix compilation with binutils-2.15
authorTom Rini <trini@kernel.crashing.org>
Sat, 31 Jul 2004 07:06:38 +0000 (00:06 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 31 Jul 2004 07:06:38 +0000 (00:06 -0700)
commitf44ba7d6adf95c410c2dcd8618f511210f02bde9
tree8764c802d0af3f2da5e7be33b6938d6f739d1c3e
parent81cae4d46f5674c4d666ab83e99ef1badc33059e
[PATCH] ppc32: fix compilation with binutils-2.15

Currently, ppc32 will not always compile with binutils-2.15.  The issue
is that binutils has become even more strict about which opcodes can be
used with which CPU flags.  The problem is that we have a number of
cases where we compile with altivec instructions (with runtime checks to
make sure we can actually run them) in code that's not altivec specific.

The fix for this is to always pass in -maltivec on CONFIG_6xx.  To do
this cleanly, we split our AFLAGS definition up into
aflags-$(CONFIG_FOO).

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/Makefile