Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Use elf/external.h from new binutils.



details:   https://anonhg.NetBSD.org/src/rev/8e06338b65c1
branches:  trunk
changeset: 748858:8e06338b65c1
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Nov 07 17:56:14 2009 +0000

description:
Use elf/external.h from new binutils.

XXX do we need a src/tools/compat/elf.h?

diffstat:

 sys/arch/hp700/stand/mkboot/Makefile        |  5 +++--
 sys/arch/powerpc/stand/mkbootimage/Makefile |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (45 lines):

diff -r 7f011e6ca60e -r 8e06338b65c1 sys/arch/hp700/stand/mkboot/Makefile
--- a/sys/arch/hp700/stand/mkboot/Makefile      Sat Nov 07 12:08:35 2009 +0000
+++ b/sys/arch/hp700/stand/mkboot/Makefile      Sat Nov 07 17:56:14 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2005/12/11 12:17:25 christos Exp $
+#      $NetBSD: Makefile,v 1.5 2009/11/07 17:56:14 skrll Exp $
 
 NOMAN=         # defined
 
@@ -7,8 +7,9 @@
 
 # We don't use libbfd, but we do use the BFD ELF header files because
 # they are somewhat more portable than NetBSD's own elf.h.
-BFDTOP=        ${NETBSDSRCDIR}/gnu/dist/binutils
+BFDTOP=        ${NETBSDSRCDIR}/external/gpl3/binutils/dist
 
 CPPFLAGS=      -I${BFDTOP}/include
+CPPFLAGS+=     -DATTRIBUTE_PACKED=
 
 .include <bsd.prog.mk>
diff -r 7f011e6ca60e -r 8e06338b65c1 sys/arch/powerpc/stand/mkbootimage/Makefile
--- a/sys/arch/powerpc/stand/mkbootimage/Makefile       Sat Nov 07 12:08:35 2009 +0000
+++ b/sys/arch/powerpc/stand/mkbootimage/Makefile       Sat Nov 07 17:56:14 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2008/04/30 21:15:33 garbled Exp $
+#      $NetBSD: Makefile,v 1.3 2009/11/07 17:56:14 skrll Exp $
 
 BINDIR=        /usr/mdec
 PROG=  mkbootimage
@@ -7,13 +7,14 @@
 
 # We don't use libbfd, but we do use the BFD ELF header files because
 # they are somewhat more portable than NetBSD's own elf.h.
-BFDTOP=        ${NETBSDSRCDIR}/gnu/dist/binutils
+BFDTOP=        ${NETBSDSRCDIR}/external/gpl3/binutils/dist
 
 LIBSA=${.CURDIR}/../../../../lib/libsa
 
 .PATH.c: ${LIBSA}
 
 CPPFLAGS= -I${LIBSA} -I${.CURDIR} -I${BFDTOP}/include
+CPPFLAGS+=     -DATTRIBUTE_PACKED=
 DPADD= ${LIBZ}
 LDADD= -lz
 



Home | Main Index | Thread Index | Old Index