Module Name:    src
Committed By:   joerg
Date:           Thu Aug 15 12:39:28 UTC 2013

Modified Files:
        src/distrib/common: Makefile.mdset

Log Message:
Save space and strip .eh_frame sections for the ramdisks as well.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/distrib/common/Makefile.mdset

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/common/Makefile.mdset
diff -u src/distrib/common/Makefile.mdset:1.37 src/distrib/common/Makefile.mdset:1.38
--- src/distrib/common/Makefile.mdset:1.37	Wed Jan 30 13:47:36 2013
+++ src/distrib/common/Makefile.mdset	Thu Aug 15 12:39:28 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.mdset,v 1.37 2013/01/30 13:47:36 he Exp $
+#	$NetBSD: Makefile.mdset,v 1.38 2013/08/15 12:39:28 joerg Exp $
 #
 # Makefile snippet to ${TOOL_MDSETIMAGE} file system images into kernels
 #
@@ -153,7 +153,7 @@ ${_KERNEL.${_K}.${_F}}: .NOTMAIN ${_KERN
 	${NM} ${.TARGET}.tmp | gzip -9n > ${.TARGET}.symbols.gz
 .endif
 .if !defined(MDSET_NOSTRIP.${_FILENAME}) && !defined(MDSET_NOSTRIP)
-	${STRIP} -R .comment -R .ident ${.TARGET}.tmp
+	${STRIP} -R .eh_frame -R .eh_frame_hdr -R .comment -R .ident ${.TARGET}.tmp
 .endif
 	@mv ${.TARGET}.tmp ${.TARGET}
 .if defined(MDSET_POST.${_FILENAME}) || defined(MDSET_POST)

Reply via email to