Module Name: src Committed By: christos Date: Sat Apr 4 01:34:30 UTC 2020
Modified Files: src/external/gpl3/binutils/lib: Makefile src/external/gpl3/binutils/lib/libbfd/arch/x86_64: bfd_stdint.h src/external/gpl3/binutils/usr.bin/ld: Makefile src/external/gpl3/binutils/usr.bin/objdump: Makefile src/external/gpl3/binutils/usr.bin/readelf: Makefile Added Files: src/external/gpl3/binutils/lib/libgnuctf: Makefile src/external/gpl3/binutils/lib/libgnuctf/arch/i386: config.h defs.mk src/external/gpl3/binutils/lib/libgnuctf/arch/x86_64: config.h defs.mk Removed Files: src/external/gpl3/binutils/lib/libctf: Makefile src/external/gpl3/binutils/lib/libctf/arch/i386: config.h defs.mk src/external/gpl3/binutils/lib/libctf/arch/x86_64: config.h defs.mk Log Message: rename libctf to libgnuctf to avoid conflict with the sun version. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/binutils/lib/Makefile cvs rdiff -u -r1.8 -r1.9 \ src/external/gpl3/binutils/lib/libbfd/arch/x86_64/bfd_stdint.h cvs rdiff -u -r1.1 -r0 src/external/gpl3/binutils/lib/libctf/Makefile cvs rdiff -u -r1.1 -r0 \ src/external/gpl3/binutils/lib/libctf/arch/i386/config.h \ src/external/gpl3/binutils/lib/libctf/arch/i386/defs.mk cvs rdiff -u -r1.1 -r0 \ src/external/gpl3/binutils/lib/libctf/arch/x86_64/config.h \ src/external/gpl3/binutils/lib/libctf/arch/x86_64/defs.mk cvs rdiff -u -r0 -r1.1 src/external/gpl3/binutils/lib/libgnuctf/Makefile cvs rdiff -u -r0 -r1.1 \ src/external/gpl3/binutils/lib/libgnuctf/arch/i386/config.h \ src/external/gpl3/binutils/lib/libgnuctf/arch/i386/defs.mk cvs rdiff -u -r0 -r1.1 \ src/external/gpl3/binutils/lib/libgnuctf/arch/x86_64/config.h \ src/external/gpl3/binutils/lib/libgnuctf/arch/x86_64/defs.mk cvs rdiff -u -r1.32 -r1.33 src/external/gpl3/binutils/usr.bin/ld/Makefile cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/binutils/usr.bin/objdump/Makefile cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/binutils/usr.bin/readelf/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/binutils/lib/Makefile diff -u src/external/gpl3/binutils/lib/Makefile:1.2 src/external/gpl3/binutils/lib/Makefile:1.3 --- src/external/gpl3/binutils/lib/Makefile:1.2 Fri Apr 3 20:46:53 2020 +++ src/external/gpl3/binutils/lib/Makefile Fri Apr 3 21:34:28 2020 @@ -1,5 +1,5 @@ -# $NetBSD: Makefile,v 1.2 2020/04/04 00:46:53 christos Exp $ +# $NetBSD: Makefile,v 1.3 2020/04/04 01:34:28 christos Exp $ -SUBDIR+= libctf libopcodes libbfd libiberty +SUBDIR+= libgnuctf libopcodes libbfd libiberty .include <bsd.subdir.mk> Index: src/external/gpl3/binutils/lib/libbfd/arch/x86_64/bfd_stdint.h diff -u src/external/gpl3/binutils/lib/libbfd/arch/x86_64/bfd_stdint.h:1.8 src/external/gpl3/binutils/lib/libbfd/arch/x86_64/bfd_stdint.h:1.9 --- src/external/gpl3/binutils/lib/libbfd/arch/x86_64/bfd_stdint.h:1.8 Fri Apr 3 20:46:53 2020 +++ src/external/gpl3/binutils/lib/libbfd/arch/x86_64/bfd_stdint.h Fri Apr 3 21:34:29 2020 @@ -1,8 +1,8 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-binutils,v 1.11 2018/11/08 02:08:35 christos Exp */ +/* Generated from: NetBSD: mknative-binutils,v 1.12 2020/04/04 00:47:52 christos Exp */ /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ -/* generated for x86_64--netbsd-gcc (NetBSD nb1 20190930) 8.3.0 */ +/* generated for x86_64--netbsd-gcc (NetBSD nb1 20200311) 8.4.0 */ #ifndef GCC_GENERATED_STDINT_H #define GCC_GENERATED_STDINT_H 1 Index: src/external/gpl3/binutils/usr.bin/ld/Makefile diff -u src/external/gpl3/binutils/usr.bin/ld/Makefile:1.32 src/external/gpl3/binutils/usr.bin/ld/Makefile:1.33 --- src/external/gpl3/binutils/usr.bin/ld/Makefile:1.32 Fri Apr 3 20:46:55 2020 +++ src/external/gpl3/binutils/usr.bin/ld/Makefile Fri Apr 3 21:34:30 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2020/04/04 00:46:55 christos Exp $ +# $NetBSD: Makefile,v 1.33 2020/04/04 01:34:30 christos Exp $ CPPFLAGS+= -I${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH} \ -I${DIST}/ld \ @@ -22,7 +22,7 @@ SRCS= ${G_OFILES:.o=.c} COPTS.ldgram.c = -Wno-stack-protector -PROGDPLIBS+= ctf ${TOP}/${BFDSUBDIR}/libctf +PROGDPLIBS+= gnuctf ${TOP}/${BFDSUBDIR}/libgnuctf PROGDPLIBS+= bfd ${TOP}/${BFDSUBDIR}/libbfd PROGDPLIBS+= iberty ${TOP}/${BFDSUBDIR}/libiberty Index: src/external/gpl3/binutils/usr.bin/objdump/Makefile diff -u src/external/gpl3/binutils/usr.bin/objdump/Makefile:1.4 src/external/gpl3/binutils/usr.bin/objdump/Makefile:1.5 --- src/external/gpl3/binutils/usr.bin/objdump/Makefile:1.4 Fri Apr 3 20:46:55 2020 +++ src/external/gpl3/binutils/usr.bin/objdump/Makefile Fri Apr 3 21:34:30 2020 @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.4 2020/04/04 00:46:55 christos Exp $ +# $NetBSD: Makefile,v 1.5 2020/04/04 01:34:30 christos Exp $ PROG= objdump CPPFLAGS+=-DOBJDUMP_PRIVATE_VECTORS="" -PROGDPLIBS+= ctf ${TOP}/${BFDSUBDIR}/libctf +PROGDPLIBS+= gnuctf ${TOP}/${BFDSUBDIR}/libgnuctf .include "${.CURDIR}/../common/Makefile.prog" Index: src/external/gpl3/binutils/usr.bin/readelf/Makefile diff -u src/external/gpl3/binutils/usr.bin/readelf/Makefile:1.4 src/external/gpl3/binutils/usr.bin/readelf/Makefile:1.5 --- src/external/gpl3/binutils/usr.bin/readelf/Makefile:1.4 Fri Apr 3 20:46:55 2020 +++ src/external/gpl3/binutils/usr.bin/readelf/Makefile Fri Apr 3 21:34:30 2020 @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2020/04/04 00:46:55 christos Exp $ +# $NetBSD: Makefile,v 1.5 2020/04/04 01:34:30 christos Exp $ PROG= readelf -PROGDPLIBS+= ctf ${TOP}/${BFDSUBDIR}/libctf +PROGDPLIBS+= gnuctf ${TOP}/${BFDSUBDIR}/libgnuctf PROGDPLIBS+= bfd ${TOP}/${BFDSUBDIR}/libbfd .include "${.CURDIR}/../common/Makefile.prog" Added files: Index: src/external/gpl3/binutils/lib/libgnuctf/Makefile diff -u /dev/null src/external/gpl3/binutils/lib/libgnuctf/Makefile:1.1 --- /dev/null Fri Apr 3 21:34:30 2020 +++ src/external/gpl3/binutils/lib/libgnuctf/Makefile Fri Apr 3 21:34:30 2020 @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1 2020/04/04 01:34:30 christos Exp $ + +NOLINKLIB= # defined +NOLINT= # defined +NOMAN= # defined +NOPROFILE= # defined +NOCLANGERROR= # defined + +.include <bsd.init.mk> + +LIB= gnuctf + +BFD_MACHINE_ARCH?= ${MACHINE_ARCH:C/armv[4-7]/arm/} + +.if exists(${.CURDIR}/arch/${BFD_MACHINE_ARCH}/defs.mk) +.include "${.CURDIR}/arch/${BFD_MACHINE_ARCH}/defs.mk" + +SHLIB_MAJOR= 0 +SHLIB_MINOR= 0 + +GCPPFLAGS= ${G_archdefs} ${G_DEFS} ${G_INCLUDES} ${G_TDEFAULTS} +CPPFLAGS+= -I${.CURDIR}/arch/${BFD_MACHINE_ARCH} \ + -I${.CURDIR}/../libbfd/arch/${BFD_MACHINE_ARCH} \ + -I${DIST}/include -I. -I${DIST}/libctf \ + -I${DIST}/bfd ${GCPPFLAGS:M-D*} \ + ${GCPPFLAGS:M-I*:N-I.*} + +SRCS= ${G_libctf_la_SOURCES} + +.PATH: ${DIST}/libctf + +.include <bsd.lib.mk> + +.else +.include <bsd.prog.mk> # do nothing +.endif Index: src/external/gpl3/binutils/lib/libgnuctf/arch/i386/config.h diff -u /dev/null src/external/gpl3/binutils/lib/libgnuctf/arch/i386/config.h:1.1 --- /dev/null Fri Apr 3 21:34:30 2020 +++ src/external/gpl3/binutils/lib/libgnuctf/arch/i386/config.h Fri Apr 3 21:34:30 2020 @@ -0,0 +1,162 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-binutils,v 1.12 2020/04/04 00:47:52 christos Exp */ +/* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ + +/* config.h. Generated from config.h.in by configure. */ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Define if building universal (internal helper macro) */ +/* #undef AC_APPLE_UNIVERSAL_BUILD */ + +/* Whether libbfd was configured for an ELF target. */ +/* #undef HAVE_BFD_ELF */ + +/* Define to 1 if you have the <byteswap.h> header file. */ +/* #undef HAVE_BYTESWAP_H */ + +/* Define to 1 if you have the declaration of `asprintf', and to 0 if you + don't. */ +#define HAVE_DECL_ASPRINTF 1 + +/* Define to 1 if you have the <dlfcn.h> header file. */ +#define HAVE_DLFCN_H 1 + +/* Define to 1 if you have the <endian.h> header file. */ +#define HAVE_ENDIAN_H 1 + +/* Define to 1 if you have the `getpagesize' function. */ +#define HAVE_GETPAGESIZE 1 + +/* Define to 1 if you have the <inttypes.h> header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define to 1 if you have the <memory.h> header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have a working `mmap' system call. */ +#define HAVE_MMAP 1 + +/* Whether the platform has a definition of O_CLOEXEC. */ +#define HAVE_O_CLOEXEC 1 + +/* Define to 1 if you have the `pread' function. */ +#define HAVE_PREAD 1 + +/* Define to 1 if you have the `qsort_r' function. */ +/* #undef HAVE_QSORT_R */ + +/* Whether a qsort_r exists with a void *arg as its last arg. */ +/* #undef HAVE_QSORT_R_ARG_LAST */ + +/* Whether a qsort_r exists with the compar function as its last arg. */ +/* #undef HAVE_QSORT_R_COMPAR_LAST */ + +/* Define to 1 if you have the <stdint.h> header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the <stdlib.h> header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the <strings.h> header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the <string.h> header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the <sys/param.h> header file. */ +#define HAVE_SYS_PARAM_H 1 + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the <sys/types.h> header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the <unistd.h> header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to the sub-directory in which libtool stores uninstalled libraries. + */ +#define LT_OBJDIR ".libs/" + +/* Name of package */ +#define PACKAGE "libctf-library" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "libctf library" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "libctf library 1.2.0-pre" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "libctf-library" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "1.2.0-pre" + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Enable extensions on AIX 3, Interix. */ +#ifndef _ALL_SOURCE +# define _ALL_SOURCE 1 +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +#endif +/* Enable threading extensions on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# define _POSIX_PTHREAD_SEMANTICS 1 +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# define _TANDEM_SOURCE 1 +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# define __EXTENSIONS__ 1 +#endif + + +/* Version number of package */ +#define VERSION "1.2.0-pre" + +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +/* # undef WORDS_BIGENDIAN */ +# endif +#endif + +/* Enable large inode numbers on Mac OS X 10.5. */ +#ifndef _DARWIN_USE_64_BIT_INODE +# define _DARWIN_USE_64_BIT_INODE 1 +#endif + +/* Number of bits in a file offset, on hosts where this is settable. */ +/* #undef _FILE_OFFSET_BITS */ + +/* Define for large files, on AIX-style hosts. */ +/* #undef _LARGE_FILES */ + +/* Define to 1 if on MINIX. */ +/* #undef _MINIX */ + +/* Define to 2 if the system does not provide POSIX.1 features except with + this defined. */ +/* #undef _POSIX_1_SOURCE */ + +/* Define to 1 if you need to in order for `stat' and other things to work. */ +/* #undef _POSIX_SOURCE */ Index: src/external/gpl3/binutils/lib/libgnuctf/arch/i386/defs.mk diff -u /dev/null src/external/gpl3/binutils/lib/libgnuctf/arch/i386/defs.mk:1.1 --- /dev/null Fri Apr 3 21:34:30 2020 +++ src/external/gpl3/binutils/lib/libgnuctf/arch/i386/defs.mk Fri Apr 3 21:34:30 2020 @@ -0,0 +1,5 @@ +# This file is automatically generated. DO NOT EDIT! +# Generated from: NetBSD: mknative-binutils,v 1.12 2020/04/04 00:47:52 christos Exp +# Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp +# +G_libctf_la_SOURCES=ctf-archive.c ctf-dump.c ctf-create.c ctf-decl.c ctf-error.c ctf-hash.c ctf-labels.c ctf-link.c ctf-lookup.c ctf-open.c ctf-string.c ctf-subr.c ctf-types.c ctf-util.c ctf-qsort_r.c ctf-open-bfd.c Index: src/external/gpl3/binutils/lib/libgnuctf/arch/x86_64/config.h diff -u /dev/null src/external/gpl3/binutils/lib/libgnuctf/arch/x86_64/config.h:1.1 --- /dev/null Fri Apr 3 21:34:30 2020 +++ src/external/gpl3/binutils/lib/libgnuctf/arch/x86_64/config.h Fri Apr 3 21:34:30 2020 @@ -0,0 +1,162 @@ +/* This file is automatically generated. DO NOT EDIT! */ +/* Generated from: NetBSD: mknative-binutils,v 1.12 2020/04/04 00:47:52 christos Exp */ +/* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ + +/* config.h. Generated from config.h.in by configure. */ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Define if building universal (internal helper macro) */ +/* #undef AC_APPLE_UNIVERSAL_BUILD */ + +/* Whether libbfd was configured for an ELF target. */ +/* #undef HAVE_BFD_ELF */ + +/* Define to 1 if you have the <byteswap.h> header file. */ +/* #undef HAVE_BYTESWAP_H */ + +/* Define to 1 if you have the declaration of `asprintf', and to 0 if you + don't. */ +#define HAVE_DECL_ASPRINTF 1 + +/* Define to 1 if you have the <dlfcn.h> header file. */ +#define HAVE_DLFCN_H 1 + +/* Define to 1 if you have the <endian.h> header file. */ +#define HAVE_ENDIAN_H 1 + +/* Define to 1 if you have the `getpagesize' function. */ +#define HAVE_GETPAGESIZE 1 + +/* Define to 1 if you have the <inttypes.h> header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define to 1 if you have the <memory.h> header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have a working `mmap' system call. */ +#define HAVE_MMAP 1 + +/* Whether the platform has a definition of O_CLOEXEC. */ +#define HAVE_O_CLOEXEC 1 + +/* Define to 1 if you have the `pread' function. */ +#define HAVE_PREAD 1 + +/* Define to 1 if you have the `qsort_r' function. */ +/* #undef HAVE_QSORT_R */ + +/* Whether a qsort_r exists with a void *arg as its last arg. */ +/* #undef HAVE_QSORT_R_ARG_LAST */ + +/* Whether a qsort_r exists with the compar function as its last arg. */ +/* #undef HAVE_QSORT_R_COMPAR_LAST */ + +/* Define to 1 if you have the <stdint.h> header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the <stdlib.h> header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the <strings.h> header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the <string.h> header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the <sys/param.h> header file. */ +#define HAVE_SYS_PARAM_H 1 + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the <sys/types.h> header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the <unistd.h> header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to the sub-directory in which libtool stores uninstalled libraries. + */ +#define LT_OBJDIR ".libs/" + +/* Name of package */ +#define PACKAGE "libctf-library" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "libctf library" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "libctf library 1.2.0-pre" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "libctf-library" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "1.2.0-pre" + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Enable extensions on AIX 3, Interix. */ +#ifndef _ALL_SOURCE +# define _ALL_SOURCE 1 +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +#endif +/* Enable threading extensions on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# define _POSIX_PTHREAD_SEMANTICS 1 +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# define _TANDEM_SOURCE 1 +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# define __EXTENSIONS__ 1 +#endif + + +/* Version number of package */ +#define VERSION "1.2.0-pre" + +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +/* # undef WORDS_BIGENDIAN */ +# endif +#endif + +/* Enable large inode numbers on Mac OS X 10.5. */ +#ifndef _DARWIN_USE_64_BIT_INODE +# define _DARWIN_USE_64_BIT_INODE 1 +#endif + +/* Number of bits in a file offset, on hosts where this is settable. */ +/* #undef _FILE_OFFSET_BITS */ + +/* Define for large files, on AIX-style hosts. */ +/* #undef _LARGE_FILES */ + +/* Define to 1 if on MINIX. */ +/* #undef _MINIX */ + +/* Define to 2 if the system does not provide POSIX.1 features except with + this defined. */ +/* #undef _POSIX_1_SOURCE */ + +/* Define to 1 if you need to in order for `stat' and other things to work. */ +/* #undef _POSIX_SOURCE */ Index: src/external/gpl3/binutils/lib/libgnuctf/arch/x86_64/defs.mk diff -u /dev/null src/external/gpl3/binutils/lib/libgnuctf/arch/x86_64/defs.mk:1.1 --- /dev/null Fri Apr 3 21:34:30 2020 +++ src/external/gpl3/binutils/lib/libgnuctf/arch/x86_64/defs.mk Fri Apr 3 21:34:30 2020 @@ -0,0 +1,5 @@ +# This file is automatically generated. DO NOT EDIT! +# Generated from: NetBSD: mknative-binutils,v 1.12 2020/04/04 00:47:52 christos Exp +# Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp +# +G_libctf_la_SOURCES=ctf-archive.c ctf-dump.c ctf-create.c ctf-decl.c ctf-error.c ctf-hash.c ctf-labels.c ctf-link.c ctf-lookup.c ctf-open.c ctf-string.c ctf-subr.c ctf-types.c ctf-util.c ctf-qsort_r.c ctf-open-bfd.c