Subject: Re: cc doesn't pass -mev56 to as when -mcpu=ev56?
To: Thor Lancelot Simon <tls@rek.tjls.com>
From: Dave Huang <khym@bga.com>
List: tech-toolchain
Date: 06/23/1999 04:44:18
On Wed, 23 Jun 1999, Thor Lancelot Simon wrote:
> -Wa,-m21164a will do the trick, by the way -- thanks to Ross for
> pointing this out to me. But it shouldn't be required, of course.
Ah, cool... I had forgotten about -Wa... I decided to mess around with
ASM_SPECS, and came up with this... I don't know if it's right, but it
works for me :)
--- /usr/src/gnu/dist/gcc/config/alpha/netbsd.h Wed Nov 18 06:14:03 1998
+++ netbsd.h Wed Jun 23 03:16:47 1999
@@ -87,7 +87,7 @@
necessary on the Alpha. */
#undef ASM_SPEC
-#define ASM_SPEC " %|"
+#define ASM_SPEC " %| %{mcpu=ev4|mcpu=21064:-mev4} %{mcpu=ev5|mcpu=21164:-mev5} %{mcpu=ev56|mcpu=21164a:-mev56} %{mcpu=pca56|mcpu=21164pc|mcpu=21164PC:-mpca56} %{mcpu=ev6|mcpu=21264:-mev6}"
/* Provide a LINK_SPEC appropriate for a NetBSD/alpha ELF target. Only
the linker emulation and -O options are Alpha-specific. The rest are