Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arc/conf Remove .pdr section which is created by bi...



details:   https://anonhg.NetBSD.org/src/rev/11388be9bcf3
branches:  trunk
changeset: 544001:11388be9bcf3
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Mar 08 02:58:55 2003 +0000

description:
Remove .pdr section which is created by binutils-2.13.2.1
on objcopy call to make ECOFF kernels.

diffstat:

 sys/arch/arc/conf/Makefile.arc.inc |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r fc6580cc2dcc -r 11388be9bcf3 sys/arch/arc/conf/Makefile.arc.inc
--- a/sys/arch/arc/conf/Makefile.arc.inc        Sat Mar 08 02:55:47 2003 +0000
+++ b/sys/arch/arc/conf/Makefile.arc.inc        Sat Mar 08 02:58:55 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.arc.inc,v 1.8 2002/12/07 21:35:58 tsutsui Exp $
+#      $NetBSD: Makefile.arc.inc,v 1.9 2003/03/08 02:58:55 tsutsui Exp $
 
 CFLAGS+=       -mips2 -mcpu=r4000
 AFLAGS+=       -mips2
@@ -7,7 +7,8 @@
 SYSTEM_LD_TAIL_EXTRA=; \
        echo "${DBSYM} $@ || true"; \
        ${DBSYM} $@ || true; \
-       echo ${OBJCOPY} -O ecoff-littlemips -R .mdebug -R .ident $@ $@.ecoff; \
-       ${OBJCOPY} -O ecoff-littlemips -R .mdebug -R .ident $@ $@.ecoff
+       echo ${OBJCOPY} -O ecoff-littlemips -R .mdebug -R .ident -R .pdr \
+       $@ $@.ecoff; \
+       ${OBJCOPY} -O ecoff-littlemips -R .mdebug -R .ident -R .pdr $@ $@.ecoff
 
 EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.ecoff@}



Home | Main Index | Thread Index | Old Index