Thread (48 messages) 48 messages, 7 authors, 2004-07-26

Re: [PATCH] fix missing option in binutils version check

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2004-07-04 08:32:52

On Sat, 3 Jul 2004, Tom Rini wrote:
On Sun, Jul 04, 2004 at 03:30:47AM +0200, Stef Simoens wrote:
quoted
Olaf Hering wrote:
quoted
On Tue, Jun 15, Tom Rini wrote:
quoted
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?
Yes.  And I can forsee in the future were we might have BookE specific
ones in the same situation.
Perhaps it makes sense to add a directive to the assembler to switch on the
fly, cfr. the `.chip' directive on m68k? E.g. using

    .chip 68040

we switch to 68040 mode, and using

    .chip 68k

we switch back to generic mode. That way we can have instructions for different
CPU types in the same kernel, while the assembler still checks the validity
depending on the selected CPU type.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help