Module Name: src
Committed By: skrll
Date: Wed Sep 2 07:48:50 UTC 2009
Modified Files:
src/distrib/shark/instkernel/instkernel: Makefile
src/sys/arch/shark/conf: Makefile.shark.inc
Log Message:
More sections to remove when doing ELF->a.out conversion.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/distrib/shark/instkernel/instkernel/Makefile
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/shark/conf/Makefile.shark.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/shark/instkernel/instkernel/Makefile
diff -u src/distrib/shark/instkernel/instkernel/Makefile:1.17 src/distrib/shark/instkernel/instkernel/Makefile:1.18
--- src/distrib/shark/instkernel/instkernel/Makefile:1.17 Fri Apr 3 22:36:35 2009
+++ src/distrib/shark/instkernel/instkernel/Makefile Wed Sep 2 07:48:50 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2009/04/03 22:36:35 perry Exp $
+# $NetBSD: Makefile,v 1.18 2009/09/02 07:48:50 skrll Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -11,6 +11,7 @@
MDSET_POST= \
${OBJCOPY} -O a.out-arm-netbsd -R .ident -R .arm.atpcs -R .comment \
+ -R .note.netbsd.ident -R .ARM.attributes \
${.TARGET} ${.TARGET}.aout; \
gzip -9nc ${.TARGET}.aout >${.TARGET}.aout.gz
Index: src/sys/arch/shark/conf/Makefile.shark.inc
diff -u src/sys/arch/shark/conf/Makefile.shark.inc:1.11 src/sys/arch/shark/conf/Makefile.shark.inc:1.12
--- src/sys/arch/shark/conf/Makefile.shark.inc:1.11 Sat Jun 7 18:47:41 2008
+++ src/sys/arch/shark/conf/Makefile.shark.inc Wed Sep 2 07:48:50 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.shark.inc,v 1.11 2008/06/07 18:47:41 he Exp $
+# $NetBSD: Makefile.shark.inc,v 1.12 2009/09/02 07:48:50 skrll Exp $
MACHINE_ARCH= arm
CPPFLAGS+= -D${MACHINE}
@@ -22,13 +22,13 @@
-R .ident -R .arm.atpcs -R .comment -R .note.netbsd.ident \
-R .debug_abbrev -R .debug_info -R .debug_line -R .debug_str \
-R .debug_frame -R .debug_loc -R .debug_pubnames \
- -R .debug_aranges \
+ -R .debug_aranges -R .ARM.attributes \
$@ [email protected]"; \
${OBJCOPY} -O a.out-arm-netbsd \
-R .ident -R .arm.atpcs -R .comment -R .note.netbsd.ident \
-R .debug_abbrev -R .debug_info -R .debug_line -R .debug_str \
-R .debug_frame -R .debug_loc -R .debug_pubnames \
- -R .debug_aranges \
+ -R .debug_aranges -R .ARM.attributes \
$@ [email protected]
KERNIMAGES= netbsd netbsd.aout