summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-02-10 20:27:19 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-02-10 20:27:19 +0000
commita86cb14d8f31dfd42f6c6153a74ac33b8dcf9855 (patch)
tree310c19d5c2165102cb2422549b2aa940c50f020a
parentd2f1ec3419038d5b55c69aefbb88ce63fdcff493 (diff)
switch m68k ports to gcc3
-rw-r--r--share/mk/bsd.own.mk4
-rw-r--r--sys/arch/hp300/stand/Makefile.inc4
-rw-r--r--sys/arch/mvme68k/stand/Makefile.inc4
-rw-r--r--sys/arch/mvme68k/stand/ld.script5
4 files changed, 10 insertions, 7 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index 39c9c168739..3e04fe9a769 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.own.mk,v 1.135 2013/02/02 13:38:41 miod Exp $
+# $OpenBSD: bsd.own.mk,v 1.136 2013/02/10 20:27:18 miod Exp $
# $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $
# Host-specific overrides
@@ -28,7 +28,7 @@ ELF_TOOLCHAIN?= no
ELF_TOOLCHAIN?= yes
.endif
-GCC2_ARCH=m68k vax
+GCC2_ARCH=vax
GCC4_ARCH=alpha amd64 arm hppa hppa64 i386 ia64 mips64 mips64el powerpc sh sparc sparc64
BINUTILS217_ARCH=hppa64 ia64
diff --git a/sys/arch/hp300/stand/Makefile.inc b/sys/arch/hp300/stand/Makefile.inc
index 693493bfdaf..6a38f063f22 100644
--- a/sys/arch/hp300/stand/Makefile.inc
+++ b/sys/arch/hp300/stand/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.12 2013/01/01 17:17:44 miod Exp $
+# $OpenBSD: Makefile.inc,v 1.13 2013/02/10 20:27:18 miod Exp $
# $NetBSD: Makefile.inc,v 1.7 1997/05/12 07:43:18 thorpej Exp $
BINDIR= /usr/mdec
@@ -8,6 +8,8 @@ RELOC= FFF00000
CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes \
-fno-stack-protector -msoft-float
+CFLAGS+= -fno-builtin-printf -fno-builtin-putchar \
+ -fno-builtin-vprintf
SA_CPPFLAGS+= -DAPCICONSOLE -DDCACONSOLE -DDCMCONSOLE -DITECONSOLE
SA_CPPFLAGS+= -DHIL_KEYBOARD -DDOMAIN_KEYBOARD
diff --git a/sys/arch/mvme68k/stand/Makefile.inc b/sys/arch/mvme68k/stand/Makefile.inc
index 025757c6c45..04e8e79dcf8 100644
--- a/sys/arch/mvme68k/stand/Makefile.inc
+++ b/sys/arch/mvme68k/stand/Makefile.inc
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile.inc,v 1.9 2012/12/31 21:35:32 miod Exp $
+# $OpenBSD: Makefile.inc,v 1.10 2013/02/10 20:27:18 miod Exp $
MDEC_DIR?=/usr/mdec
CFLAGS+=-Wall -Werror -fno-stack-protector
-#CFLAGS+=-fno-builtin-printf -fno-builtin-putchar -fno-builtin-vprintf
+CFLAGS+=-fno-builtin-printf -fno-builtin-putchar -fno-builtin-vprintf
CFLAGS+=-DHEAP_START=${HEAP_START}
# Load addresses for first and second stage bootstraps
diff --git a/sys/arch/mvme68k/stand/ld.script b/sys/arch/mvme68k/stand/ld.script
index 5039035280d..2e309cc4541 100644
--- a/sys/arch/mvme68k/stand/ld.script
+++ b/sys/arch/mvme68k/stand/ld.script
@@ -1,4 +1,4 @@
-/* $OpenBSD: ld.script,v 1.1 2013/02/02 13:36:06 miod Exp $ */
+/* $OpenBSD: ld.script,v 1.2 2013/02/10 20:27:18 miod Exp $ */
/*
* Copyright (c) 2012 Miodrag Vallat.
@@ -39,6 +39,7 @@ SECTIONS
PROVIDE(end = .);
/DISCARD/ :
{
- *(.stab*)
+ *(.debug*)
+ *(.eh_frame)
}
}