diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-11-19 06:41:15 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-11-19 06:41:15 +0000 |
commit | 817e2ba2e2532c1c4074dfeeea00df0355f0fb22 (patch) | |
tree | e78d41226b47f885f09ddb9bcd34564dde1e46f2 /sys | |
parent | 1d7d933cba1c29c091c2ba6c76dbeb55688e0007 (diff) |
More aggressive strip flags for non debug kernels; this is a noop on some
architectures, but saves a few dozen KB on alpha and ppc.
ok deraadt@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/alpha/conf/Makefile.alpha | 4 | ||||
-rw-r--r-- | sys/arch/amd64/conf/Makefile.amd64 | 4 | ||||
-rw-r--r-- | sys/arch/cats/conf/Makefile.cats | 6 | ||||
-rw-r--r-- | sys/arch/hppa/conf/Makefile.hppa | 4 | ||||
-rw-r--r-- | sys/arch/i386/conf/Makefile.i386 | 4 | ||||
-rw-r--r-- | sys/arch/macppc/conf/Makefile.macppc | 4 | ||||
-rw-r--r-- | sys/arch/mvmeppc/conf/Makefile.mvmeppc | 4 | ||||
-rw-r--r-- | sys/arch/sparc/conf/Makefile.sparc | 4 | ||||
-rw-r--r-- | sys/arch/sparc64/conf/Makefile.sparc64 | 2 |
9 files changed, 18 insertions, 18 deletions
diff --git a/sys/arch/alpha/conf/Makefile.alpha b/sys/arch/alpha/conf/Makefile.alpha index 78a59dff6ec..c722681ae55 100644 --- a/sys/arch/alpha/conf/Makefile.alpha +++ b/sys/arch/alpha/conf/Makefile.alpha @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.alpha,v 1.33 2004/10/06 14:52:17 miod Exp $ +# $OpenBSD: Makefile.alpha,v 1.34 2004/11/19 06:41:12 miod Exp $ # $NetBSD: Makefile.alpha,v 1.27 1996/12/01 06:12:25 jonathan Exp $ # Makefile for OpenBSD @@ -99,7 +99,7 @@ SYSTEM_LD_TAIL+=; \ echo cp $@ $@.gdb; rm -f $@.gdb; cp $@ $@.gdb; \ echo ${STRIP} ${STRIPFLAGS} $@; ${STRIP} ${STRIPFLAGS} $@ .else -LINKFLAGS+= -S +LINKFLAGS+= -S -x .endif %LOAD diff --git a/sys/arch/amd64/conf/Makefile.amd64 b/sys/arch/amd64/conf/Makefile.amd64 index 6847ef60781..eb831850458 100644 --- a/sys/arch/amd64/conf/Makefile.amd64 +++ b/sys/arch/amd64/conf/Makefile.amd64 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.amd64,v 1.5 2004/05/23 04:03:14 drahn Exp $ +# $OpenBSD: Makefile.amd64,v 1.6 2004/11/19 06:41:13 miod Exp $ # Makefile for OpenBSD # @@ -113,7 +113,7 @@ SYSTEM_LD_TAIL+=; \ echo cp $@ $@.gdb; rm -f $@.gdb; cp $@ $@.gdb; \ echo ${STRIP} ${STRIPFLAGS} $@; ${STRIP} ${STRIPFLAGS} $@ .else -LINKFLAGS+= -x +LINKFLAGS+= -S -x .endif %LOAD diff --git a/sys/arch/cats/conf/Makefile.cats b/sys/arch/cats/conf/Makefile.cats index eb13fdd0221..3ac82270d03 100644 --- a/sys/arch/cats/conf/Makefile.cats +++ b/sys/arch/cats/conf/Makefile.cats @@ -1,5 +1,5 @@ -# $OpenBSD: Makefile.cats,v 1.2 2004/02/03 23:07:30 miod Exp $ -# $OpenBSD: Makefile.cats,v 1.2 2004/02/03 23:07:30 miod Exp $ +# $OpenBSD: Makefile.cats,v 1.3 2004/11/19 06:41:13 miod Exp $ +# $OpenBSD: Makefile.cats,v 1.3 2004/11/19 06:41:13 miod Exp $ # $NetBSD: Makefile.i386,v 1.67 1996/05/11 16:12:11 mycroft Exp $ # Makefile for OpenBSD @@ -119,7 +119,7 @@ SYSTEM_LD_TAIL+=; \ echo cp $@ $@.gdb; rm -f $@.gdb; cp $@ $@.gdb; \ echo ${STRIP} ${STRIPFLAGS} $@; ${STRIP} ${STRIPFLAGS} $@ .else -LINKFLAGS+= -x +LINKFLAGS+= -S -x .endif %LOAD diff --git a/sys/arch/hppa/conf/Makefile.hppa b/sys/arch/hppa/conf/Makefile.hppa index 97fdfc567a8..e3310330335 100644 --- a/sys/arch/hppa/conf/Makefile.hppa +++ b/sys/arch/hppa/conf/Makefile.hppa @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.hppa,v 1.23 2003/11/20 08:38:52 espie Exp $ +# $OpenBSD: Makefile.hppa,v 1.24 2004/11/19 06:41:13 miod Exp $ # Makefile for OpenBSD # @@ -126,7 +126,7 @@ SYSTEM_LD_TAIL+=; \ echo cp $@ $@.gdb; rm -f $@.gdb; cp $@ $@.gdb; \ echo ${STRIP} ${STRIPFLAGS} $@; ${STRIP} ${STRIPFLAGS} $@ .else -LINKFLAGS+= -S +LINKFLAGS+= -S -x .endif %LOAD diff --git a/sys/arch/i386/conf/Makefile.i386 b/sys/arch/i386/conf/Makefile.i386 index 0d140d47f53..18b578bc8fa 100644 --- a/sys/arch/i386/conf/Makefile.i386 +++ b/sys/arch/i386/conf/Makefile.i386 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.i386,v 1.40 2004/05/11 04:01:00 deraadt Exp $ +# $OpenBSD: Makefile.i386,v 1.41 2004/11/19 06:41:13 miod Exp $ # Makefile for OpenBSD # @@ -116,7 +116,7 @@ SYSTEM_LD_TAIL+=; \ echo cp $@ $@.gdb; rm -f $@.gdb; cp $@ $@.gdb; \ echo ${STRIP} ${STRIPFLAGS} $@; ${STRIP} ${STRIPFLAGS} $@ .else -LINKFLAGS+= -x +LINKFLAGS+= -S -x .endif %LOAD diff --git a/sys/arch/macppc/conf/Makefile.macppc b/sys/arch/macppc/conf/Makefile.macppc index 03d097f6cd3..72b67987369 100644 --- a/sys/arch/macppc/conf/Makefile.macppc +++ b/sys/arch/macppc/conf/Makefile.macppc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.macppc,v 1.18 2004/01/20 03:32:44 brad Exp $ +# $OpenBSD: Makefile.macppc,v 1.19 2004/11/19 06:41:14 miod Exp $ # # Makefile for OpenBSD PowerPC # @@ -113,7 +113,7 @@ SYSTEM_LD_TAIL+=; \ echo cp $@ $@.gdb; rm -f $@.gdb; cp $@ $@.gdb; \ echo ${STRIP} ${STRIPFLAGS} $@; ${STRIP} ${STRIPFLAGS} $@ .else -LINKFLAGS+= -S +LINKFLAGS+= -S -x .endif %LOAD diff --git a/sys/arch/mvmeppc/conf/Makefile.mvmeppc b/sys/arch/mvmeppc/conf/Makefile.mvmeppc index 9eb30c72ef2..f2d7d58bbee 100644 --- a/sys/arch/mvmeppc/conf/Makefile.mvmeppc +++ b/sys/arch/mvmeppc/conf/Makefile.mvmeppc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.mvmeppc,v 1.18 2004/01/26 06:54:09 miod Exp $ +# $OpenBSD: Makefile.mvmeppc,v 1.19 2004/11/19 06:41:14 miod Exp $ # # Makefile for OpenBSD PowerPC # @@ -113,7 +113,7 @@ SYSTEM_LD_TAIL+=; \ echo cp $@ $@.gdb; rm -f $@.gdb; cp $@ $@.gdb; \ echo ${STRIP} ${STRIPFLAGS} $@; ${STRIP} ${STRIPFLAGS} $@ .else -LINKFLAGS+= -S +LINKFLAGS+= -S -x .endif %LOAD diff --git a/sys/arch/sparc/conf/Makefile.sparc b/sys/arch/sparc/conf/Makefile.sparc index e967fe0d2a8..f73a9271dde 100644 --- a/sys/arch/sparc/conf/Makefile.sparc +++ b/sys/arch/sparc/conf/Makefile.sparc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.sparc,v 1.33 2003/11/20 08:38:52 espie Exp $ +# $OpenBSD: Makefile.sparc,v 1.34 2004/11/19 06:41:14 miod Exp $ # $NetBSD: Makefile.sparc,v 1.32.4.1 1996/06/12 20:26:32 pk Exp $ # Makefile for OpenBSD @@ -119,7 +119,7 @@ SYSTEM_LD_TAIL+=; \ echo cp $@ $@.gdb; rm -f $@.gdb; cp $@ $@.gdb; \ echo ${STRIP} ${STRIPFLAGS} $@; ${STRIP} ${STRIPFLAGS} $@ .else -LINKFLAGS+= -x +LINKFLAGS+= -S -x .endif %LOAD diff --git a/sys/arch/sparc64/conf/Makefile.sparc64 b/sys/arch/sparc64/conf/Makefile.sparc64 index cbd167f3a9d..05872c1c104 100644 --- a/sys/arch/sparc64/conf/Makefile.sparc64 +++ b/sys/arch/sparc64/conf/Makefile.sparc64 @@ -90,7 +90,7 @@ SYSTEM_LD_TAIL+=; \ echo cp $@ $@.gdb; rm -f $@.gdb; cp $@ $@.gdb; \ echo ${STRIP} ${STRIPFLAGS} $@; ${STRIP} ${STRIPFLAGS} $@ .else -LINKFLAGS+= -x +LINKFLAGS+= -S -x .endif %LOAD |