head	1.38;
access;
symbols
	RELENG_8_4:1.38.0.2
	RELENG_9_1_0_RELEASE:1.37.2.1.4.2
	RELENG_9_1:1.37.2.1.0.4
	RELENG_9_1_BP:1.37.2.1
	RELENG_8_3_0_RELEASE:1.33.22.1.8.1
	RELENG_8_3:1.33.22.1.0.8
	RELENG_8_3_BP:1.33.22.1
	RELENG_9_0_0_RELEASE:1.37.2.1.2.1
	RELENG_9_0:1.37.2.1.0.2
	RELENG_9_0_BP:1.37.2.1
	RELENG_9:1.37.0.2
	RELENG_9_BP:1.37
	RELENG_7_4_0_RELEASE:1.33.26.1
	RELENG_8_2_0_RELEASE:1.33.22.1.6.1
	RELENG_7_4:1.33.0.26
	RELENG_7_4_BP:1.33
	RELENG_8_2:1.33.22.1.0.6
	RELENG_8_2_BP:1.33.22.1
	RELENG_8_1_0_RELEASE:1.33.22.1.4.1
	RELENG_8_1:1.33.22.1.0.4
	RELENG_8_1_BP:1.33.22.1
	RELENG_7_3_0_RELEASE:1.33.24.1
	RELENG_7_3:1.33.0.24
	RELENG_7_3_BP:1.33
	RELENG_8_0_0_RELEASE:1.33.22.1.2.1
	RELENG_8_0:1.33.22.1.0.2
	RELENG_8_0_BP:1.33.22.1
	RELENG_8:1.33.0.22
	RELENG_8_BP:1.33
	RELENG_7_2_0_RELEASE:1.33.20.1
	RELENG_7_2:1.33.0.20
	RELENG_7_2_BP:1.33
	RELENG_7_1_0_RELEASE:1.33.18.1
	RELENG_6_4_0_RELEASE:1.33.16.1
	RELENG_7_1:1.33.0.18
	RELENG_7_1_BP:1.33
	RELENG_6_4:1.33.0.16
	RELENG_6_4_BP:1.33
	RELENG_7_0_0_RELEASE:1.33
	RELENG_6_3_0_RELEASE:1.33
	RELENG_7_0:1.33.0.14
	RELENG_7_0_BP:1.33
	RELENG_6_3:1.33.0.12
	RELENG_6_3_BP:1.33
	RELENG_7:1.33.0.10
	RELENG_7_BP:1.33
	RELENG_6_2_0_RELEASE:1.33
	RELENG_6_2:1.33.0.8
	RELENG_6_2_BP:1.33
	RELENG_5_5_0_RELEASE:1.32.2.1
	RELENG_5_5:1.32.2.1.0.4
	RELENG_5_5_BP:1.32.2.1
	RELENG_6_1_0_RELEASE:1.33
	RELENG_6_1:1.33.0.6
	RELENG_6_1_BP:1.33
	RELENG_6_0_0_RELEASE:1.33
	RELENG_6_0:1.33.0.4
	RELENG_6_0_BP:1.33
	RELENG_6:1.33.0.2
	RELENG_6_BP:1.33
	RELENG_5_4_0_RELEASE:1.32.2.1
	RELENG_5_4:1.32.2.1.0.2
	RELENG_5_4_BP:1.32.2.1
	RELENG_4_11_0_RELEASE:1.9.2.3
	RELENG_4_11:1.9.2.3.0.10
	RELENG_4_11_BP:1.9.2.3
	RELENG_5_3_0_RELEASE:1.32
	RELENG_5_3:1.32.0.4
	RELENG_5_3_BP:1.32
	RELENG_5:1.32.0.2
	RELENG_5_BP:1.32
	BEFORE_UN_JBING:1.31
	BEFORE_BU_2_15:1.27
	RELENG_4_10_0_RELEASE:1.9.2.3
	RELENG_4_10:1.9.2.3.0.8
	RELENG_4_10_BP:1.9.2.3
	RELENG_5_2_1_RELEASE:1.25
	RELENG_5_2_0_RELEASE:1.25
	RELENG_5_2:1.25.0.2
	RELENG_5_2_BP:1.25
	RELENG_4_9_0_RELEASE:1.9.2.3
	RELENG_4_9:1.9.2.3.0.6
	RELENG_4_9_BP:1.9.2.3
	RELENG_5_1_0_RELEASE:1.24
	RELENG_5_1:1.24.0.2
	RELENG_5_1_BP:1.24
	RELENG_4_8_0_RELEASE:1.9.2.3
	RELENG_4_8:1.9.2.3.0.4
	RELENG_4_8_BP:1.9.2.3
	RELENG_5_0_0_RELEASE:1.23
	RELENG_5_0:1.23.0.2
	RELENG_5_0_BP:1.23
	RELENG_4_7_0_RELEASE:1.9.2.3
	RELENG_4_7:1.9.2.3.0.2
	RELENG_4_7_BP:1.9.2.3
	BEFORE_BU_2121__RELENG4:1.9.2.2
	RELENG_4_6_2_RELEASE:1.9.2.1
	RELENG_4_6_1_RELEASE:1.9.2.1
	RELENG_4_6_0_RELEASE:1.9.2.1
	RELENG_4_6:1.9.2.1.0.8
	RELENG_4_6_BP:1.9.2.1
	BEFORE_BU_2_12:1.13
	RELENG_4_5_0_RELEASE:1.9.2.1
	BEFORE_BU_2112_snap:1.13
	RELENG_4_5:1.9.2.1.0.6
	RELENG_4_5_BP:1.9.2.1
	RELENG_4_4_0_RELEASE:1.9.2.1
	RELENG_4_4:1.9.2.1.0.4
	RELENG_4_4_BP:1.9.2.1
	BEFORE_BU_2112__RELENG4:1.9.2.1
	BEFORE_BU_2110:1.11
	RELENG_4_3_0_RELEASE:1.9.2.1
	RELENG_4_3:1.9.2.1.0.2
	RELENG_4_3_BP:1.9.2.1
	RELENG_4_2_0_RELEASE:1.9.2.1
	binutils_2_10_0:1.11
	RELENG_4_1_1_RELEASE:1.9.2.1
	PRE_SMPNG:1.11
	RELENG_4_1_0_RELEASE:1.9.2.1
	RELENG_3_5_0_RELEASE:1.6.2.1
	BEFORE_2_9_1_UPGRADE:1.10
	RELENG_4_0_0_RELEASE:1.9
	RELENG_4:1.9.0.2
	RELENG_4_BP:1.9
	RELENG_3_4_0_RELEASE:1.6.2.1
	RELENG_3_3_0_RELEASE:1.6.2.1
	RELENG_3_2_PAO:1.6.0.4
	RELENG_3_2_PAO_BP:1.6
	RELENG_3_2_0_RELEASE:1.6
	RELENG_3_1_0_RELEASE:1.6
	RELENG_3:1.6.0.2
	RELENG_3_BP:1.6
	RELENG_3_0_0_RELEASE:1.6
	jdp_2_8_1:1.1.1.1
	JDP:1.1.1;
locks; strict;
comment	@# @;


1.38
date	2012.11.17.01.49.09;	author svnexp;	state Exp;
branches
	1.38.2.1;
next	1.37;

1.37
date	2011.02.18.20.54.12;	author dim;	state Exp;
branches
	1.37.2.1;
next	1.36;

1.36
date	2010.11.15.22.12.13;	author nwhitehorn;	state Exp;
branches;
next	1.35;

1.35
date	2010.07.10.02.29.22;	author nwhitehorn;	state Exp;
branches;
next	1.34;

1.34
date	2010.02.03.18.29.35;	author imp;	state Exp;
branches;
next	1.33;

1.33
date	2004.10.24.15.32.25;	author ru;	state Exp;
branches
	1.33.2.1
	1.33.10.1
	1.33.16.1
	1.33.18.1
	1.33.20.1
	1.33.22.1
	1.33.24.1
	1.33.26.1;
next	1.32;

1.32
date	2004.07.08.17.05.32;	author obrien;	state Exp;
branches
	1.32.2.1;
next	1.31;

1.31
date	2004.06.19.20.50.57;	author marcel;	state Exp;
branches;
next	1.30;

1.30
date	2004.06.19.20.37.38;	author marcel;	state Exp;
branches;
next	1.29;

1.29
date	2004.06.19.19.44.19;	author marcel;	state Exp;
branches;
next	1.28;

1.28
date	2004.06.16.07.09.38;	author obrien;	state Exp;
branches;
next	1.27;

1.27
date	2004.02.25.13.12.51;	author johan;	state Exp;
branches;
next	1.26;

1.26
date	2004.02.24.19.23.30;	author johan;	state Exp;
branches;
next	1.25;

1.25
date	2003.07.11.05.24.32;	author kan;	state Exp;
branches;
next	1.24;

1.24
date	2003.04.26.03.28.21;	author obrien;	state Exp;
branches;
next	1.23;

1.23
date	2002.12.02.09.53.59;	author obrien;	state Exp;
branches;
next	1.22;

1.22
date	2002.10.14.00.05.49;	author obrien;	state Exp;
branches;
next	1.21;

1.21
date	2002.09.22.05.29.37;	author obrien;	state Exp;
branches;
next	1.20;

1.20
date	2002.07.16.16.10.39;	author mike;	state Exp;
branches;
next	1.19;

1.19
date	2002.05.13.11.08.59;	author ru;	state Exp;
branches;
next	1.18;

1.18
date	2002.03.14.02.24.25;	author obrien;	state Exp;
branches;
next	1.17;

1.17
date	2002.02.04.17.06.30;	author obrien;	state Exp;
branches;
next	1.16;

1.16
date	2002.01.27.22.47.22;	author obrien;	state Exp;
branches;
next	1.15;

1.15
date	2002.01.27.13.04.21;	author obrien;	state Exp;
branches;
next	1.14;

1.14
date	2002.01.27.13.03.58;	author obrien;	state Exp;
branches;
next	1.13;

1.13
date	2001.10.14.01.24.06;	author obrien;	state Exp;
branches;
next	1.12;

1.12
date	2001.10.14.00.58.59;	author obrien;	state Exp;
branches;
next	1.11;

1.11
date	2000.05.22.08.09.40;	author obrien;	state Exp;
branches;
next	1.10;

1.10
date	2000.04.02.22.36.54;	author steve;	state Exp;
branches;
next	1.9;

1.9
date	99.11.06.21.04.46;	author jb;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	99.08.27.23.34.54;	author peter;	state Exp;
branches;
next	1.7;

1.7
date	99.03.01.04.01.56;	author imp;	state Exp;
branches;
next	1.6;

1.6
date	98.09.06.23.01.53;	author jdp;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	98.06.04.06.50.57;	author bde;	state Exp;
branches;
next	1.4;

1.4
date	98.05.04.21.16.46;	author jb;	state Exp;
branches;
next	1.3;

1.3
date	98.03.12.05.14.09;	author jdp;	state Exp;
branches;
next	1.2;

1.2
date	98.03.12.02.55.25;	author jdp;	state Exp;
branches;
next	1.1;

1.1
date	98.03.01.23.41.03;	author jdp;	state Exp;
branches
	1.1.1.1;
next	;

1.38.2.1
date	2012.11.17.01.49.09;	author svnexp;	state dead;
branches;
next	1.38.2.2;

1.38.2.2
date	2013.03.28.13.02.48;	author svnexp;	state Exp;
branches;
next	;

1.37.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.37.2.1.2.1
	1.37.2.1.4.1;
next	1.37.2.2;

1.37.2.2
date	2012.11.17.11.36.13;	author svnexp;	state Exp;
branches;
next	;

1.37.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.37.2.1.2.2;

1.37.2.1.2.2
date	2012.11.17.08.36.13;	author svnexp;	state Exp;
branches;
next	;

1.37.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.37.2.1.4.2;

1.37.2.1.4.2
date	2012.11.17.08.47.03;	author svnexp;	state Exp;
branches;
next	;

1.33.2.1
date	2012.11.17.07.39.16;	author svnexp;	state Exp;
branches;
next	;

1.33.10.1
date	2012.11.17.08.01.29;	author svnexp;	state Exp;
branches;
next	;

1.33.16.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.33.18.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.33.20.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.33.22.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.33.22.1.2.1
	1.33.22.1.4.1
	1.33.22.1.6.1
	1.33.22.1.8.1;
next	1.33.22.2;

1.33.22.2
date	2012.11.17.10.35.58;	author svnexp;	state Exp;
branches;
next	;

1.33.22.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.33.22.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.33.22.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.33.22.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.33.22.1.8.2;

1.33.22.1.8.2
date	2012.11.17.08.24.39;	author svnexp;	state Exp;
branches;
next	;

1.33.24.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.33.26.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.33.26.2;

1.33.26.2
date	2012.11.17.08.16.38;	author svnexp;	state Exp;
branches;
next	;

1.32.2.1
date	2005.02.13.07.23.06;	author obrien;	state Exp;
branches;
next	;

1.9.2.1
date	2000.07.06.22.15.54;	author obrien;	state Exp;
branches;
next	1.9.2.2;

1.9.2.2
date	2002.07.19.18.46.22;	author ru;	state Exp;
branches;
next	1.9.2.3;

1.9.2.3
date	2002.09.01.23.39.15;	author obrien;	state Exp;
branches;
next	1.9.2.4;

1.9.2.4
date	2012.11.17.07.23.01;	author svnexp;	state Exp;
branches;
next	;

1.6.2.1
date	99.08.29.14.32.08;	author peter;	state Exp;
branches;
next	;

1.1.1.1
date	98.03.01.23.41.03;	author jdp;	state Exp;
branches;
next	;


desc
@@


1.38
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/gnu/usr.bin/binutils/libbfd/Makefile 218822 2011-02-18 20:54:12Z dim $

.include "../Makefile.inc0"

.PATH: ${SRCDIR}/bfd ${SRCDIR}/opcodes

LIB=	bfd
SRCS+=	archive.c \
	archive64.c \
	archures.c \
	bfd.c \
	bfdio.c \
	bfdver.h \
	bfdwin.c \
	binary.c \
	cache.c \
	coffgen.c \
	config.h \
	corefile.c \
	dwarf1.c \
	dwarf2.c \
	elf-attrs.c \
	elf-eh-frame.c \
	elf-strtab.c \
	elf-vxworks.c \
	elf.c \
	format.c \
	hash.c \
	ihex.c \
	init.c \
	libbfd.c \
	linker.c \
	merge.c \
	opncls.c \
	reloc.c \
	section.c \
	simple.c \
	srec.c \
	stab-syms.c \
	stabs.c \
	syms.c \
	targets.c \
	targmatch.h \
	tekhex.c
.if (${TARGET_ARCH} == "ia64" || ${TARGET_ARCH} == "sparc64")
WARNS?=	2
.endif
CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${SRCDIR}/bfd
INTERNALLIB=
CLEANFILES+=	bfdver.h config.h targmatch.h

SELARCH=
.if ${TARGET_ARCH} == "amd64"
SELARCH= &bfd_i386_arch
.elif ${TARGET_ARCH} == "sparc64"
SELARCH= &bfd_sparc_arch
.else
.for _a in ${ARCHS}
.if ${SELARCH} == ""
SELARCH+= &bfd_${_a}_arch
.else
SELARCH+= ,&bfd_${_a}_arch
.endif
.endfor
.endif
CFLAGS+= -DSELECT_ARCHITECTURES="${SELARCH}"

SELVEC=
.for _v in ${VECS}
CFLAGS+= -DHAVE_${_v}
.if ${SELVEC} == ""
SELVEC+= &${_v}
.else
SELVEC+= ,&${_v}
.endif
.endfor
CFLAGS+= -DSELECT_VECS="${SELVEC}"
CFLAGS+= -DDEFAULT_VECTOR=${DEFAULT_VECTOR}
CFLAGS+= -DDEBUGDIR="NULL"

# XXX:DEO should grab BFD_VERSION_DATE from ${VERSION}...
bfdver.h: Makefile
	echo '#define BFD_VERSION	217500000'	> ${.TARGET}
	echo '#define BFD_VERSION_DATE	20070703'	>> ${.TARGET}
	echo '#define BFD_VERSION_STRING ${VERSION}'	>> ${.TARGET}
	echo '#define REPORT_BUGS_TO "<http://www.freebsd.org/send-pr.html>"' >> ${.TARGET}

targmatch.h: targmatch.sed config.bfd
	sed -f ${.ALLSRC:M*.sed} ${.ALLSRC:M*.bfd} > ${.TARGET}

config.h: config.h.fbsd
.if ${TARGET_ARCH} == "i386"
	sed -e 's,!!TRAD_HEADER!!,"hosts/i386bsd.h",g' ${.ALLSRC} > ${.TARGET}
.else
	sed -e 's,!!TRAD_HEADER!!,,g' ${.ALLSRC} > ${.TARGET}
.endif

CLEANFILES+=	elf32-target.h elf64-target.h
elf32-target.h: elfxx-target.h
	sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}

elf64-target.h: elfxx-target.h
	sed -e s/NN/64/g ${.ALLSRC} > ${.TARGET}

.include <bsd.lib.mk>
@


1.38.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:02:48 +0000
@
text
@d1 106
@


1.38.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 74
# $FreeBSD: releng/8.4/gnu/usr.bin/binutils/libbfd/Makefile 136910 2004-10-24 15:33:08Z ru $

.include "../Makefile.inc0"

.PATH: ${SRCDIR}/bfd ${SRCDIR}/opcodes

LIB=	bfd
SRCS+=	archive.c archive64.c archures.c bfd.c bfdwin.c binary.c cache.c \
	coffgen.c corefile.c elf.c elf-eh-frame.c elf-strtab.c format.c \
	hash.c ihex.c init.c libbfd.c linker.c merge.c opncls.c reloc.c \
	section.c srec.c stab-syms.c stabs.c syms.c targets.c tekhex.c \
	targmatch.h dwarf1.c dwarf2.c config.h bfdver.h bfdio.c simple.c
WARNS?=	0
.if (${TARGET_ARCH} == "alpha" || ${TARGET_ARCH} == "ia64" || \
    ${TARGET_ARCH} == "sparc64")
WARNS?=	2
.endif
CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${SRCDIR}/bfd
INTERNALLIB=
CLEANFILES+=	bfdver.h config.h targmatch.h

SELARCH=
.if ${TARGET_ARCH} == "amd64"
SELARCH= &bfd_i386_arch
.elif ${TARGET_ARCH} == "sparc64"
SELARCH= &bfd_sparc_arch
.else
.for _a in ${ARCHS}
.if ${SELARCH} == ""
SELARCH+= &bfd_${_a}_arch
.else
SELARCH+= ,&bfd_${_a}_arch
.endif
.endfor
.endif
CFLAGS+= -DSELECT_ARCHITECTURES="${SELARCH}"

SELVEC=
.for _v in ${VECS}
CFLAGS+= -DHAVE_${_v}
.if ${SELVEC} == ""
SELVEC+= &${_v}
.else
SELVEC+= ,&${_v}
.endif
.endfor
CFLAGS+= -DSELECT_VECS="${SELVEC}"
CFLAGS+= -DDEFAULT_VECTOR=${DEFAULT_VECTOR}

# XXX:DEO should grab BFD_VERSION_DATE from ${VERSION}...
bfdver.h: Makefile
	echo '#define BFD_VERSION	215000000'	> ${.TARGET}
	echo '#define BFD_VERSION_DATE	20040517'	>> ${.TARGET}
	echo '#define BFD_VERSION_STRING ${VERSION}'	>> ${.TARGET}

targmatch.h: targmatch.sed config.bfd
	sed -f ${.ALLSRC:M*.sed} ${.ALLSRC:M*.bfd} > ${.TARGET}

config.h: config.h.fbsd
.if ${TARGET_ARCH} == "i386"
	sed -e 's,!!TRAD_HEADER!!,"hosts/i386bsd.h",g' ${.ALLSRC} > ${.TARGET}
.else
	sed -e 's,!!TRAD_HEADER!!,,g' ${.ALLSRC} > ${.TARGET}
.endif

CLEANFILES+=	elf32-target.h elf64-target.h
elf32-target.h: elfxx-target.h
	sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}

elf64-target.h: elfxx-target.h
	sed -e s/NN/64/g ${.ALLSRC} > ${.TARGET}

.include <bsd.lib.mk>
@


1.37
log
@SVN rev 218822 on 2011-02-18 20:54:12Z by dim

Merge binutils 2.17.50 to head.  This brings a number of improvements to
x86 CPU support, better support for powerpc64, some new directives, and
many other things.  Bump __FreeBSD_version, and add a note to UPDATING.

Thanks to the many people that have helped to test this.

Obtained from:	projects/binutils-2.17
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.37.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.37.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/gnu/usr.bin/binutils/libbfd/Makefile 218822 2011-02-18 20:54:12Z dim $
@


1.37.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.37.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/gnu/usr.bin/binutils/libbfd/Makefile 218822 2011-02-18 20:54:12Z dim $
@


1.37.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.37.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/gnu/usr.bin/binutils/libbfd/Makefile 218822 2011-02-18 20:54:12Z dim $
@


1.36
log
@SVN rev 215352 on 2010-11-15 22:12:13Z by nwhitehorn

Garbage-collect some code made obsolete by the TBEMD import.
@
text
@d8 37
a44 6
SRCS+=	archive.c archive64.c archures.c bfd.c bfdwin.c binary.c cache.c \
	coffgen.c corefile.c elf.c elf-eh-frame.c elf-strtab.c format.c \
	hash.c ihex.c init.c libbfd.c linker.c merge.c opncls.c reloc.c \
	section.c srec.c stab-syms.c stabs.c syms.c targets.c tekhex.c \
	targmatch.h dwarf1.c dwarf2.c config.h bfdver.h bfdio.c simple.c
WARNS?=	0
d80 1
d84 2
a85 2
	echo '#define BFD_VERSION	215000000'	> ${.TARGET}
	echo '#define BFD_VERSION_DATE	20040517'	>> ${.TARGET}
d87 1
@


1.35
log
@SVN rev 209867 on 2010-07-10 02:29:22Z by nwhitehorn

Teach our toolchain how to generate 64-bit PowerPC binaries. This fixes
a variety of bugs in binutils related to handling of 64-bit PPC ELF,
provides a GCC configuration for 64-bit PowerPC on FreeBSD, and
associated build systems tweaks.

Obtained from:	projects/ppc64
@
text
@a26 2
.elif ${TARGET_ARCH} == "powerpc64"
SELARCH= &bfd_powerpc_arch,&bfd_rs6000_arch
@


1.34
log
@SVN rev 203434 on 2010-02-03 18:29:35Z by imp

Remove more traces of the Alpha port.
@
text
@d27 2
@


1.33
log
@For variables that are only checked with defined(), don't provide
any fake value.
@
text
@d14 1
a14 2
.if (${TARGET_ARCH} == "alpha" || ${TARGET_ARCH} == "ia64" || \
    ${TARGET_ARCH} == "sparc64")
@


1.33.10.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/gnu/usr.bin/binutils/libbfd/Makefile 136910 2004-10-24 15:33:08Z ru $
@


1.33.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/gnu/usr.bin/binutils/libbfd/Makefile 136910 2004-10-24 15:33:08Z ru $
@


1.33.26.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.33.26.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/gnu/usr.bin/binutils/libbfd/Makefile 136910 2004-10-24 15:33:08Z ru $
@


1.33.24.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.33.22.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.33.22.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/gnu/usr.bin/binutils/libbfd/Makefile 136910 2004-10-24 15:33:08Z ru $
@


1.33.22.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.33.22.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/gnu/usr.bin/binutils/libbfd/Makefile 136910 2004-10-24 15:33:08Z ru $
@


1.33.22.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.33.22.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.33.22.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.33.20.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.33.18.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.33.16.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.32
log
@MAJOR cleanup of the Bmake framework.
This includes removing all vestiges of the old not-really supported
ability to build cross tools targeting non-FreeBSD systems, such as
m68k Lynx and NetBSD.  Move as much duplicated code from platform
Makefiles into the shared Makefiles.  Add a simple mechanism for
specifying ELF 'ldscripts'.  Also share as many .h files as possible
(now a single bfd.h vs. one per platform).
@
text
@d20 1
a20 1
INTERNALLIB=	true
@


1.32.2.1
log
@MFC: For variables that are only checked with defined(), don't provide
     any fake value.
@
text
@d20 1
a20 1
INTERNALLIB=
@


1.31
log
@Add bfdwin.c to SRCS. The file contains support for mmap(2) windows
into a BFD. It's included in stock BFD on the platforms I checked
(i386 and ia64).
@
text
@d49 1
d67 1
@


1.30
log
@Move the elf32-target.h and elf64-target.h targets from the MD
makefiles to the centralized makefile. This not only reduces
duplication, it also makes the MD quirks stand out better and
thus improves maintenance.
@
text
@d8 1
a8 1
SRCS+=	archive.c archive64.c archures.c bfd.c binary.c cache.c \
@


1.29
log
@Update to binutils 2.15:
o  BFD_VERSION_DATE now reflects the release date of 2.15,
o  BFD_VERSION now has the correct version number.

Previous values reflected 2.14.92 from a week prior to release.

While here, fix a whitespace (tab) nit.
@
text
@d66 6
@


1.28
log
@Updated Bmake framework for Binutils 2.15.
@
text
@d52 2
a53 2
	echo '#define BFD_VERSION	214920000'	> ${.TARGET}
	echo '#define BFD_VERSION_DATE	20040510'	>> ${.TARGET}
d58 1
a58 1
	
@


1.27
log
@Fix style bug in last commit,
	add a tab after WARNS?=.

While I'm here fix other style bugs.

Submitted by:	bde (libbdf/Makefile)
@
text
@d12 1
a12 1
	targmatch.h dwarf1.c dwarf2.c config.h
d18 1
a19 2
CFLAGS+= -DBFD_VERSION=\"${VERSION_DATE}\" -DBFD_VERSION_DATE=${VERSION_DATE}
CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
d21 1
a21 1
CLEANFILES+=	config.h targmatch.h
d49 6
@


1.26
log
@style.Makefile(5):
	Use WARNS?= instead of WARNS=

For this to work properly for all part is the subdirectories
the WARNS assignments in Makefile.inc0 are moved to the correspondning
Makefile.inc.

Approved by:	obrien (binutils maintainer)
Tested by:	make universe
@
text
@d13 3
a15 2
WARNS?=0
.if (${TARGET_ARCH} == "alpha" || ${TARGET_ARCH} == "ia64" || ${TARGET_ARCH} == "sparc64")
@


1.25
log
@Temporarily turn off -Werror for these components.
@
text
@d13 1
d15 1
a15 1
WARNS=	2
a16 1
WARNS=0
@


1.24
log
@The AMD64 Hammer bits.
@
text
@d16 1
@


1.23
log
@Handle the "HAVE_" defines via the VECS list.
@
text
@d23 3
a25 1
.if ${TARGET_ARCH} == "sparc64"
@


1.22
log
@Take a guess at what WARNS level will make this compile on ia64.
@
text
@d38 1
@


1.21
log
@There is need to have a special BINUTIL_ARCH when we can use our more
common place TARGET_ARCH.
@
text
@d13 1
a13 1
.if (${TARGET_ARCH} == "alpha" || ${TARGET_ARCH} == "sparc64")
@


1.20
log
@This isn't quite ready for WARNS=3 in the sparc64 case.

Noticed by:	sparc64 tinderbox
@
text
@a21 8
# If set, BINUTILSDISTDIR is the path to a directory containing the full GNU
# binutils release. FreeBSD only distributes the bits that are required to
# build native architectures. BINUTILSDISTDIR is needed to build cross tools.
.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR})
.PATH: ${BINUTILSDISTDIR}/bfd ${BINUTILSDISTDIR}/opcodes
CFLAGS+= -I${BINUTILSDISTDIR}/bfd -I${BINUTILSDISTDIR}/include -I.
.endif

d23 1
a23 1
.if ${BINUTIL_ARCH} == "sparc64"
d50 1
a50 1
.if ${BINUTIL_ARCH} == "i386"
@


1.19
log
@Removed now unused INTERNALSTATICLIB.
INTERNALLIB now implies NOPIC and NOPROFILE.
Removed gratuitous NOMAN.
@
text
@d13 1
a13 1
.if (${TARGET_ARCH} == "alpha")
@


1.18
log
@Tune WARNS for Alpha.
@
text
@a18 2
NOPROFILE=	true
NOPIC=		true
a19 1
INTERNALSTATICLIB=true
@


1.17
log
@I missed adding a file that was needed on the Alpha (and will be needed
on x86_64 also.

Submitted by:	ru
@
text
@d13 3
@


1.16
log
@Change the way the version strings are handled.
@
text
@d8 1
a8 1
SRCS+=	archive.c archures.c bfd.c binary.c cache.c \
@


1.15
log
@Style fixes.
@
text
@d14 2
a15 1
CFLAGS+= -DBFD_VERSION=\"${VERSION}\"
@


1.14
log
@Add files new with 2.12.0.
@
text
@d9 3
a11 3
	coffgen.c corefile.c elf.c elf-eh-frame.c elf-strtab.c format.c hash.c ihex.c \
	init.c libbfd.c linker.c merge.c opncls.c reloc.c section.c \
	srec.c stab-syms.c stabs.c syms.c targets.c tekhex.c \
@


1.13
log
@We can easily share a single config.h file across all FreeBSD platforms,
which reduces the upgrade effort.
@
text
@d9 2
a10 2
	coffgen.c corefile.c elf.c format.c hash.c ihex.c \
	init.c libbfd.c linker.c opncls.c reloc.c section.c \
@


1.12
log
@Clean up the formatting.
@
text
@d12 1
a12 1
	targmatch.h dwarf1.c dwarf2.c
d19 1
a19 1
CLEANFILES+=	targmatch.h
d26 1
a26 2
CFLAGS+= -I${BINUTILSDISTDIR}/bfd
CFLAGS+= -I${BINUTILSDISTDIR}/include
d55 7
@


1.11
log
@Pull the switch and activate our Binutils to a snapshot of the up and
comming 2.10 release.
@
text
@d1 1
a1 3
#
# $FreeBSD: src/gnu/usr.bin/binutils/libbfd/Makefile,v 1.10 2000/04/02 22:36:54 steve Exp $
#
d7 8
a14 8
LIB=		bfd
SRCS+=		archive.c archures.c bfd.c binary.c cache.c \
		coffgen.c corefile.c elf.c format.c hash.c ihex.c \
		init.c libbfd.c linker.c opncls.c reloc.c section.c \
		srec.c stab-syms.c stabs.c syms.c targets.c tekhex.c \
		targmatch.h dwarf1.c dwarf2.c
CFLAGS+=	-I${SRCDIR}/bfd
CFLAGS+=	-DBFD_VERSION=\"${VERSION}\"
d24 4
a27 4
.if	defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR})
.PATH:		${BINUTILSDISTDIR}/bfd ${BINUTILSDISTDIR}/opcodes
CFLAGS+=	-I${BINUTILSDISTDIR}/bfd
CFLAGS+=	-I${BINUTILSDISTDIR}/include
d32 1
a32 1
SELARCH=&bfd_sparc_arch
d36 1
a36 1
SELARCH+=&bfd_${_a}_arch
d38 1
a38 1
SELARCH+=,&bfd_${_a}_arch
d42 1
a42 1
CFLAGS+=	-DSELECT_ARCHITECTURES="${SELARCH}"
d47 1
a47 1
SELVEC+=&${_v}
d49 1
a49 1
SELVEC+=,&${_v}
d52 1
a52 1
CFLAGS+=	-DSELECT_VECS="${SELVEC}"
@


1.10
log
@First cut at the (non-contrib) bits needed to build the binutils
distribution for FreeBSD/Sparc64.

Reviewed by:	obrien
@
text
@d2 1
a2 1
# $FreeBSD: src/gnu/usr.bin/binutils/libbfd/Makefile,v 1.9 1999/11/06 21:04:46 jb Exp $
d14 1
a14 1
		targmatch.h dwarf2.c
d16 1
@


1.9
log
@Add a BINUTILSDISTDIR hook to provide a path to a full binutils release
outside the contrib files that FreeBSD distributes. This for use by
those who want to work on porting FreeBSD to additional architectures.
@
text
@d2 1
a2 1
# $FreeBSD: src/gnu/usr.bin/binutils/libbfd/Makefile,v 1.8 1999/08/27 23:34:54 peter Exp $
d32 3
d42 1
@


1.9.2.1
log
@MFC:  Upgrade to Binutils 2.10.0.
@
text
@d2 1
a2 1
# $FreeBSD$
d14 1
a14 1
		targmatch.h dwarf1.c dwarf2.c
a15 1
CFLAGS+=	-DBFD_VERSION=\"${VERSION}\"
a31 3
.if ${BINUTIL_ARCH} == "sparc64"
SELARCH=&bfd_sparc_arch
.else
a38 1
.endif
@


1.9.2.2
log
@MFC: new bsd.lib.mk API.
@
text
@d17 2
d20 1
@


1.9.2.3
log
@Upgrade to binutils 2.12.1.
@
text
@d1 1
d3 1
d9 8
a16 12
LIB=	bfd
SRCS+=	archive.c archive64.c archures.c bfd.c binary.c cache.c \
	coffgen.c corefile.c elf.c elf-eh-frame.c elf-strtab.c format.c \
	hash.c ihex.c init.c libbfd.c linker.c merge.c opncls.c reloc.c \
	section.c srec.c stab-syms.c stabs.c syms.c targets.c tekhex.c \
	targmatch.h dwarf1.c dwarf2.c config.h
.if (${TARGET_ARCH} == "alpha" || ${TARGET_ARCH} == "sparc64")
WARNS=	2
.endif
CFLAGS+= -I${SRCDIR}/bfd
CFLAGS+= -DBFD_VERSION=\"${VERSION_DATE}\" -DBFD_VERSION_DATE=${VERSION_DATE}
CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
d18 1
a18 1
CLEANFILES+=	config.h targmatch.h
d23 4
a26 3
.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR})
.PATH: ${BINUTILSDISTDIR}/bfd ${BINUTILSDISTDIR}/opcodes
CFLAGS+= -I${BINUTILSDISTDIR}/bfd -I${BINUTILSDISTDIR}/include -I.
d31 1
a31 1
SELARCH= &bfd_sparc_arch
d35 1
a35 1
SELARCH+= &bfd_${_a}_arch
d37 1
a37 1
SELARCH+= ,&bfd_${_a}_arch
d41 1
a41 1
CFLAGS+= -DSELECT_ARCHITECTURES="${SELARCH}"
d46 1
a46 1
SELVEC+= &${_v}
d48 1
a48 1
SELVEC+= ,&${_v}
d51 1
a51 1
CFLAGS+= -DSELECT_VECS="${SELVEC}"
a54 7
	
config.h: config.h.fbsd
.if ${BINUTIL_ARCH} == "i386"
	sed -e 's,!!TRAD_HEADER!!,"hosts/i386bsd.h",g' ${.ALLSRC} > ${.TARGET}
.else
	sed -e 's,!!TRAD_HEADER!!,,g' ${.ALLSRC} > ${.TARGET}
.endif
@


1.9.2.4
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/gnu/usr.bin/binutils/libbfd/Makefile 102827 2002-09-01 23:44:26Z obrien $
@


1.8
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
d21 9
@


1.7
log
@Add TARGET_ARCH=mipsel and TARGET_ARCH=mipseb as a valid targets.
Unlike the unisex architecutres we've had so far, mips is bisexual.
These tools can produce either byte sex, and the compiler/make
determines the proper gender to use.  Otherwise, we'd have to have had
mipsel and mipseb in all the places that we have just mips.  And there
are other complications with doing that (binutils doesn't like to
build mips tools without both byte genders, it seems).

Introduced BINUTIL_ARCH so that other bisexual architectures can a
generic mechanism.

We cannot just define MACHINE_ARCH as mips because we need to
differentiate big and little endian types of binaries.  Discussions on
freebsd-arch have hashed out this issue (and the parallel libc
issues).  NetBSD is moving towards mipsel and mipseb for their two
flavors of mips ports (in time for 1.4, if this change hasn't already
been accomplished).

I've been building i386 worlds with this tree for a three months with
these files in place with no ill effects.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.6 1998/09/06 23:01:53 jdp Exp $
@


1.6
log
@Update for import of binutils-2.9.1.

Submitted by:	Doug Rabson <dfr>
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.5 1998/06/04 06:50:57 bde Exp $
d7 1
a7 1
.PATH: ${SRCDIR}/bfd
@


1.6.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.5
log
@Don't use beforedepend or give dependencies on generated headers explicitly.
Just put generated headers in SRCS.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.4 1998/05/04 21:16:46 jb Exp $
d14 1
a14 1
		targmatch.h
@


1.4
log
@Add cross-architecture support.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.3 1998/03/12 05:14:09 jdp Exp $
d13 2
a14 1
		srec.c stab-syms.c stabs.c syms.c targets.c tekhex.c
a40 4

beforedepend: targmatch.h

targets.o: targmatch.h
@


1.3
log
@Replace empty install targets with definitions of INTERNALLIB and
INTERNALSTATICLIB to suppress installation of internal libraries.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.2 1998/03/12 02:55:25 jdp Exp $
d20 20
@


1.2
log
@Restructure the binutils hierarchy somewhat in order to better
support building it for variant architectures.  It was already
becoming clear that the former structure was too rigid and didn't
scale well.

The usual sort of makefile magic arranges to .include an architecture
specific makefile "Makefile.${MACHINE_ARCH}" in each directory
where it exists.  Also, sources will be found in each subdirectory
"${MACHINE_ARCH}" that exists.  This is all taken care of automatically
by the top level "Makefile.inc0".

This all seems to work right for the i386 now.  I have also converted
those alpha pieces already present to the new schema as best I
could.

Also: change the BINDIR on the i386 to /usr/libexec/elf for "ar"
and "ranlib".  They are not object format independent enough to
put into /usr/bin.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.1.1.1 1998/03/01 23:41:03 jdp Exp $
d17 2
a26 2

install:
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# $Id$
d10 2
a11 4
SRCS=		aout32.c archive.c archures.c bfd.c binary.c \
		cache.c coff-i386.c coffgen.c cofflink.c corefile.c \
		cpu-i386.c elf.c elf32-i386.c elf32.c elflink.c \
		format.c hash.c i386bsd.c i386freebsd.c ihex.c \
a13 7
CFLAGS+=	-DDEFAULT_VECTOR=bfd_elf32_i386_vec
CFLAGS+=	-DSELECT_VECS="&bfd_elf32_i386_vec,&i386freebsd_vec,&i386bsd_vec,&i386coff_vec"
CFLAGS+=	-DSELECT_ARCHITECTURES="&bfd_i386_arch"
CFLAGS+=	-DHAVE_bfd_elf32_i386_vec
CFLAGS+=	-DHAVE_i386freebsd_vec
CFLAGS+=	-DHAVE_i386bsd_vec
CFLAGS+=	-DHAVE_i386coff_vec
d17 1
a17 1
CLEANFILES+=	elf32-target.h targmatch.h
d19 1
a19 1
beforedepend: elf32-target.h targmatch.h
a21 5

elf32-i386.o: elf32-target.h

elf32-target.h: elfxx-target.h
	sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}
@


1.1.1.1
log
@Add bmakefiles for building binutils from the contrib tree.

This finishes up the binutils import.  But I am leaving it disabled
in "src/gnu/usr.bin/Makefile" for now.  It is not used by anything
yet, so I'll take this opportunity to run one more round of tests
before enabling it.
@
text
@@
