Module Name: src
Committed By: skrll
Date: Thu Aug 20 14:43:07 UTC 2009
Modified Files:
src/distrib/cats/instkernel: Makefile
src/sys/arch/cats/conf: Makefile.cats.inc
Log Message:
Remove .ARM.attributes when converting from ELF to a.out.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/distrib/cats/instkernel/Makefile
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/cats/conf/Makefile.cats.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/cats/instkernel/Makefile
diff -u src/distrib/cats/instkernel/Makefile:1.17 src/distrib/cats/instkernel/Makefile:1.18
--- src/distrib/cats/instkernel/Makefile:1.17 Mon Jun 9 20:05:12 2008
+++ src/distrib/cats/instkernel/Makefile Thu Aug 20 14:43:06 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2008/06/09 20:05:12 he Exp $
+# $NetBSD: Makefile,v 1.18 2009/08/20 14:43:06 skrll Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -17,6 +17,7 @@
-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 .ident -R .arm.atpcs -R .comment -R .note.netbsd.ident \
+ -R .ARM.attributes \
${.TARGET} ${.TARGET}
.include "${DISTRIBDIR}/common/Makefile.mdset"
Index: src/sys/arch/cats/conf/Makefile.cats.inc
diff -u src/sys/arch/cats/conf/Makefile.cats.inc:1.21 src/sys/arch/cats/conf/Makefile.cats.inc:1.22
--- src/sys/arch/cats/conf/Makefile.cats.inc:1.21 Sat Jun 7 19:22:43 2008
+++ src/sys/arch/cats/conf/Makefile.cats.inc Thu Aug 20 14:43:07 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.cats.inc,v 1.21 2008/06/07 19:22:43 he Exp $
+# $NetBSD: Makefile.cats.inc,v 1.22 2009/08/20 14:43:07 skrll Exp $
MACHINE_ARCH= arm
CPPFLAGS+= -D${MACHINE}
@@ -27,13 +27,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]
.endif
.endif