diff --git a/sys/arch/cats/conf/Makefile.cats.inc b/sys/arch/cats/conf/Makefile.cats.inc index e217cf142bc8..be395b56da57 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.18 2007/03/04 02:35:49 tsutsui Exp $ +# $NetBSD: Makefile.cats.inc,v 1.19 2007/11/17 09:07:42 skrll Exp $ MACHINE_ARCH= arm CPPFLAGS+= -D${MACHINE} @@ -23,7 +23,7 @@ SYSTEM_LD_HEAD_EXTRA+=; \ SYSTEM_LD_TAIL_EXTRA+=; \ echo \ - "${OBJCOPY} -O a.out-arm-netbsd -R .ident -R .arm.atpcs -R .comment $@ $@.aout"; \ - ${OBJCOPY} -O a.out-arm-netbsd -R .ident -R .arm.atpcs -R .comment $@ $@.aout + "${OBJCOPY} -O a.out-arm-netbsd -R .ident -R .arm.atpcs -R .comment -R .note.netbsd.ident $@ $@.aout"; \ + ${OBJCOPY} -O a.out-arm-netbsd -R .ident -R .arm.atpcs -R .comment -R .note.netbsd.ident $@ $@.aout .endif .endif diff --git a/sys/arch/shark/conf/Makefile.shark.inc b/sys/arch/shark/conf/Makefile.shark.inc index ea2ed424f46a..4a0a111bc6b5 100644 --- a/sys/arch/shark/conf/Makefile.shark.inc +++ b/sys/arch/shark/conf/Makefile.shark.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.shark.inc,v 1.8 2007/03/12 15:09:35 jmmv Exp $ +# $NetBSD: Makefile.shark.inc,v 1.9 2007/11/17 09:07:42 skrll Exp $ MACHINE_ARCH= arm CPPFLAGS+= -D${MACHINE} @@ -18,8 +18,8 @@ SYSTEM_LD_HEAD_EXTRA+=; \ SYSTEM_LD_TAIL_EXTRA+=; \ echo \ - "${OBJCOPY} -O a.out-arm-netbsd -R .ident -R .arm.atpcs -R .comment $@ $@.aout"; \ - ${OBJCOPY} -O a.out-arm-netbsd -R .ident -R .arm.atpcs -R .comment $@ $@.aout + "${OBJCOPY} -O a.out-arm-netbsd -R .ident -R .arm.atpcs -R .comment -R .note.netbsd.ident $@ $@.aout"; \ + ${OBJCOPY} -O a.out-arm-netbsd -R .ident -R .arm.atpcs -R .comment -R .note.netbsd.ident $@ $@.aout KERNIMAGES= netbsd netbsd.aout