Module Name: src
Committed By: mrg
Date: Sat Jul 2 14:17:40 UTC 2011
Modified Files:
src/sys/arch/shark/conf: Makefile.shark.inc
Log Message:
also need to strip out GCC 4.5's new .debug_pubtypes section.
while here, minor cleanup.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 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/sys/arch/shark/conf/Makefile.shark.inc
diff -u src/sys/arch/shark/conf/Makefile.shark.inc:1.13 src/sys/arch/shark/conf/Makefile.shark.inc:1.14
--- src/sys/arch/shark/conf/Makefile.shark.inc:1.13 Tue Jul 6 06:00:00 2010
+++ src/sys/arch/shark/conf/Makefile.shark.inc Sat Jul 2 14:17:40 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.shark.inc,v 1.13 2010/07/06 06:00:00 mrg Exp $
+# $NetBSD: Makefile.shark.inc,v 1.14 2011/07/02 14:17:40 mrg Exp $
MACHINE_ARCH= arm
CPPFLAGS+= -D${MACHINE}
@@ -15,19 +15,19 @@
${SYSTEM_OBJ} ; \
cat ${ARM}/conf/kern.ldscript.tail ) > ldscript
+REMOVE_SECTIONS= \
+ -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_pubtypes -R .ARM.attributes \
+
SYSTEM_LD_TAIL_EXTRA+=; \
echo \
"${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 .ARM.attributes \
+ ${REMOVE_SECTIONS} \
$@ [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 .ARM.attributes \
+ ${REMOVE_SECTIONS} \
$@ [email protected]
KERNIMAGES= netbsd netbsd.aout