summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k
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 /sys/arch/mvme68k
parentd2f1ec3419038d5b55c69aefbb88ce63fdcff493 (diff)
switch m68k ports to gcc3
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r--sys/arch/mvme68k/stand/Makefile.inc4
-rw-r--r--sys/arch/mvme68k/stand/ld.script5
2 files changed, 5 insertions, 4 deletions
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)
}
}