[PATCH] fix missing option in binutils version check
Stef Simoens
stefaan.simoens at coditel.net
Sun Jul 4 11:30:47 EST 2004
Olaf Hering wrote:
> On Tue, Jun 15, Tom Rini wrote:
>
>
>>And yes, passing -many does work on all older supported versions of
>>binutils. So perhaps we should just add -Wa,-many to our cflags and be
>>done with it now (and for future fixes of this sort).
>
>
> gcc 3.2 passes only -mppc, so all altive instructions will fail to
> compile without either -many or -maltivec
Are there altivec instructions when CONFIG_ALTIVEC is not set?
> diff -purNX /suse/olh/kernel/kernel_exclude.txt linux-2.6.7-bk16.orig/arch/ppc/kernel/Makefile linux-2.6.7-bk16/arch/ppc/kernel/Makefile
> --- linux-2.6.7-bk16.orig/arch/ppc/kernel/Makefile 2004-07-03 22:33:35.000000000 +0200
> +++ linux-2.6.7-bk16/arch/ppc/kernel/Makefile 2004-07-03 22:51:16.802332774 +0200
> @@ -8,6 +8,9 @@ endif
> ifdef CONFIG_4xx
> EXTRA_AFLAGS := -Wa,-m405
> endif
> +ifdef CONFIG_6xx
> +EXTRA_AFLAGS := -Wa,-maltivec
> +endif
> ifdef CONFIG_E500
> EXTRA_AFLAGS := -Wa,-me500
> endif
So, shouldn't this be "ifdef CONFIG_ALTIVEC" ?
Stef
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list