Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Explicitly disable unwind tables for the boot loader.
details: https://anonhg.NetBSD.org/src/rev/b8234022dc31
branches: trunk
changeset: 788687:b8234022dc31
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Jul 18 12:15:15 2013 +0000
description:
Explicitly disable unwind tables for the boot loader.
diffstat:
sys/arch/amiga/stand/bootblock/boot/Makefile | 5 +++--
sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile | 5 +++--
sys/arch/amiga/stand/bootblock/ppcboot/Makefile | 5 +++--
sys/arch/vax/boot/Makefile.inc | 4 ++--
4 files changed, 11 insertions(+), 8 deletions(-)
diffs (75 lines):
diff -r 1ac7f583c482 -r b8234022dc31 sys/arch/amiga/stand/bootblock/boot/Makefile
--- a/sys/arch/amiga/stand/bootblock/boot/Makefile Thu Jul 18 12:05:30 2013 +0000
+++ b/sys/arch/amiga/stand/bootblock/boot/Makefile Thu Jul 18 12:15:15 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2011/10/04 04:04:15 chs Exp $
+# $NetBSD: Makefile,v 1.48 2013/07/18 12:15:15 joerg Exp $
.include <bsd.own.mk>
.include <bsd.sys.mk> # for HOST_SH
@@ -83,7 +83,8 @@
AFLAGS += -m68030 -l
CAFLAGS += -Wa,-l -Wa,-m68030 ${INCPATH}
-COPTIM= -Os -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks -Wa,-l -m68060 -Wa,-m68030
+COPTIM= -Os -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks
+COPTIM+= -Wa,-l -m68060 -Wa,-m68030 -fno-unwind-tables
CFLAGS= -ffreestanding ${COPTIM} ${INCPATH} ${DEFS}
CFLAGS+= -Werror
CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
diff -r 1ac7f583c482 -r b8234022dc31 sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile
--- a/sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile Thu Jul 18 12:05:30 2013 +0000
+++ b/sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile Thu Jul 18 12:15:15 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2011/10/02 18:30:50 christos Exp $
+# $NetBSD: Makefile,v 1.19 2013/07/18 12:15:15 joerg Exp $
### what we need:
@@ -54,7 +54,8 @@
AFLAGS += -m68030 -l
CAFLAGS += -Wa,-l -Wa,-m68030 ${INCPATH} -D_PRIMARY_BOOT
-COPTIM= -Os -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks -Wa,-l -m68060 -Wa,-m68030
+COPTIM= -Os -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks
+COPTIM+= -Wa,-l -m68060 -Wa,-m68030 -fno-unwind-tables
CFLAGS= -ffreestanding ${COPTIM} ${INCPATH} ${DEFS} -Wall #-Wstrict-prototypes
NETBSD_VERS!= ${HOST_SH} ${.CURDIR}/../../../../../conf/osrelease.sh
diff -r 1ac7f583c482 -r b8234022dc31 sys/arch/amiga/stand/bootblock/ppcboot/Makefile
--- a/sys/arch/amiga/stand/bootblock/ppcboot/Makefile Thu Jul 18 12:05:30 2013 +0000
+++ b/sys/arch/amiga/stand/bootblock/ppcboot/Makefile Thu Jul 18 12:15:15 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2010/07/06 06:09:57 mrg Exp $
+# $NetBSD: Makefile,v 1.10 2013/07/18 12:15:16 joerg Exp $
### what we need:
@@ -43,7 +43,8 @@
AFLAGS += -m68030 -l
CAFLAGS += -Wa,-l -Wa,-m68030 ${INCPATH}
-COPTIM= -O -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks -Wa,-l -m68060 -Wa,-m68030
+COPTIM= -Os -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks
+COPTIM+= -Wa,-l -m68060 -Wa,-m68030 -fno-unwind-tables
CFLAGS= -ffreestanding ${COPTIM} ${INCPATH} ${DEFS} -Wall #-Wstrict-prototypes
.c.o:
diff -r 1ac7f583c482 -r b8234022dc31 sys/arch/vax/boot/Makefile.inc
--- a/sys/arch/vax/boot/Makefile.inc Thu Jul 18 12:05:30 2013 +0000
+++ b/sys/arch/vax/boot/Makefile.inc Thu Jul 18 12:15:15 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.14 2007/03/31 06:03:13 matt Exp $
+# $NetBSD: Makefile.inc,v 1.15 2013/07/18 12:15:16 joerg Exp $
RELOC=0x3f0000
.PATH: ${.CURDIR}/../../vax ${.CURDIR}/../common
@@ -11,7 +11,7 @@
CPPFLAGS+=-DRELOC=${RELOC}
WARNS?= 1
-CFLAGS+=-ffreestanding -fno-pic
+CFLAGS+=-ffreestanding -fno-pic -fno-unwind-tables
AFLAGS+=-fno-pic
MKMAN=no
Home |
Main Index |
Thread Index |
Old Index