Module Name: src Committed By: joerg Date: Mon Aug 12 16:34:05 UTC 2013
Modified Files: src/sys/arch/atari/stand: Makefile.booters src/sys/arch/ews4800mips/stand: Makefile.bootxx src/sys/arch/mvme68k/stand: Makefile.booters src/sys/arch/pmax/stand: Makefile.booters src/sys/arch/sparc/stand: Makefile.buildboot src/sys/arch/sun68k/stand: Makefile.inc src/sys/arch/sun68k/stand/libsa: Makefile src/sys/arch/x68k/stand: Makefile.inc src/sys/arch/x68k/stand/boot_ufs: Makefile src/sys/arch/x68k/stand/loadbsd: Makefile src/sys/arch/x68k/stand/xxboot: Makefile.xxboot Log Message: Build boot loaders without unwind tables. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/atari/stand/Makefile.booters cvs rdiff -u -r1.5 -r1.6 src/sys/arch/ews4800mips/stand/Makefile.bootxx cvs rdiff -u -r1.22 -r1.23 src/sys/arch/mvme68k/stand/Makefile.booters cvs rdiff -u -r1.57 -r1.58 src/sys/arch/pmax/stand/Makefile.booters cvs rdiff -u -r1.28 -r1.29 src/sys/arch/sparc/stand/Makefile.buildboot cvs rdiff -u -r1.18 -r1.19 src/sys/arch/sun68k/stand/Makefile.inc cvs rdiff -u -r1.28 -r1.29 src/sys/arch/sun68k/stand/libsa/Makefile cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/Makefile.inc cvs rdiff -u -r1.28 -r1.29 src/sys/arch/x68k/stand/boot_ufs/Makefile cvs rdiff -u -r1.14 -r1.15 src/sys/arch/x68k/stand/loadbsd/Makefile cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/atari/stand/Makefile.booters diff -u src/sys/arch/atari/stand/Makefile.booters:1.3 src/sys/arch/atari/stand/Makefile.booters:1.4 --- src/sys/arch/atari/stand/Makefile.booters:1.3 Sun Dec 18 04:51:12 2011 +++ src/sys/arch/atari/stand/Makefile.booters Mon Aug 12 16:34:05 2013 @@ -1,9 +1,9 @@ -# $NetBSD: Makefile.booters,v 1.3 2011/12/18 04:51:12 tsutsui Exp $ +# $NetBSD: Makefile.booters,v 1.4 2013/08/12 16:34:05 joerg Exp $ BINDIR= /usr/mdec/${BTYPE:tl} DBG= -COPTS= -Os -fomit-frame-pointer -fno-function-cse -fstrength-reduce +COPTS= -Os -fomit-frame-pointer -fno-function-cse -fstrength-reduce -fno-unwind-tables CPPFLAGS+= -D_STANDALONE -DHEAP_VARIABLE CPPFLAGS+= -D__daddr_t=int32_t Index: src/sys/arch/ews4800mips/stand/Makefile.bootxx diff -u src/sys/arch/ews4800mips/stand/Makefile.bootxx:1.5 src/sys/arch/ews4800mips/stand/Makefile.bootxx:1.6 --- src/sys/arch/ews4800mips/stand/Makefile.bootxx:1.5 Thu May 27 06:58:13 2010 +++ src/sys/arch/ews4800mips/stand/Makefile.bootxx Mon Aug 12 16:34:05 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.bootxx,v 1.5 2010/05/27 06:58:13 dholland Exp $ +# $NetBSD: Makefile.bootxx,v 1.6 2013/08/12 16:34:05 joerg Exp $ NOMAN = @@ -20,7 +20,7 @@ MIPSFLAGS = -mips1 -G 0 -mno-abicalls DEBUGFLAGS = -Wall -Werror DEBUGFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith DEBUGFLAGS += -Wno-format-zero-length -Wno-sign-compare -OPTFLAGS = -Os -mmemcpy +OPTFLAGS = -Os -mmemcpy -fno-unwind-tables FLAGS = ${MIPSFLAGS} ${DEBUGFLAGS} ${OPTFLAGS} AFLAGS = -xassembler-with-cpp -D_LOCORE ${FLAGS} CFLAGS = ${FLAGS} -ffreestanding Index: src/sys/arch/mvme68k/stand/Makefile.booters diff -u src/sys/arch/mvme68k/stand/Makefile.booters:1.22 src/sys/arch/mvme68k/stand/Makefile.booters:1.23 --- src/sys/arch/mvme68k/stand/Makefile.booters:1.22 Sat Jan 22 19:19:20 2011 +++ src/sys/arch/mvme68k/stand/Makefile.booters Mon Aug 12 16:34:05 2013 @@ -1,10 +1,10 @@ -# $NetBSD: Makefile.booters,v 1.22 2011/01/22 19:19:20 joerg Exp $ +# $NetBSD: Makefile.booters,v 1.23 2013/08/12 16:34:05 joerg Exp $ S?= ${.CURDIR}/../../../.. MDEC_DIR?= /usr/mdec RELOC?= 0x3F0000 COPTS?= -Os -Wall -Wno-main -Wmissing-prototypes -Wstrict-prototypes \ - -ffreestanding -fomit-frame-pointer + -ffreestanding -fomit-frame-pointer -fno-unwind-tables DEFS?= STRIPFLAG?= Index: src/sys/arch/pmax/stand/Makefile.booters diff -u src/sys/arch/pmax/stand/Makefile.booters:1.57 src/sys/arch/pmax/stand/Makefile.booters:1.58 --- src/sys/arch/pmax/stand/Makefile.booters:1.57 Sun Jul 10 08:42:55 2011 +++ src/sys/arch/pmax/stand/Makefile.booters Mon Aug 12 16:34:05 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.booters,v 1.57 2011/07/10 08:42:55 mrg Exp $ +# $NetBSD: Makefile.booters,v 1.58 2013/08/12 16:34:05 joerg Exp $ NOMAN= # defined @@ -23,6 +23,7 @@ CPPFLAGS+= -nostdinc -D_STANDALONE -DNO_ -I${.OBJDIR} -I${S} # compiler flags for smallest code size CFLAGS= -ffreestanding -Os -g -mmemcpy -mno-abicalls -G 128 +CFLAGS+= -fno-unwind-tables CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith CFLAGS+= -Werror LDBUG= -T $S/arch/mips/conf/stand.ldscript Index: src/sys/arch/sparc/stand/Makefile.buildboot diff -u src/sys/arch/sparc/stand/Makefile.buildboot:1.28 src/sys/arch/sparc/stand/Makefile.buildboot:1.29 --- src/sys/arch/sparc/stand/Makefile.buildboot:1.28 Wed Aug 25 20:16:48 2010 +++ src/sys/arch/sparc/stand/Makefile.buildboot Mon Aug 12 16:34:05 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.buildboot,v 1.28 2010/08/25 20:16:48 christos Exp $ +# $NetBSD: Makefile.buildboot,v 1.29 2013/08/12 16:34:05 joerg Exp $ # # This file is for the sparc `boot' and `bootxx' only; it does not # currently play well on a 64-bit system. @@ -35,7 +35,7 @@ CPPFLAGS+= -D_STANDALONE -DSUN4 -DSUN4C CPPFLAGS+= -I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../.. CPPFLAGS+= -I${.CURDIR}/../../../../../common/include -CFLAGS= -Os +CFLAGS= -Os -fno-unwind-tables CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes -ffreestanding ### find out what to use for libkern Index: src/sys/arch/sun68k/stand/Makefile.inc diff -u src/sys/arch/sun68k/stand/Makefile.inc:1.18 src/sys/arch/sun68k/stand/Makefile.inc:1.19 --- src/sys/arch/sun68k/stand/Makefile.inc:1.18 Sun May 29 10:19:09 2011 +++ src/sys/arch/sun68k/stand/Makefile.inc Mon Aug 12 16:34:05 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.18 2011/05/29 10:19:09 tsutsui Exp $ +# $NetBSD: Makefile.inc,v 1.19 2013/08/12 16:34:05 joerg Exp $ # Must have S=/usr/src/sys (or equivalent) # But note: this is w.r.t. a subdirectory @@ -19,7 +19,7 @@ DEFS?= -Dsun3 -D_STANDALONE -D__daddr_t= INCL?= -I. -I${.CURDIR} -I${.CURDIR}/../libsa -I${S}/lib/libsa -I${S} CPUFLAGS= -mc68000 -Wa,-mc68010 -COPTS= -Os -fno-defer-pop -ffreestanding +COPTS= -Os -fno-defer-pop -ffreestanding -fno-unwind-tables CFLAGS= -msoft-float CPPFLAGS= ${DEFS} ${DEBUG} ${INCL} Index: src/sys/arch/sun68k/stand/libsa/Makefile diff -u src/sys/arch/sun68k/stand/libsa/Makefile:1.28 src/sys/arch/sun68k/stand/libsa/Makefile:1.29 --- src/sys/arch/sun68k/stand/libsa/Makefile:1.28 Thu May 27 06:58:15 2010 +++ src/sys/arch/sun68k/stand/libsa/Makefile Mon Aug 12 16:34:05 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2010/05/27 06:58:15 dholland Exp $ +# $NetBSD: Makefile,v 1.29 2013/08/12 16:34:05 joerg Exp $ # Logically src/sys S!= cd ${.CURDIR}/../../../..; pwd @@ -15,7 +15,7 @@ INCL= -I. -I${.CURDIR} -I${S}/lib/libsa AFLAGS= -Wa,-mc68020 -Wa,-mc68851 CFLAGS= -mc68000 -Wa,-mc68010 -Wa,-m68851 -msoft-float CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -COPTS= -Os -fno-defer-pop -ffreestanding +COPTS= -Os -fno-defer-pop -ffreestanding -fno-unwind-tables CPPFLAGS= ${DEFS} ${DEBUG} ${INCL} CLEANFILES= SRT0.o SRT1.o vers.c Index: src/sys/arch/x68k/stand/Makefile.inc diff -u src/sys/arch/x68k/stand/Makefile.inc:1.1 src/sys/arch/x68k/stand/Makefile.inc:1.2 --- src/sys/arch/x68k/stand/Makefile.inc:1.1 Mon Jan 7 04:00:02 2002 +++ src/sys/arch/x68k/stand/Makefile.inc Mon Aug 12 16:34:05 2013 @@ -1,3 +1,3 @@ -# $NetBSD: Makefile.inc,v 1.1 2002/01/07 04:00:02 minoura Exp $ +# $NetBSD: Makefile.inc,v 1.2 2013/08/12 16:34:05 joerg Exp $ -DBG=-Os +DBG=-Os -fno-unwind-tables Index: src/sys/arch/x68k/stand/boot_ufs/Makefile diff -u src/sys/arch/x68k/stand/boot_ufs/Makefile:1.28 src/sys/arch/x68k/stand/boot_ufs/Makefile:1.29 --- src/sys/arch/x68k/stand/boot_ufs/Makefile:1.28 Sat Jun 15 01:39:56 2013 +++ src/sys/arch/x68k/stand/boot_ufs/Makefile Mon Aug 12 16:34:05 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2013/06/15 01:39:56 christos Exp $ +# $NetBSD: Makefile,v 1.29 2013/08/12 16:34:05 joerg Exp $ NOMAN= # defined @@ -37,7 +37,7 @@ vers.c: ${VERSIONFILE} ${HOST_SH} ${S}/conf/newvers_stand.sh \ ${.ALLSRC} ${MACHINE} ${NEWVERSWHAT} -CFLAGS= -Os -fomit-frame-pointer +CFLAGS= -Os -fomit-frame-pointer -fno-unwind-tables CFLAGS+= -m68020-60 CFLAGS+= -W -Wall -Wstrict-prototypes -Wmissing-prototypes CPPFLAGS+= -DTEXTADDR="0x$(TEXT)" -DBOOT_TEXTADDR="0x$(BOOT_TEXT)" Index: src/sys/arch/x68k/stand/loadbsd/Makefile diff -u src/sys/arch/x68k/stand/loadbsd/Makefile:1.14 src/sys/arch/x68k/stand/loadbsd/Makefile:1.15 --- src/sys/arch/x68k/stand/loadbsd/Makefile:1.14 Wed Feb 8 23:51:37 2012 +++ src/sys/arch/x68k/stand/loadbsd/Makefile Mon Aug 12 16:34:05 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2012/02/08 23:51:37 joerg Exp $ +# $NetBSD: Makefile,v 1.15 2013/08/12 16:34:05 joerg Exp $ S= ${.CURDIR}/../../../.. @@ -20,7 +20,7 @@ AOUT2HUX= ${AOUT2HUXDIR}/aout2hux LIBDOS!= cd ${.CURDIR}/../libdos && ${PRINTOBJDIR} LIBIOCS!= cd ${.CURDIR}/../libiocs && ${PRINTOBJDIR} -CPPFLAGS= -W -Wall -O -fomit-frame-pointer +CPPFLAGS= -W -Wall -O -fomit-frame-pointer -fno-unwind-tables CPPFLAGS+= -m68000 -Wa,-mc68000 CPPFLAGS+= -nostdinc CPPFLAGS+= -I$S -I. Index: src/sys/arch/x68k/stand/xxboot/Makefile.xxboot diff -u src/sys/arch/x68k/stand/xxboot/Makefile.xxboot:1.1 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot:1.2 --- src/sys/arch/x68k/stand/xxboot/Makefile.xxboot:1.1 Tue Mar 20 13:01:32 2012 +++ src/sys/arch/x68k/stand/xxboot/Makefile.xxboot Mon Aug 12 16:34:05 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.xxboot,v 1.1 2012/03/20 13:01:32 minoura Exp $ +# $NetBSD: Makefile.xxboot,v 1.2 2013/08/12 16:34:05 joerg Exp $ NOMAN= # defined @@ -32,7 +32,7 @@ vers.c: ${VERSIONFILE} ${_MKTARGET_CREATE} ${HOST_SH} ${S}/conf/newvers_stand.sh ${.ALLSRC} ${MACHINE} ${NEWVERSWHAT} -CFLAGS= -Os -fomit-frame-pointer +CFLAGS= -Os -fomit-frame-pointer -fno-unwind-tables #CFLAGS+= -Wall CPPFLAGS+= -D_STANDALONE CPPFLAGS+= -DTEXTADDR="0x$(TEXT)" -DBOOT_TEXTADDR="0x$(BOOT_TEXT)"