Source-Changes-HG archive

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

[src/trunk]: src More sections to remove when doing ELF->a.out conversion.



details:   https://anonhg.NetBSD.org/src/rev/f5b18e91a12b
branches:  trunk
changeset: 747093:f5b18e91a12b
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Sep 02 07:48:50 2009 +0000

description:
More sections to remove when doing ELF->a.out conversion.

diffstat:

 distrib/shark/instkernel/instkernel/Makefile |  3 ++-
 sys/arch/shark/conf/Makefile.shark.inc       |  6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r c99fa3e11e6c -r f5b18e91a12b distrib/shark/instkernel/instkernel/Makefile
--- a/distrib/shark/instkernel/instkernel/Makefile      Wed Sep 02 01:36:41 2009 +0000
+++ b/distrib/shark/instkernel/instkernel/Makefile      Wed Sep 02 07:48:50 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.17 2009/04/03 22:36:35 perry Exp $
+#      $NetBSD: Makefile,v 1.18 2009/09/02 07:48:50 skrll Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -11,6 +11,7 @@
 
 MDSET_POST= \
        ${OBJCOPY} -O a.out-arm-netbsd -R .ident -R .arm.atpcs -R .comment \
+           -R .note.netbsd.ident -R .ARM.attributes \
            ${.TARGET} ${.TARGET}.aout; \
        gzip -9nc ${.TARGET}.aout >${.TARGET}.aout.gz
 
diff -r c99fa3e11e6c -r f5b18e91a12b sys/arch/shark/conf/Makefile.shark.inc
--- a/sys/arch/shark/conf/Makefile.shark.inc    Wed Sep 02 01:36:41 2009 +0000
+++ b/sys/arch/shark/conf/Makefile.shark.inc    Wed Sep 02 07:48:50 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.shark.inc,v 1.11 2008/06/07 18:47:41 he Exp $
+#      $NetBSD: Makefile.shark.inc,v 1.12 2009/09/02 07:48:50 skrll Exp $
 
 MACHINE_ARCH=          arm
 CPPFLAGS+=             -D${MACHINE}
@@ -22,13 +22,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 \
                $@ $@.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 \
+               -R .debug_aranges -R .ARM.attributes \
                $@ $@.aout
 
 KERNIMAGES=    netbsd netbsd.aout



Home | Main Index | Thread Index | Old Index