From ba43e0ffe7a883f062e502acf73190ce6534b0fe Mon Sep 17 00:00:00 2001 From: dim Date: Tue, 19 Oct 2010 20:17:17 +0000 Subject: Update the BFD and binutils version defines. --- gnu/usr.bin/binutils/libbfd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/usr.bin/binutils/libbfd/Makefile') diff --git a/gnu/usr.bin/binutils/libbfd/Makefile b/gnu/usr.bin/binutils/libbfd/Makefile index 8ace1e2..d211d91 100644 --- a/gnu/usr.bin/binutils/libbfd/Makefile +++ b/gnu/usr.bin/binutils/libbfd/Makefile @@ -52,7 +52,7 @@ 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_DATE 20050317' >> ${.TARGET} echo '#define BFD_VERSION_STRING ${VERSION}' >> ${.TARGET} targmatch.h: targmatch.sed config.bfd -- cgit v1.1 From 7e6c84d6b29e18626e5c438fcb8aa9c8d01b85fe Mon Sep 17 00:00:00 2001 From: dim Date: Thu, 21 Oct 2010 20:08:16 +0000 Subject: Use one file per line in SRCS= definition, to make insertions and deletions easier, and sort the file list. --- gnu/usr.bin/binutils/libbfd/Makefile | 40 +++++++++++++++++++++++++++++++----- 1 file changed, 35 insertions(+), 5 deletions(-) (limited to 'gnu/usr.bin/binutils/libbfd/Makefile') diff --git a/gnu/usr.bin/binutils/libbfd/Makefile b/gnu/usr.bin/binutils/libbfd/Makefile index d211d91..570b9c3 100644 --- a/gnu/usr.bin/binutils/libbfd/Makefile +++ b/gnu/usr.bin/binutils/libbfd/Makefile @@ -5,11 +5,41 @@ .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 +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-eh-frame.c \ + elf-strtab.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 WARNS?= 0 .if (${TARGET_ARCH} == "ia64" || ${TARGET_ARCH} == "sparc64") WARNS?= 2 -- cgit v1.1 From 82ee80ccd74faec108718fdcefb1fd3febae27f1 Mon Sep 17 00:00:00 2001 From: dim Date: Thu, 21 Oct 2010 20:17:13 +0000 Subject: Update BFD version and date, and add new upstream files. Also remove the elf32-arm-fbsd.c kludge; it is now integrated cleanly into contrib/binutils/bfd/elf32-arm.c. --- gnu/usr.bin/binutils/libbfd/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu/usr.bin/binutils/libbfd/Makefile') diff --git a/gnu/usr.bin/binutils/libbfd/Makefile b/gnu/usr.bin/binutils/libbfd/Makefile index 570b9c3..fe3b966 100644 --- a/gnu/usr.bin/binutils/libbfd/Makefile +++ b/gnu/usr.bin/binutils/libbfd/Makefile @@ -21,6 +21,7 @@ SRCS+= archive.c \ dwarf2.c \ elf-eh-frame.c \ elf-strtab.c \ + elf-vxworks.c \ elf.c \ format.c \ hash.c \ @@ -81,8 +82,8 @@ 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 20050317' >> ${.TARGET} + echo '#define BFD_VERSION 217000000' > ${.TARGET} + echo '#define BFD_VERSION_DATE 20070807' >> ${.TARGET} echo '#define BFD_VERSION_STRING ${VERSION}' >> ${.TARGET} targmatch.h: targmatch.sed config.bfd -- cgit v1.1 From 926cfb4a95c17eb94dffaeb1c87829c00ca24f75 Mon Sep 17 00:00:00 2001 From: dim Date: Fri, 22 Oct 2010 20:46:08 +0000 Subject: Most of binutils now compiles at WARNS=3, except for libiberty and libbfd, which still need WARNS=2. --- gnu/usr.bin/binutils/libbfd/Makefile | 1 - 1 file changed, 1 deletion(-) (limited to 'gnu/usr.bin/binutils/libbfd/Makefile') diff --git a/gnu/usr.bin/binutils/libbfd/Makefile b/gnu/usr.bin/binutils/libbfd/Makefile index fe3b966..d475e97 100644 --- a/gnu/usr.bin/binutils/libbfd/Makefile +++ b/gnu/usr.bin/binutils/libbfd/Makefile @@ -41,7 +41,6 @@ SRCS+= archive.c \ targets.c \ targmatch.h \ tekhex.c -WARNS?= 0 .if (${TARGET_ARCH} == "ia64" || ${TARGET_ARCH} == "sparc64") WARNS?= 2 .endif -- cgit v1.1 From deecd7f3ad8a2f764e21504728ea42fff3cf26f6 Mon Sep 17 00:00:00 2001 From: dim Date: Mon, 1 Nov 2010 19:41:22 +0000 Subject: Update Makefile, bfd.h and config.h.bsd for libbfd. --- gnu/usr.bin/binutils/libbfd/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gnu/usr.bin/binutils/libbfd/Makefile') diff --git a/gnu/usr.bin/binutils/libbfd/Makefile b/gnu/usr.bin/binutils/libbfd/Makefile index d475e97..9b8489d 100644 --- a/gnu/usr.bin/binutils/libbfd/Makefile +++ b/gnu/usr.bin/binutils/libbfd/Makefile @@ -19,6 +19,7 @@ SRCS+= archive.c \ corefile.c \ dwarf1.c \ dwarf2.c \ + elf-attrs.c \ elf-eh-frame.c \ elf-strtab.c \ elf-vxworks.c \ @@ -78,12 +79,14 @@ SELVEC+= ,&${_v} .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 217000000' > ${.TARGET} - echo '#define BFD_VERSION_DATE 20070807' >> ${.TARGET} + 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 ""' >> ${.TARGET} targmatch.h: targmatch.sed config.bfd sed -f ${.ALLSRC:M*.sed} ${.ALLSRC:M*.bfd} > ${.TARGET} -- cgit v1.1 From b0df1c137c1d7cc6c086e8c3de63b91a97e180c7 Mon Sep 17 00:00:00 2001 From: dim Date: Tue, 16 Nov 2010 10:33:41 +0000 Subject: Sync: merge r215319 through r215395 from ^/head, so ports can actually build! :) --- gnu/usr.bin/binutils/libbfd/Makefile | 2 -- 1 file changed, 2 deletions(-) (limited to 'gnu/usr.bin/binutils/libbfd/Makefile') diff --git a/gnu/usr.bin/binutils/libbfd/Makefile b/gnu/usr.bin/binutils/libbfd/Makefile index 9b8489d..1493ccf 100644 --- a/gnu/usr.bin/binutils/libbfd/Makefile +++ b/gnu/usr.bin/binutils/libbfd/Makefile @@ -55,8 +55,6 @@ SELARCH= SELARCH= &bfd_i386_arch .elif ${TARGET_ARCH} == "sparc64" SELARCH= &bfd_sparc_arch -.elif ${TARGET_ARCH} == "powerpc64" -SELARCH= &bfd_powerpc_arch,&bfd_rs6000_arch .else .for _a in ${ARCHS} .if ${SELARCH} == "" -- cgit v1.1