From 61b81543f61c8a5d670e2879c79fe7c8b62f0613 Mon Sep 17 00:00:00 2001 From: he Date: Sat, 7 Jun 2008 19:22:43 +0000 Subject: [PATCH] Mirror the change from shark: something, somewhere is emitting new ELF sections which we need to filter out when objcopying to the a.out kernel. The new sections are .debug_frame, .debug_loc, .debug_pubnames, and .debug_aranges. --- sys/arch/cats/conf/Makefile.cats.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/arch/cats/conf/Makefile.cats.inc b/sys/arch/cats/conf/Makefile.cats.inc index a83e7f0cbe1b..a7949ab2440a 100644 --- a/sys/arch/cats/conf/Makefile.cats.inc +++ b/sys/arch/cats/conf/Makefile.cats.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.cats.inc,v 1.20 2008/01/19 18:10:13 he Exp $ +# $NetBSD: Makefile.cats.inc,v 1.21 2008/06/07 19:22:43 he Exp $ MACHINE_ARCH= arm CPPFLAGS+= -D${MACHINE} @@ -26,10 +26,14 @@ SYSTEM_LD_TAIL_EXTRA+=; \ "${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 \ $@ $@.aout"; \ ${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 \ $@ $@.aout .endif .endif