binutils-gdb/bfd
Tom Tromey eac61af65b Allow BFD to recognize macOS universal libraries
Bug #13157 is about a gdb regression, where previously it could handle
universal libraries, but now cannot.

gdb isn't working for me on macOS for other reasons, so I wrote this
small test program to show the problem:

    #include <config.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <bfd.h>

    void
    die (const char *what)
    {
      fprintf (stderr, "die: %s\n", what);
      exit (1);
    }

    int
    main (int argc, char **argv)
    {
      bfd *file = bfd_openr (argv[1], NULL);
      if (file == NULL)
	die ("couldn't open");

      if (!bfd_check_format (file, bfd_archive))
	die ("not an archive");

      printf ("yay\n");

      bfd_close (file);
      return 0;
    }

Then I built a simple universal binary.  With git master BFD, I get:

    $ ./doit ./universal-exe
    die: not an archive

Jeff Muizelaar tracked this down to the BFD change for PR binutils/21787.
This patch changed bfd_generic_archive_p to sometimes reset the BFD's
"format" field.

However, simply changing bfd_generic_archive_p regressed the test case
in that bug.

Debugging PR binutils/21787 again, what I saw is that the mach-o
universal binary support acts like a bfd_archive but does not provide
a _close_and_cleanup function.  However, if a BFD appears as an
archive member, it must always remove its own entry from its parent's
map.  Otherwise, when the parent is destroyed, the already-destroyed
child BFD will be referenced.  mach-o does not use the usual archive
member support, so simply using _bfd_archive_close_and_cleanup (as
other targets do) will not work.

This patch fixes the problem by introducing a new
_bfd_unlink_from_archive_parent function, then arranging for it to be
called in the mach-o case.

Ok?

bfd/ChangeLog
2018-07-02  Jeff Muizelaar  <jrmuizel@gmail.com>
	    Tom Tromey  <tom@tromey.com>

	PR 13157
	PR 21787
	* mach-o.c (bfd_mach_o_fat_close_and_cleanup): New function.
	(bfd_mach_o_close_and_cleanup): Redefine.
	* archive.c (_bfd_unlink_from_archive_parent): New function,
	extracted from..
	(_bfd_archive_close_and_cleanup): ..here.
	(bfd_generic_archive_p): Do not clear archive's format.
	* libbfd-in.h (_bfd_unlink_from_archive_parent): Declare.
	* libbfd.h: Regenerate.
2018-07-02 08:24:32 -06:00
..
doc Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
hosts Remove m68k-aout and m68k-coff support 2018-04-16 15:31:36 +09:30
po Updated translations. 2018-06-26 14:03:16 +01:00
.gitignore
acinclude.m4 Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
aclocal.m4 Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
aix5ppc-core.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
aix386-core.c Remove bfd stub function casts. 2018-02-16 19:09:23 +10:30
aout32.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
aout64.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
aout-cris.c Use standardized error message for unrecognized relocs. 2018-02-27 12:16:04 +00:00
aout-ns32k.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
aout-target.h ld: Hide symbols defined by HIDDEN/PROVIDE_HIDDEN 2018-05-21 20:39:30 -07:00
aout-tic30.c ld: Hide symbols defined by HIDDEN/PROVIDE_HIDDEN 2018-05-21 20:39:30 -07:00
aoutx.h Prevent an illegal memory access in gprof by ensuring that string tables for aout format files are always zero-terminated. 2018-04-23 12:52:42 +01:00
arc-got.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
arc-plt.def Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
arc-plt.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
archive64.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
archive.c Allow BFD to recognize macOS universal libraries 2018-07-02 08:24:32 -06:00
archures.c [ARM] Update bfd's Tag_CPU_arch knowledge 2018-07-02 11:22:20 +01:00
bfd-in2.h [ARM] Update bfd's Tag_CPU_arch knowledge 2018-07-02 11:22:20 +01:00
bfd-in.h Use DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION to silence GCC 8.1 2018-06-04 10:01:46 -07:00
bfd.c Tidy bfdio to consistenly use containing archive 2018-06-05 22:39:12 +09:30
bfd.m4 Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
bfdio.c PR23282, Reinstate seek optimization 2018-06-14 11:32:01 +09:30
bfdwin.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
binary.c ld: Hide symbols defined by HIDDEN/PROVIDE_HIDDEN 2018-05-21 20:39:30 -07:00
cache.c Tidy bfdio to consistenly use containing archive 2018-06-05 22:39:12 +09:30
cf-i386lynx.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
ChangeLog Allow BFD to recognize macOS universal libraries 2018-07-02 08:24:32 -06:00
ChangeLog-0001
ChangeLog-0203
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017 ChangeLog rotation 2018-01-03 17:49:42 +10:30
ChangeLog-9193
ChangeLog-9495
ChangeLog-9697
ChangeLog-9899
cisco-core.c Remove bfd stub function casts. 2018-02-16 19:09:23 +10:30
coff64-rs6000.c ld: Hide symbols defined by HIDDEN/PROVIDE_HIDDEN 2018-05-21 20:39:30 -07:00
coff-alpha.c ld: Hide symbols defined by HIDDEN/PROVIDE_HIDDEN 2018-05-21 20:39:30 -07:00
coff-arm.c Remove arm-epoc-pe support 2018-04-16 20:29:05 +09:30
coff-bfd.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
coff-bfd.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
coff-go32.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
coff-i386.c Remove bfd stub function casts. 2018-02-16 19:09:23 +10:30
coff-ia64.c Remove bfd stub function casts. 2018-02-16 19:09:23 +10:30
coff-mcore.c AOUT/COFF/PE messages 2018-02-26 09:32:35 +10:30
coff-mips.c ld: Hide symbols defined by HIDDEN/PROVIDE_HIDDEN 2018-05-21 20:39:30 -07:00
coff-ppc.c unrecognized/unsupported reloc message 2018-02-26 09:28:27 +10:30
coff-rs6000.c ld: Hide symbols defined by HIDDEN/PROVIDE_HIDDEN 2018-05-21 20:39:30 -07:00
coff-sh.c unrecognized/unsupported reloc message 2018-02-26 09:28:27 +10:30
coff-stgo32.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
coff-tic4x.c unrecognized/unsupported reloc message 2018-02-26 09:28:27 +10:30
coff-tic30.c Remove bfd stub function casts. 2018-02-16 19:09:23 +10:30
coff-tic54x.c unrecognized/unsupported reloc message 2018-02-26 09:28:27 +10:30
coff-tic80.c unrecognized/unsupported reloc message 2018-02-26 09:28:27 +10:30
coff-x86_64.c Remove bfd stub function casts. 2018-02-16 19:09:23 +10:30
coff-z8k.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
coff-z80.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
coffcode.h Tidy bfdio to consistenly use containing archive 2018-06-05 22:39:12 +09:30
coffgen.c Prevent an illegal memory access via an out of range fixup pointer. 2018-04-16 12:59:37 +01:00
cofflink.c Replace uses of strncmp with memcmp 2018-05-07 12:33:26 +09:30
coffswap.h Remove m68k-aout and m68k-coff support 2018-04-16 15:31:36 +09:30
compress.c %L conversions 2018-02-19 23:55:54 +10:30
config.bfd 2018-05-30 Amaan Cheval <amaan.cheval@gmail.com> 2018-05-30 10:04:28 -05:00
config.in Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
configure Update version number on development (aka HEAD) branch. 2018-06-24 18:46:33 +01:00
configure.ac Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
configure.com Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
configure.host Remove m68k-aout and m68k-coff support 2018-04-16 15:31:36 +09:30
COPYING
corefile.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-aarch64.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-alpha.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-arc.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-arm.c [ARM] Update bfd's Tag_CPU_arch knowledge 2018-07-02 11:22:20 +01:00
cpu-avr.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-bfin.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-cr16.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-cr16c.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-cris.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-crx.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-d10v.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-d30v.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-dlx.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-epiphany.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-fr30.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-frv.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-ft32.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-h8300.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-hppa.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-i386.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-ia64-opc.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-ia64.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-iamcu.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-ip2k.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-iq2000.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-k1om.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-l1om.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-lm32.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-m9s12x.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-m9s12xg.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-m32c.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-m32r.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-m68hc11.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-m68hc12.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-m68k.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-m10200.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-m10300.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-mcore.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-mep.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-metag.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-microblaze.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-mips.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-mmix.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-moxie.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-msp430.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-mt.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-nds32.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-nfp.c This patch adds support to objdump for disassembly of NFP (Netronome Flow Processor) ELF files (.nffw) as well as some basic readelf support. 2018-04-30 17:02:59 +01:00
cpu-nios2.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-ns32k.c Remove m88k support 2018-04-16 15:23:38 +09:30
cpu-or1k.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-pdp11.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-pj.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-plugin.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-powerpc.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-pru.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-riscv.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-rl78.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-rs6000.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-rx.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-s12z.c Add support for the Freescale s12z processor. 2018-05-18 15:26:18 +01:00
cpu-s390.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-score.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-sh.c Remove sh5 and sh64 support 2018-04-16 15:29:39 +09:30
cpu-sparc.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-spu.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-tic4x.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-tic6x.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-tic30.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-tic54x.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-tic80.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-tilegx.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-tilepro.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-v850_rh850.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-v850.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-vax.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-visium.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-wasm32.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-xc16x.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-xgate.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-xstormy16.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-xtensa.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-z8k.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cpu-z80.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
dep-in.sed
development.sh Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
dwarf1.c Fix potential integer overflow when reading corrupt dwarf1 debug information. 2018-02-28 10:13:54 +00:00
dwarf2.c Add a check for a NULL table pointer before attempting to compute a DWARF filename. 2018-04-17 14:30:07 +01:00
ecoff.c Remove netware support 2018-04-16 15:11:22 +09:30
ecofflink.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
ecoffswap.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32-am33lin.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32-arc.c ld: Unify STT_GNU_IFUNC handling 2018-05-28 08:15:21 -07:00
elf32-arm.c [ARM] Update bfd's Tag_CPU_arch knowledge 2018-07-02 11:22:20 +01:00
elf32-avr.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-avr.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32-bfin.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-cr16.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-cr16c.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-cris.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-crx.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-d10v.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-d30v.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-dlx.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-dlx.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32-epiphany.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-fr30.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-frv.c PR binutils/22875: FRV/ELF: Prevent an out-of-bounds howto table access 2018-04-04 02:00:48 +01:00
elf32-ft32.c correct ft32 reloc range test 2018-03-01 09:12:50 +10:30
elf32-gen.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-h8300.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-hppa.c PR23207, hppa ld SIGSEGVs on invalid object files 2018-05-22 19:37:06 +09:30
elf32-hppa.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32-i386.c x86-64: Add TLSDESC fields to elf_x86_lazy_plt_layout 2018-05-28 10:46:16 -07:00
elf32-ip2k.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-iq2000.c PR binutils/22875: IQ2000/ELF: Prevent an out-of-bounds howto table access 2018-04-04 02:00:49 +01:00
elf32-lm32.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-m32c.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-m32r.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-m68hc1x.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-m68hc1x.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32-m68hc11.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-m68hc12.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-m68k.c ld: Unify STT_GNU_IFUNC handling 2018-05-28 08:15:21 -07:00
elf32-mcore.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-mep.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-metag.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-metag.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32-microblaze.c [MicroBlaze] PIC data text relative 2018-04-17 14:47:13 -07:00
elf32-mips.c BFD: Prevent writing the MIPS _gp_disp symbol into symbol tables 2018-05-03 17:17:46 +01:00
elf32-moxie.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-msp430.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-mt.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-nds32.c NDS32/BFD: Fix build error in `nds32_convert_32_to_16' 2018-05-16 20:43:29 +01:00
elf32-nds32.h nds32: Support target directive .ict_model. 2018-02-23 14:27:13 +08:00
elf32-nios2.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-nios2.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32-or1k.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-pj.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-ppc.c Use DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION to silence GCC 8.1 2018-06-04 10:01:46 -07:00
elf32-ppc.h Inline PLT call optimization 2018-04-09 17:40:54 +09:30
elf32-pru.c Fix binary compatibility between GCC and the TI compiler for the PRU target. 2018-05-09 11:39:32 +01:00
elf32-rl78.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-rx.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-rx.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32-s12z.c Add support for the Freescale s12z processor. 2018-05-18 15:26:18 +01:00
elf32-s390.c Use DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION to silence GCC 8.1 2018-06-04 10:01:46 -07:00
elf32-score7.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-score.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-score.h Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-sh-relocs.h Remove sh5 and sh64 support 2018-04-16 15:29:39 +09:30
elf32-sh.c Remove sh5 and sh64 support 2018-04-16 15:29:39 +09:30
elf32-sparc.c ld: Unify STT_GNU_IFUNC handling 2018-05-28 08:15:21 -07:00
elf32-spu.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-spu.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32-tic6x.c TIC6X __c6xabi_DSBT_BASE 2018-06-07 09:07:32 +09:30
elf32-tic6x.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32-tilegx.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32-tilegx.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32-tilepro.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-tilepro.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32-v850.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-vax.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-visium.c PR binutils/22875: Visium/ELF: Prevent an out-of-bounds howto table access 2018-04-04 02:00:49 +01:00
elf32-wasm32.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-xc16x.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-xgate.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-xgate.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32-xstormy16.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf32-xtensa.c xtensa: use property tables for correct disassembly 2018-06-04 10:38:55 -07:00
elf32.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf64-alpha.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf64-gen.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf64-hppa.c %L conversions 2018-02-19 23:55:54 +10:30
elf64-hppa.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf64-ia64-vms.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf64-mips.c MIPS64/BFD: Fix a crash with STN_UNDEF in relocation 2018-04-09 13:42:00 +01:00
elf64-mmix.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf64-nfp.c This patch adds support to objdump for disassembly of NFP (Netronome Flow Processor) ELF files (.nffw) as well as some basic readelf support. 2018-04-30 17:02:59 +01:00
elf64-ppc.c Use DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION to silence GCC 8.1 2018-06-04 10:01:46 -07:00
elf64-ppc.h Inline PLT call optimization 2018-04-09 17:40:54 +09:30
elf64-s390.c Use DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION to silence GCC 8.1 2018-06-04 10:01:46 -07:00
elf64-sparc.c ld: Unify STT_GNU_IFUNC handling 2018-05-28 08:15:21 -07:00
elf64-tilegx.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf64-tilegx.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf64-x86-64.c x86-64: Add TLSDESC fields to elf_x86_lazy_plt_layout 2018-05-28 10:46:16 -07:00
elf64.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf-attrs.c Prevent a memory exhaustion failure when running objdump on a fuzzed input file with corrupt string and attribute sections. 2018-05-08 12:51:06 +01:00
elf-bfd.h ELF dynsyms 2018-06-14 11:32:01 +09:30
elf-eh-frame.c ELF linker messages 2018-02-26 09:29:15 +10:30
elf-hppa.h elf-hppa.h warning fix 2018-04-05 08:24:15 +09:30
elf-ifunc.c x86; Allow IFUNC pointer defined in PDE 2018-05-14 03:55:50 -07:00
elf-linux-core.h -Wstringop-truncation warnings 2018-05-04 18:58:23 +09:30
elf-m10200.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf-m10300.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elf-nacl.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf-nacl.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf-properties.c Use %pA and %pB in messages rather than %A and %B 2018-02-19 23:55:53 +10:30
elf-s390-common.c ld: Unify STT_GNU_IFUNC handling 2018-05-28 08:15:21 -07:00
elf-s390.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf-strtab.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf-vxworks.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf-vxworks.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf.c elf: Check if the first symbol version is base version 2018-06-14 05:37:33 -07:00
elfcode.h Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elfcore.h Don't use %ll 2018-02-19 23:55:55 +10:30
elflink.c ELF dynsyms 2018-06-14 11:32:01 +09:30
elfn32-mips.c PR binutils/22875: MIPS/ELF: Also fail with relocation placeholders 2018-04-04 02:00:48 +01:00
elfnn-aarch64.c Fix compile time warning message for the AArch64 BFD backend, about a possible attempt to call sprintf on a NULL buffer pointer. 2018-06-25 12:49:14 +01:00
elfnn-ia64.c Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elfnn-riscv.c RISC-V: Fix 3 PIE related ld testsuite failures. 2018-06-21 11:45:43 -07:00
elfxx-aarch64.c [BFD][AARCH64]Properly truncate no overflow checking relocation value for load/store immediate. 2018-06-20 14:47:37 +01:00
elfxx-aarch64.h ld: Unify STT_GNU_IFUNC handling 2018-05-28 08:15:21 -07:00
elfxx-ia64.c Use standardized error message for unrecognized relocs. 2018-02-27 12:16:04 +00:00
elfxx-ia64.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elfxx-mips.c MIPS/BFD: Remove extraneous undefined weak symbol visibility check 2018-06-29 15:45:28 +01:00
elfxx-mips.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elfxx-riscv.c unrecognized/unsupported reloc message 2018-02-26 09:28:27 +10:30
elfxx-riscv.h unrecognized/unsupported reloc message 2018-02-26 09:28:27 +10:30
elfxx-sparc.c PR ld/22972 on SPARC. 2018-03-28 12:17:15 +02:00
elfxx-sparc.h Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elfxx-target.h ld: Hide symbols defined by HIDDEN/PROVIDE_HIDDEN 2018-05-21 20:39:30 -07:00
elfxx-tilegx.c Use standardized error message for unrecognized relocs. 2018-02-27 12:16:04 +00:00
elfxx-tilegx.h Have info_to_howto functions return a success/fail status. Check this result. Stop strip from completeing if one of these functions fails. 2018-02-27 10:15:13 +00:00
elfxx-x86.c ld/x86: Remove hidden _edata, __bss_start, and _end 2018-06-08 12:41:54 -07:00
elfxx-x86.h x86-64: Add TLSDESC fields to elf_x86_lazy_plt_layout 2018-05-28 10:46:16 -07:00
format.c PR22458, failure to choose a matching ELF target 2018-05-16 21:42:58 +09:30
gen-aout.c Remove m68k-aout and m68k-coff support 2018-04-16 15:31:36 +09:30
genlink.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
go32stub.h
hash.c Fix illegal memory accesses trigeered when linking corrupt input files. 2018-04-17 17:47:51 +01:00
host-aout.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
hppabsd-core.c Remove bfd stub function casts. 2018-02-16 19:09:23 +10:30
hpux-core.c Remove m68k-aout and m68k-coff support 2018-04-16 15:31:36 +09:30
i386aout.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
i386bsd.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
i386lynx.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
i386msdos.c ld: Hide symbols defined by HIDDEN/PROVIDE_HIDDEN 2018-05-21 20:39:30 -07:00
ihex.c ld: Hide symbols defined by HIDDEN/PROVIDE_HIDDEN 2018-05-21 20:39:30 -07:00
init.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
irix-core.c Remove bfd stub function casts. 2018-02-16 19:09:23 +10:30
libaout.h Remove m68k-aout and m68k-coff support 2018-04-16 15:31:36 +09:30
libbfd-in.h Allow BFD to recognize macOS universal libraries 2018-07-02 08:24:32 -06:00
libbfd.c Add support for the Freescale s12z processor. 2018-05-18 15:26:18 +01:00
libbfd.h Allow BFD to recognize macOS universal libraries 2018-07-02 08:24:32 -06:00
libcoff-in.h libbfd.h and libcoff.h include guards 2018-05-18 13:07:21 +09:30
libcoff.h libbfd.h and libcoff.h include guards 2018-05-18 13:07:21 +09:30
libecoff.h Remove bfd stub function casts. 2018-02-16 19:09:23 +10:30
libhppa.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
libpei.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
libxcoff.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
linker.c ld: Hide symbols defined by HIDDEN/PROVIDE_HIDDEN 2018-05-21 20:39:30 -07:00
lynx-core.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
mach-o-aarch64.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
mach-o-arm.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
mach-o-i386.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
mach-o-target.c Stop objcopy from corrupting mach-o files. 2018-06-20 10:43:00 +01:00
mach-o-x86-64.c Add support for the TLV relocation generated by LLVM for x86_64 MACH-O targets. 2018-06-18 12:56:44 +01:00
mach-o.c Allow BFD to recognize macOS universal libraries 2018-07-02 08:24:32 -06:00
mach-o.h Stop objcopy from corrupting mach-o files. 2018-06-20 10:43:00 +01:00
MAINTAINERS Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
Makefile.am Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
Makefile.in Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
makefile.vms Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
mep-relocs.pl Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
merge.c %L conversions 2018-02-19 23:55:54 +10:30
mmo.c ld: Hide symbols defined by HIDDEN/PROVIDE_HIDDEN 2018-05-21 20:39:30 -07:00
netbsd-core.c Remove m88k support 2018-04-16 15:23:38 +09:30
netbsd.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
ns32k.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
ns32knetbsd.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
opncls.c Fix potential illegal memroy access when using a build-id note with a negative size. 2018-06-20 16:30:05 +01:00
osf-core.c assorted target messages 2018-02-26 09:34:15 +10:30
pc532-mach.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pdp11.c Remove m68k-aout and m68k-coff support 2018-04-16 15:31:36 +09:30
pe-arm-wince.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pe-arm.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pe-i386.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pe-mcore.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pe-ppc.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pe-sh.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pe-x86_64.c Remove bfd stub function casts. 2018-02-16 19:09:23 +10:30
pef-traceback.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pef.c ld: Hide symbols defined by HIDDEN/PROVIDE_HIDDEN 2018-05-21 20:39:30 -07:00
pef.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pei-arm-wince.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pei-arm.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pei-i386.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pei-ia64.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pei-mcore.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pei-ppc.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pei-sh.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pei-x86_64.c Prevent memory access violations when attempting to parse an x86_64 PE binary containing corrupt unwind information. 2018-03-13 14:02:52 +00:00
peicode.h Remove m68k-aout and m68k-coff support 2018-04-16 15:31:36 +09:30
peXXigen.c PR23148, Heap buffer overflow in pe_print_edata 2018-05-09 14:14:10 +09:30
plugin.c PR23254, ld.bfd mishandles file pointers while scanning archive 2018-06-05 22:39:11 +09:30
plugin.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
PORTING Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
ppcboot.c ld: Hide symbols defined by HIDDEN/PROVIDE_HIDDEN 2018-05-21 20:39:30 -07:00
ptrace-core.c Remove bfd stub function casts. 2018-02-16 19:09:23 +10:30
README Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
reloc16.c Remove h8300-coff support 2018-04-16 15:17:57 +09:30
reloc.c Add support for the TLV relocation generated by LLVM for x86_64 MACH-O targets. 2018-06-18 12:56:44 +01:00
rs6000-core.c Use %pA and %pB in messages rather than %A and %B 2018-02-19 23:55:53 +10:30
sco5-core.c Remove bfd stub function casts. 2018-02-16 19:09:23 +10:30
section.c PR22458, failure to choose a matching ELF target 2018-05-16 21:42:58 +09:30
simple.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
som.c ld: Hide symbols defined by HIDDEN/PROVIDE_HIDDEN 2018-05-21 20:39:30 -07:00
som.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
srec.c ld: Hide symbols defined by HIDDEN/PROVIDE_HIDDEN 2018-05-21 20:39:30 -07:00
stab-syms.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
stabs.c BFD messages 2018-02-26 09:33:15 +10:30
stamp-h.in
syms.c BFD messages 2018-02-26 09:33:15 +10:30
sysdep.h PR23254, ld.bfd mishandles file pointers while scanning archive 2018-06-05 22:39:11 +09:30
targets.c ld: Hide symbols defined by HIDDEN/PROVIDE_HIDDEN 2018-05-21 20:39:30 -07:00
targmatch.sed
tekhex.c ld: Hide symbols defined by HIDDEN/PROVIDE_HIDDEN 2018-05-21 20:39:30 -07:00
TODO Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
trad-core.c Remove bfd stub function casts. 2018-02-16 19:09:23 +10:30
vax1knetbsd.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
vaxnetbsd.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
verilog.c Remove bfd stub function casts. 2018-02-16 19:09:23 +10:30
version.h Automatic date update in version.in 2018-07-02 00:00:53 +00:00
version.m4 Update version number on development (aka HEAD) branch. 2018-06-24 18:46:33 +01:00
vms-alpha.c ld: Hide symbols defined by HIDDEN/PROVIDE_HIDDEN 2018-05-21 20:39:30 -07:00
vms-lib.c Remove bfd stub function casts. 2018-02-16 19:09:23 +10:30
vms-misc.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
vms.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
warning.m4 Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
wasm-module.c Remove bfd stub function casts. 2018-02-16 19:09:23 +10:30
wasm-module.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
xcofflink.c %L conversions 2018-02-19 23:55:54 +10:30
xsym.c ld: Hide symbols defined by HIDDEN/PROVIDE_HIDDEN 2018-05-21 20:39:30 -07:00
xsym.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
xtensa-isa.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
xtensa-modules.c Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

BFD is an object file library.  It permits applications to use the
same routines to process object files regardless of their format.

BFD is used by the GNU debugger, assembler, linker, and the binary
utilities.

The documentation on using BFD is scanty and may be occasionally
incorrect.  Pointers to documentation problems, or an entirely
rewritten manual, would be appreciated.

There is some BFD internals documentation in doc/bfdint.texi which may
help programmers who want to modify BFD.

BFD is normally built as part of another package.  See the build
instructions for that package, probably in a README file in the
appropriate directory.

BFD supports the following configure options:

  --target=TARGET
	The default target for which to build the library.  TARGET is
	a configuration target triplet, such as sparc-sun-solaris.
  --enable-targets=TARGET,TARGET,TARGET...
	Additional targets the library should support.  To include
	support for all known targets, use --enable-targets=all.
  --enable-64-bit-bfd
	Include support for 64 bit targets.  This is automatically
	turned on if you explicitly request a 64 bit target, but not
	for --enable-targets=all.  This requires a compiler with a 64
	bit integer type, such as gcc.
  --enable-shared
	Build BFD as a shared library.
  --with-mmap
	Use mmap when accessing files.  This is faster on some hosts,
	but slower on others.  It may not work on all hosts.

Report bugs with BFD to bug-binutils@gnu.org.

Patches are encouraged.  When sending patches, always send the output
of diff -u or diff -c from the original file to the new file.  Do not
send default diff output.  Do not make the diff from the new file to
the original file.  Remember that any patch must not break other
systems.  Remember that BFD must support cross compilation from any
host to any target, so patches which use ``#ifdef HOST'' are not
acceptable.  Please also read the ``Reporting Bugs'' section of the
gcc manual.

Bug reports without patches will be remembered, but they may never get
fixed until somebody volunteers to fix them.

Copyright (C) 2012-2018 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.