Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x68k/stand/boot_ustar Put back "-Wa, -march=m68000 -...



details:   https://anonhg.NetBSD.org/src/rev/bd6580340dfe
branches:  trunk
changeset: 328747:bd6580340dfe
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Wed Apr 16 14:33:43 2014 +0000

description:
Put back "-Wa,-march=m68000 -Wa,-mcpu=m68000" for AFLAGS for X68000 models.

See my post in source-changes-d@ for details.
http://mail-index.netbsd.org/source-changes-d/2014/04/15/msg006723.html

Also use "-m68000" for CFLAGS for consistency.
(the previous -m68020-60 was harmless because vers.c has
 only const strings and there is no instruction)

diffstat:

 sys/arch/x68k/stand/boot_ustar/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r cf5e86d6c314 -r bd6580340dfe sys/arch/x68k/stand/boot_ustar/Makefile
--- a/sys/arch/x68k/stand/boot_ustar/Makefile   Wed Apr 16 13:43:02 2014 +0000
+++ b/sys/arch/x68k/stand/boot_ustar/Makefile   Wed Apr 16 14:33:43 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.20 2014/04/14 14:24:27 isaki Exp $
+#      $NetBSD: Makefile,v 1.21 2014/04/16 14:33:43 tsutsui Exp $
 
 NOMAN=         # defined
 
@@ -35,8 +35,9 @@
 CPPFLAGS+= -DTEXTADDR="0x$(TEXT)" -DBOOT_TEXTADDR="0x$(BOOT_TEXT)"
 CPPFLAGS+= -DBOOT=\"$(BOOT)\" -DBOOT_VERS=\"$(VERSION)\"
 CPPFLAGS+= -I${COMMONDIR} -I${LIBIOCS} -I${S} -I. -D_STANDALONE
-CFLAGS+=   -m68020-60
+CFLAGS+=   -m68000
 AFLAGS=           ${CFLAGS:M-[ID]*}
+AFLAGS+=   -Wa,-march=m68000 -Wa,-mcpu=m68000
 LINKFLAGS=   -n -Bstatic -T ${.CURDIR}/${BOOT}.ldscript -M
 LINKFLAGS+=  -noinhibit-exec   # XXX
 



Home | Main Index | Thread Index | Old Index