Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/binutils.old Sync with binutils.
details: https://anonhg.NetBSD.org/src/rev/161dfa30043a
branches: trunk
changeset: 343260:161dfa30043a
user: christos <christos%NetBSD.org@localhost>
date: Tue Jan 26 19:38:09 2016 +0000
description:
Sync with binutils.
diffstat:
external/gpl3/binutils.old/Makefile.inc | 4 +++
external/gpl3/binutils.old/lib/Makefile.inc | 2 +
external/gpl3/binutils.old/lib/libbfd/Makefile | 6 +---
external/gpl3/binutils.old/lib/libiberty/Makefile | 6 +---
external/gpl3/binutils.old/lib/libopcodes/Makefile | 6 +---
external/gpl3/binutils.old/usr.bin/Makefile.inc | 19 +-------------
external/gpl3/binutils.old/usr.bin/addr2line/Makefile | 4 +--
external/gpl3/binutils.old/usr.bin/ar/Makefile | 4 +--
external/gpl3/binutils.old/usr.bin/c++filt/Makefile | 4 +--
external/gpl3/binutils.old/usr.bin/coffdump/Makefile | 4 +--
external/gpl3/binutils.old/usr.bin/common/Makefile | 6 +----
external/gpl3/binutils.old/usr.bin/common/Makefile.inc | 13 ++++++++-
external/gpl3/binutils.old/usr.bin/common/Makefile.prog | 10 +++----
external/gpl3/binutils.old/usr.bin/elfedit/Makefile | 4 +--
external/gpl3/binutils.old/usr.bin/gas/Makefile | 12 +++------
external/gpl3/binutils.old/usr.bin/gprof/Makefile | 7 +----
external/gpl3/binutils.old/usr.bin/ld/Makefile | 21 +++++++---------
external/gpl3/binutils.old/usr.bin/nlmconv/Makefile | 4 +--
external/gpl3/binutils.old/usr.bin/nm/Makefile | 4 +--
external/gpl3/binutils.old/usr.bin/objcopy/Makefile | 4 +--
external/gpl3/binutils.old/usr.bin/objdump/Makefile | 4 +--
external/gpl3/binutils.old/usr.bin/ranlib/Makefile | 4 +--
external/gpl3/binutils.old/usr.bin/readelf/Makefile | 4 +--
external/gpl3/binutils.old/usr.bin/size/Makefile | 4 +--
external/gpl3/binutils.old/usr.bin/strings/Makefile | 4 +--
external/gpl3/binutils.old/usr.bin/strip/Makefile | 4 +--
external/gpl3/binutils.old/usr.sbin/Makefile.inc | 3 +-
external/gpl3/binutils.old/usr.sbin/dbsym/Makefile | 4 +--
external/gpl3/binutils.old/usr.sbin/mdsetimage/Makefile | 4 +--
29 files changed, 63 insertions(+), 116 deletions(-)
diffs (truncated from 497 to 300 lines):
diff -r bf318da67c32 -r 161dfa30043a external/gpl3/binutils.old/Makefile.inc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/binutils.old/Makefile.inc Tue Jan 26 19:38:09 2016 +0000
@@ -0,0 +1,4 @@
+# $NetBSD: Makefile.inc,v 1.1 2016/01/26 19:38:09 christos Exp $
+.include <bsd.own.mk>
+TOP= ${NETBSDSRCDIR}/external/gpl3/${EXTERNAL_BINUTILS_SUBDIR}
+DIST= ${TOP}/dist
diff -r bf318da67c32 -r 161dfa30043a external/gpl3/binutils.old/lib/Makefile.inc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/binutils.old/lib/Makefile.inc Tue Jan 26 19:38:09 2016 +0000
@@ -0,0 +1,2 @@
+# $NetBSD: Makefile.inc,v 1.1 2016/01/26 19:38:09 christos Exp $
+.include "${.PARSEDIR}/../Makefile.inc"
diff -r bf318da67c32 -r 161dfa30043a external/gpl3/binutils.old/lib/libbfd/Makefile
--- a/external/gpl3/binutils.old/lib/libbfd/Makefile Tue Jan 26 19:37:46 2016 +0000
+++ b/external/gpl3/binutils.old/lib/libbfd/Makefile Tue Jan 26 19:38:09 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2016/01/26 17:26:57 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/01/26 19:38:09 christos Exp $
NOLINKLIB= # defined
NOLINT= # defined
@@ -6,7 +6,7 @@
NOPROFILE= # defined
NOCLANGERROR= # defined
-.include <bsd.own.mk>
+.include <bsd.init.mk>
# If the platform does not support shared libraries, we need to supply
# *something* for BFD-using programs to link against. Also provide an
@@ -25,8 +25,6 @@
.if exists(${DEFS_MK})
.include "${DEFS_MK}"
-DIST= ${NETBSDSRCDIR}/external/gpl3/binutils/dist
-
SHLIB_MAJOR= 13
SHLIB_MINOR= 0
diff -r bf318da67c32 -r 161dfa30043a external/gpl3/binutils.old/lib/libiberty/Makefile
--- a/external/gpl3/binutils.old/lib/libiberty/Makefile Tue Jan 26 19:37:46 2016 +0000
+++ b/external/gpl3/binutils.old/lib/libiberty/Makefile Tue Jan 26 19:38:09 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2016/01/26 17:27:00 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/01/26 19:38:10 christos Exp $
NOLINT= # defined
NOPROFILE= # defined
@@ -6,7 +6,7 @@
NOLINKLIB= # defined
NOCLANGERROR= # defined
-.include <bsd.own.mk>
+.include <bsd.init.mk>
LIB= iberty
@@ -19,8 +19,6 @@
COPTS.make-relative-prefix.c = -Wno-stack-protector
COPTS.regex.c = -Wno-stack-protector
-DIST= ${NETBSDSRCDIR}/external/gpl3/binutils/dist
-
SRCS= ${G_REQUIRED_OFILES:.o=.c} ${G_EXTRA_OFILES:.o=.c} \
${G_LIBOBJS:.o=.c} ${G_ALLOCA:.o=.c}
diff -r bf318da67c32 -r 161dfa30043a external/gpl3/binutils.old/lib/libopcodes/Makefile
--- a/external/gpl3/binutils.old/lib/libopcodes/Makefile Tue Jan 26 19:37:46 2016 +0000
+++ b/external/gpl3/binutils.old/lib/libopcodes/Makefile Tue Jan 26 19:38:09 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2016/01/26 17:27:00 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/01/26 19:38:10 christos Exp $
NOLINKLIB= # defined
NOLINT= # defined
@@ -6,7 +6,7 @@
NOPROFILE= # defined
NOCLANGERROR= # defined
-.include <bsd.own.mk>
+.include <bsd.init.mk>
LIB= opcodes
@@ -15,8 +15,6 @@
.if exists(${.CURDIR}/arch/${BFD_MACHINE_ARCH}/defs.mk)
.include "${.CURDIR}/arch/${BFD_MACHINE_ARCH}/defs.mk"
-DIST= ${NETBSDSRCDIR}/external/gpl3/binutils/dist
-
SHLIB_MAJOR= 6
SHLIB_MINOR= 0
diff -r bf318da67c32 -r 161dfa30043a external/gpl3/binutils.old/usr.bin/Makefile.inc
--- a/external/gpl3/binutils.old/usr.bin/Makefile.inc Tue Jan 26 19:37:46 2016 +0000
+++ b/external/gpl3/binutils.old/usr.bin/Makefile.inc Tue Jan 26 19:38:09 2016 +0000
@@ -1,20 +1,5 @@
-# $NetBSD: Makefile.inc,v 1.1.1.1 2016/01/26 17:27:00 christos Exp $
+# $NetBSD: Makefile.inc,v 1.2 2016/01/26 19:38:10 christos Exp $
BINDIR?= /usr/bin
-
-.if !defined(__MAKEFILE_INC_INCLUDED__)
-__MAKEFILE_INC_INCLUDED__=1
-
-.include <bsd.own.mk>
-
-BINUTILS_MACHINE_ARCH= ${MACHINE_ARCH:C/armv[4-7]/arm/}
-
-GNUHOSTDIST= ${DIST}
-GNUCPPFLAGS= ${G_DEFS} ${G_INCLUDES}
-CPPFLAGS+= ${GNUCPPFLAGS:M-D*:N-DLOCALEDIR*} ${GNUCPPFLAGS:M-I*:N-I.*} \
- -I${TOP}/${BFDSUBDIR}/libbfd/arch/${BINUTILS_MACHINE_ARCH} \
- -I${DIST}/include -I${DIST}/bfd -I${DIST}/binutils \
- -DLOCALEDIR=\"${LOCALEDIR}\"
NOGCCERROR= # defined
-
-.endif # __MAKEFILE_INC_INCLUDED__
+.include "${.PARSEDIR}/../Makefile.inc"
diff -r bf318da67c32 -r 161dfa30043a external/gpl3/binutils.old/usr.bin/addr2line/Makefile
--- a/external/gpl3/binutils.old/usr.bin/addr2line/Makefile Tue Jan 26 19:37:46 2016 +0000
+++ b/external/gpl3/binutils.old/usr.bin/addr2line/Makefile Tue Jan 26 19:38:09 2016 +0000
@@ -1,7 +1,5 @@
-# $NetBSD: Makefile,v 1.1.1.1 2016/01/26 17:27:00 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/01/26 19:38:10 christos Exp $
PROG= addr2line
-.include <bsd.own.mk>
-
.include "${.CURDIR}/../common/Makefile.prog"
diff -r bf318da67c32 -r 161dfa30043a external/gpl3/binutils.old/usr.bin/ar/Makefile
--- a/external/gpl3/binutils.old/usr.bin/ar/Makefile Tue Jan 26 19:37:46 2016 +0000
+++ b/external/gpl3/binutils.old/usr.bin/ar/Makefile Tue Jan 26 19:38:09 2016 +0000
@@ -1,10 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2016/01/26 17:27:00 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/01/26 19:38:10 christos Exp $
PROG= ar
COPTS.arparse.c = -Wno-stack-protector
CPPFLAGS+=-Dbin_dummy_emulation=bin_vanilla_emulation
-.include <bsd.own.mk>
-
.include "${.CURDIR}/../common/Makefile.prog"
diff -r bf318da67c32 -r 161dfa30043a external/gpl3/binutils.old/usr.bin/c++filt/Makefile
--- a/external/gpl3/binutils.old/usr.bin/c++filt/Makefile Tue Jan 26 19:37:46 2016 +0000
+++ b/external/gpl3/binutils.old/usr.bin/c++filt/Makefile Tue Jan 26 19:38:09 2016 +0000
@@ -1,11 +1,9 @@
-# $NetBSD: Makefile,v 1.1.1.1 2016/01/26 17:27:00 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/01/26 19:38:10 christos Exp $
PROG= c++filt
CPPFLAGS+= -DMAIN
CLEANFILES+= c++filt.1
-.include <bsd.own.mk>
-
.include "${.CURDIR}/../common/Makefile.prog"
.PATH: ${DIST}/libiberty
diff -r bf318da67c32 -r 161dfa30043a external/gpl3/binutils.old/usr.bin/coffdump/Makefile
--- a/external/gpl3/binutils.old/usr.bin/coffdump/Makefile Tue Jan 26 19:37:46 2016 +0000
+++ b/external/gpl3/binutils.old/usr.bin/coffdump/Makefile Tue Jan 26 19:38:09 2016 +0000
@@ -1,7 +1,5 @@
-# $NetBSD: Makefile,v 1.1.1.1 2016/01/26 17:27:00 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/01/26 19:38:10 christos Exp $
PROG= coffdump
-.include <bsd.own.mk>
-
.include "${.CURDIR}/../common/Makefile.prog"
diff -r bf318da67c32 -r 161dfa30043a external/gpl3/binutils.old/usr.bin/common/Makefile
--- a/external/gpl3/binutils.old/usr.bin/common/Makefile Tue Jan 26 19:37:46 2016 +0000
+++ b/external/gpl3/binutils.old/usr.bin/common/Makefile Tue Jan 26 19:38:09 2016 +0000
@@ -1,8 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2016/01/26 17:27:00 christos Exp $
-
-.include <bsd.own.mk>
-
-TOP= ${NETBSDSRCDIR}/external/gpl3/binutils
+# $NetBSD: Makefile,v 1.2 2016/01/26 19:38:10 christos Exp $
.include "${.CURDIR}/../common/Makefile.inc"
.include "${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH}/defs.mk"
diff -r bf318da67c32 -r 161dfa30043a external/gpl3/binutils.old/usr.bin/common/Makefile.inc
--- a/external/gpl3/binutils.old/usr.bin/common/Makefile.inc Tue Jan 26 19:37:46 2016 +0000
+++ b/external/gpl3/binutils.old/usr.bin/common/Makefile.inc Tue Jan 26 19:38:09 2016 +0000
@@ -1,10 +1,19 @@
-# $NetBSD: Makefile.inc,v 1.1.1.1 2016/01/26 17:27:00 christos Exp $
+# $NetBSD: Makefile.inc,v 1.2 2016/01/26 19:38:10 christos Exp $
.if !defined(__COMMON_MAKEFILE_INC_INCLUDED__)
__COMMON_MAKEFILE_INC_INCLUDED__=1
+.include <bsd.init.mk>
+
+BINUTILS_MACHINE_ARCH= ${MACHINE_ARCH:C/armv[4-7]/arm/}
+
+GNUHOSTDIST= ${DIST}
+GNUCPPFLAGS= ${G_DEFS} ${G_INCLUDES}
+CPPFLAGS+= ${GNUCPPFLAGS:M-D*:N-DLOCALEDIR*} ${GNUCPPFLAGS:M-I*:N-I.*} \
+ -I${TOP}/${BFDSUBDIR}/libbfd/arch/${BINUTILS_MACHINE_ARCH} \
+ -I${DIST}/include -I${DIST}/bfd -I${DIST}/binutils \
+ -DLOCALEDIR=\"${LOCALEDIR}\"
BINUTILS_MACHINE_ARCH=${MACHINE_ARCH:C/armv[4-7]/arm/}
-DIST= ${NETBSDSRCDIR}/external/gpl3/binutils/dist
BFDSUBDIR= lib
.endif
diff -r bf318da67c32 -r 161dfa30043a external/gpl3/binutils.old/usr.bin/common/Makefile.prog
--- a/external/gpl3/binutils.old/usr.bin/common/Makefile.prog Tue Jan 26 19:37:46 2016 +0000
+++ b/external/gpl3/binutils.old/usr.bin/common/Makefile.prog Tue Jan 26 19:38:09 2016 +0000
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile.prog,v 1.1.1.1 2016/01/26 17:27:00 christos Exp $
+# $NetBSD: Makefile.prog,v 1.2 2016/01/26 19:38:10 christos Exp $
#
# Common Makefile fragment for a binutils program.
#
-.include <bsd.own.mk>
+BINUTILS_MACHINE_ARCH=${MACHINE_ARCH:C/armv[4-7]/arm/}
+CPPFLAGS+= -I${.CURDIR}/../common/arch/${BINUTILS_MACHINE_ARCH}
-BINUTILS_MACHINE_ARCH=${MACHINE_ARCH:C/armv[4-7]/arm/}
-
-TOP= ${NETBSDSRCDIR}/external/gpl3/binutils
+.include <bsd.init.mk>
.include "${.CURDIR}/../common/Makefile.inc"
.include "${.CURDIR}/../common/arch/${BINUTILS_MACHINE_ARCH}/defs.mk"
@@ -20,7 +19,6 @@
${G_${BUPROG}_DEPENDENCIES:M*.o:.o=.c}
MAN= ${G_man_MANS:M${PROG}.1}
-CPPFLAGS+= -I${.CURDIR}/../common/arch/${BINUTILS_MACHINE_ARCH}
.if !empty(G_${BUPROG}_DEPENDENCIES:M*/libopcodes*)
PROGDPLIBS+= opcodes ${TOP}/${BFDSUBDIR}/libopcodes
diff -r bf318da67c32 -r 161dfa30043a external/gpl3/binutils.old/usr.bin/elfedit/Makefile
--- a/external/gpl3/binutils.old/usr.bin/elfedit/Makefile Tue Jan 26 19:37:46 2016 +0000
+++ b/external/gpl3/binutils.old/usr.bin/elfedit/Makefile Tue Jan 26 19:38:09 2016 +0000
@@ -1,8 +1,6 @@
-# $NetBSD: Makefile,v 1.1.1.1 2016/01/26 17:27:00 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/01/26 19:38:10 christos Exp $
PROG= elfedit
SRCS= elfcomm.c elfedit.c
-.include <bsd.own.mk>
-
.include "${.CURDIR}/../common/Makefile.prog"
diff -r bf318da67c32 -r 161dfa30043a external/gpl3/binutils.old/usr.bin/gas/Makefile
--- a/external/gpl3/binutils.old/usr.bin/gas/Makefile Tue Jan 26 19:37:46 2016 +0000
+++ b/external/gpl3/binutils.old/usr.bin/gas/Makefile Tue Jan 26 19:38:09 2016 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2016/01/26 17:27:00 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/01/26 19:38:10 christos Exp $
-.include <bsd.own.mk>
-
-TOP= ${NETBSDSRCDIR}/external/gpl3/binutils
+CPPFLAGS+= -I${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH}
+CPPFLAGS+= -I${DIST}/gas -I${DIST}/gas/config
+CPPFLAGS+= -I${DIST}
.include "${.CURDIR}/../common/Makefile.inc"
.include "${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH}/defs.mk"
@@ -20,10 +20,6 @@
COPTS.stabs.c = -Wno-stack-protector
COPTS.macro.c = -Wno-stack-protector
-CPPFLAGS+= -I${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH}
-CPPFLAGS+= -I${DIST}/gas -I${DIST}/gas/config
-CPPFLAGS+= -I${DIST}
-
PROGDPLIBS+= opcodes ${TOP}/${BFDSUBDIR}/libopcodes
PROGDPLIBS+= bfd ${TOP}/${BFDSUBDIR}/libbfd
PROGDPLIBS+= iberty ${TOP}/${BFDSUBDIR}/libiberty
diff -r bf318da67c32 -r 161dfa30043a external/gpl3/binutils.old/usr.bin/gprof/Makefile
--- a/external/gpl3/binutils.old/usr.bin/gprof/Makefile Tue Jan 26 19:37:46 2016 +0000
+++ b/external/gpl3/binutils.old/usr.bin/gprof/Makefile Tue Jan 26 19:38:09 2016 +0000
@@ -1,15 +1,12 @@
-# $NetBSD: Makefile,v 1.1.1.1 2016/01/26 17:27:00 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/01/26 19:38:10 christos Exp $
-.include <bsd.own.mk>
-
-TOP= ${NETBSDSRCDIR}/external/gpl3/binutils
+CPPFLAGS+= -I${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH}
.include "${.CURDIR}/../common/Makefile.inc"
.include "${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH}/defs.mk"
PROG= gprof
SRCS= ${G_gprof_OBJECTS:.o=.c}
Home |
Main Index |
Thread Index |
Old Index