binutils-gdb/bfd
Alan Modra caa4096e84 Don't call bfd_link_hash_table_free
Freeing the linker hash table is a royal pain.  It can't be freed
before the _bfd_write_contents call in bfd_close, because some target
bfd_write_contents functions access the hash table.  It can't be freed
after bfd_close either, since bfd_alloc memory holding side data
structures disappears (PR17047).  Clearly the only place it can be freed
is actually in bfd_close.  This patch doesn't do that, but kills off
the existing means of freeing the hash table via a bfd target xvec call.

bfd/
	PR 17047
	* targets.c (BFD_JUMP_TABLE): Delete NAME##_bfd_link_hash_table_free.
	(struct bfd_target <_bfd_link_hash_table_free>): Delete.
	* bfd.c (bfd_link_hash_table_free): Don't define.
	* aout-adobe.c, * aout-target.h, * aout-tic30.c, * binary.c, * bout.c,
	* coff64-rs6000.c, * coffcode.h, * elf-m10300.c, * elf32-arm.c,
	* elf32-avr.c, * elf32-hppa.c, * elf32-i386.c, * elf32-m68hc11.c,
	* elf32-m68hc12.c, * elf32-m68k.c, * elf32-metag.c, * elf32-nios2.c,
	* elf32-sparc.c, * elf32-xgate.c, * elf64-ia64-vms.c, * elf64-ppc.c,
	* elf64-sparc.c, * elf64-x86-64.c, * elfnn-aarch64.c, * elfnn-ia64.c,
	* elfxx-target.h, * i386msdos.c, * i386os9k.c, * ieee.c, * ihex.c,
	* libbfd-in.h, * libecoff.h, * mach-o-target.c, * mmo.c,
	* nlm-target.h, * oasys.c, * pef.c, * plugin.c, * ppcboot.c, * som.c,
	* srec.c, * tekhex.c, * verilog.c, * versados.c, * vms-alpha.c,
	* xsym.c: Don't define various link_hash_table_free defines, and
	remove from bfd_target vars.  Temporarily reference some of the
	target link_hash_table_free functions to avoid warnings.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.
ld/
	PR 17047
	* ldlang.c (output_bfd_hash_table_free_fn): Delete.
	(open_output): Don't set it..
	* ldmain.c (ld_cleanup): ..or call it.
2014-06-13 19:11:29 +09:30
..
doc Add a time-stamp for chew 2014-04-09 15:32:14 +09:30
hosts Update copyright years 2014-03-05 22:16:15 +10:30
po Regenerate files for openrisk -> or1k change 2014-04-26 23:03:04 +09:30
.gitignore bfd/binutils/gas/gprof/ld/libiberty/opcodes: add .gitignore 2010-12-09 09:03:18 +00:00
COPYING Switch sources over to use the GPL version 3 2007-07-03 14:26:43 +00:00
ChangeLog Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
ChangeLog-0001 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-0203 Update copyright years 2014-03-05 22:16:15 +10:30
ChangeLog-2004 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2005 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2006 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2007 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2008 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2009 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2010 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2011 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2012 correct pr reference 2013-02-04 05:10:44 +00:00
ChangeLog-2013 New Year - binutils ChangeLog rotation 2014-01-08 05:32:12 -08:00
ChangeLog-9193 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-9495 Update copyright years 2014-03-05 22:16:15 +10:30
ChangeLog-9697 Update copyright years 2014-03-05 22:16:15 +10:30
ChangeLog-9899 Update copyright years 2014-03-05 22:16:15 +10:30
MAINTAINERS Update copyright years 2014-03-05 22:16:15 +10:30
Makefile.am Make it easy to make --disable-werror the default for both binutils and gdb 2014-06-05 05:47:29 -07:00
Makefile.in Make it easy to make --disable-werror the default for both binutils and gdb 2014-06-05 05:47:29 -07:00
PORTING Update copyright years 2014-03-05 22:16:15 +10:30
README Update copyright years 2014-03-05 22:16:15 +10:30
TODO Update copyright years 2014-03-05 22:16:15 +10:30
acinclude.m4 Update copyright years 2014-03-05 22:16:15 +10:30
aclocal.m4 Regenerate. 2012-11-08 03:03:26 +00:00
aix5ppc-core.c Update copyright years 2014-03-05 22:16:15 +10:30
aix386-core.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
aout-adobe.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
aout-arm.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
aout-cris.c Update copyright years 2014-03-05 22:16:15 +10:30
aout-ns32k.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
aout-sparcle.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
aout-target.h Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
aout-tic30.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
aout0.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
aout32.c Update copyright years 2014-03-05 22:16:15 +10:30
aout64.c Update copyright years 2014-03-05 22:16:15 +10:30
aoutf1.h Update copyright years 2014-03-05 22:16:15 +10:30
aoutx.h Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
archive.c Update copyright years 2014-03-05 22:16:15 +10:30
archive64.c Update copyright years 2014-03-05 22:16:15 +10:30
archures.c Add MIPS r3 and r5 support. 2014-05-07 11:47:29 +01:00
armnetbsd.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
bfd-in.h Fix sim breakage 2014-04-03 12:08:01 +10:30
bfd-in2.h Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
bfd.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
bfd.m4 Update copyright years 2014-03-05 22:16:15 +10:30
bfdio.c Update copyright years 2014-03-05 22:16:15 +10:30
bfdwin.c Update copyright years 2014-03-05 22:16:15 +10:30
binary.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
bout.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
cache.c Update copyright years 2014-03-05 22:16:15 +10:30
cf-i386lynx.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
cf-sparclynx.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
cisco-core.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-alpha.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-apollo.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-arm.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-aux.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-go32.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-h8300.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-h8500.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-i386.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-i860.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-i960.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-ia64.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-m68k.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-m88k.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-mcore.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-mips.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-ppc.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
coff-rs6000.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
coff-sh.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-sparc.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-stgo32.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-svm68k.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-tic4x.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-tic30.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-tic54x.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-tic80.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-u68k.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-w65.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-we32k.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-x86_64.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-z8k.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff-z80.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
coff64-rs6000.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
coffcode.h Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
coffgen.c Update copyright years 2014-03-05 22:16:15 +10:30
cofflink.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
coffswap.h Update copyright years 2014-03-05 22:16:15 +10:30
compress.c Fixes a problem with the BFD library running out of memory because it mistakenly 2014-04-30 17:04:04 +01:00
config.bfd * config.bfd: Move QNX target_cflags from arm-*-netbsd* to arm-*-nto*. 2014-05-17 17:48:44 +01:00
config.in Fix build time problem with MingGW hosts, which do not have a strnlen() function. 2014-03-14 11:21:00 +00:00
configure Make it easy to make --disable-werror the default for both binutils and gdb 2014-06-05 05:47:29 -07:00
configure.com bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
configure.host Update copyright years 2014-03-05 22:16:15 +10:30
configure.in Sort target vectors to suit renaming 2014-05-02 20:11:49 +09:30
corefile.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-aarch64.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-alpha.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-arc.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-arm.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-avr.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-bfin.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-cr16.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-cr16c.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-cris.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-crx.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-d10v.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-d30v.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-dlx.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-epiphany.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-fr30.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-frv.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-h8300.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-h8500.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-hppa.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-i370.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-i386.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-i860.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-i960.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-ia64-opc.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-ia64.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-ip2k.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-iq2000.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-k1om.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-l1om.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-lm32.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-m9s12x.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-m9s12xg.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-m32c.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-m32r.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-m68hc11.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-m68hc12.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-m68k.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-m88k.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-m10200.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-m10300.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-mcore.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-mep.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-metag.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-microblaze.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-mips.c Add MIPS r3 and r5 support. 2014-05-07 11:47:29 +01:00
cpu-mmix.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-moxie.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-msp430.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-mt.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-nds32.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-nios2.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-ns32k.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-or1k.c Remove support for the (deprecated) openrisc and or32 configurations and replace 2014-04-22 15:57:47 +01:00
cpu-pdp11.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-pj.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-plugin.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-powerpc.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-rl78.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-rs6000.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-rx.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-s390.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-score.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-sh.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-sparc.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-spu.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-tic4x.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-tic6x.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-tic30.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-tic54x.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-tic80.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-tilegx.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-tilepro.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-v850.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-v850_rh850.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-vax.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-w65.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-we32k.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-xc16x.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-xgate.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-xstormy16.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-xtensa.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-z8k.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-z80.c Update copyright years 2014-03-05 22:16:15 +10:30
demo64.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
dep-in.sed * dep-in.sed: Don't use \n in replacement part of s command. 2009-06-04 06:51:11 +00:00
development.sh Make it easy to make --disable-werror the default for both binutils and gdb 2014-06-05 05:47:29 -07:00
dwarf1.c Update copyright years 2014-03-05 22:16:15 +10:30
dwarf2.c addr2line: fix missing inlined frames. 2014-05-28 09:22:41 +02:00
ecoff.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
ecofflink.c Update copyright years 2014-03-05 22:16:15 +10:30
ecoffswap.h Update copyright years 2014-03-05 22:16:15 +10:30
elf-attrs.c Patch for PR binutils/16664 which triggers a seg-fault when attempting to 2014-03-06 10:57:13 +00:00
elf-bfd.h Unwrap symbols for debug information 2014-06-10 23:00:22 +09:30
elf-eh-frame.c Don't use vma to identify eh_frame personality function 2014-04-30 10:11:56 +09:30
elf-hppa.h Update copyright years 2014-03-05 22:16:15 +10:30
elf-ifunc.c Update copyright years 2014-03-05 22:16:15 +10:30
elf-linux-psinfo.h Update copyright years 2014-03-05 22:16:15 +10:30
elf-m10200.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf-m10300.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
elf-nacl.c Update copyright years 2014-03-05 22:16:15 +10:30
elf-nacl.h Update copyright years 2014-03-05 22:16:15 +10:30
elf-s390-common.c Update copyright years 2014-03-05 22:16:15 +10:30
elf-strtab.c Update copyright years 2014-03-05 22:16:15 +10:30
elf-vxworks.c Update copyright years 2014-03-05 22:16:15 +10:30
elf-vxworks.h Update copyright years 2014-03-05 22:16:15 +10:30
elf.c This fixes a problem building large (> 2Gb) binaries on 32-bit hosts. Using a 2014-04-03 11:42:05 +01:00
elf32-am33lin.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-arc.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-arm.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
elf32-avr.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
elf32-avr.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-bfin.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-cr16.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-cr16c.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-cris.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-crx.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-d10v.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-d30v.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-dlx.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-epiphany.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-fr30.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-frv.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-gen.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-h8300.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-hppa.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
elf32-hppa.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-i370.c Unwrap symbols for debug information 2014-06-10 23:00:22 +09:30
elf32-i386.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
elf32-i860.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-i960.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-ip2k.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-iq2000.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-lm32.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf32-m32c.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf32-m32r.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf32-m68hc1x.c Move link_hash_table_free functions earlier 2014-06-13 19:11:19 +09:30
elf32-m68hc1x.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-m68hc11.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
elf32-m68hc12.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
elf32-m68k.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
elf32-m88k.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-mcore.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-mep.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-metag.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
elf32-metag.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-microblaze.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf32-mips.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-moxie.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-msp430.c * elf32-msp430.c (msp430_elf_relax_adjust_locals): Avoid overflow. 2014-05-20 15:42:23 -04:00
elf32-mt.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-nds32.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf32-nds32.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-nios2.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
elf32-nios2.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-or1k.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf32-pj.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-ppc.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf32-ppc.h Rewrite ppc32 backend .sdata and .sdata2 handling 2014-05-20 13:13:23 +09:30
elf32-rl78.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf32-rx.c * elf32-rx.c (rx_table_map): Use BFD_VMA_FMT for portability. 2014-06-03 16:23:21 -04:00
elf32-rx.h Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
elf32-s390.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf32-score.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf32-score.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-score7.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf32-sh-relocs.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-sh-symbian.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-sh.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf32-sh64-com.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-sh64.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-sh64.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-sparc.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
elf32-spu.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf32-spu.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-tic6x.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf32-tic6x.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-tilegx.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-tilegx.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-tilepro.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf32-tilepro.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-v850.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-vax.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-xc16x.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-xgate.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
elf32-xgate.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-xstormy16.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf32-xtensa.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf32.c Update copyright years 2014-03-05 22:16:15 +10:30
elf64-alpha.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf64-gen.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf64-hppa.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf64-hppa.h Update copyright years 2014-03-05 22:16:15 +10:30
elf64-ia64-vms.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
elf64-mips.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf64-mmix.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf64-ppc.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
elf64-ppc.h Update copyright years 2014-03-05 22:16:15 +10:30
elf64-s390.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf64-sh64.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf64-sparc.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
elf64-tilegx.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf64-tilegx.h Update copyright years 2014-03-05 22:16:15 +10:30
elf64-x86-64.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
elf64.c Update copyright years 2014-03-05 22:16:15 +10:30
elfcode.h Fix sim breakage 2014-04-03 11:34:49 +10:30
elfcore.h Update copyright years 2014-03-05 22:16:15 +10:30
elflink.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elfn32-mips.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elfnn-aarch64.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
elfnn-ia64.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
elfxx-aarch64.c Update copyright years 2014-03-05 22:16:15 +10:30
elfxx-aarch64.h Update copyright years 2014-03-05 22:16:15 +10:30
elfxx-ia64.c Update copyright years 2014-03-05 22:16:15 +10:30
elfxx-ia64.h Update copyright years 2014-03-05 22:16:15 +10:30
elfxx-mips.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elfxx-mips.h bfd/ 2014-05-06 20:13:03 +01:00
elfxx-sparc.c Move link_hash_table_free functions earlier 2014-06-13 19:11:19 +09:30
elfxx-sparc.h Update copyright years 2014-03-05 22:16:15 +10:30
elfxx-target.h Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
elfxx-tilegx.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elfxx-tilegx.h Update copyright years 2014-03-05 22:16:15 +10:30
epoc-pe-arm.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
epoc-pei-arm.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
format.c Update copyright years 2014-03-05 22:16:15 +10:30
freebsd.h Update copyright years 2014-03-05 22:16:15 +10:30
gen-aout.c Update copyright years 2014-03-05 22:16:15 +10:30
genlink.h Update copyright years 2014-03-05 22:16:15 +10:30
go32stub.h
hash.c Update copyright years 2014-03-05 22:16:15 +10:30
host-aout.c Update copyright years 2014-03-05 22:16:15 +10:30
hp300bsd.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
hp300hpux.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
hppabsd-core.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
hpux-core.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
i386aout.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
i386bsd.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
i386dynix.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
i386freebsd.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
i386linux.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
i386lynx.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
i386mach3.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
i386msdos.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
i386netbsd.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
i386os9k.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
ieee.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
ihex.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
init.c Update copyright years 2014-03-05 22:16:15 +10:30
irix-core.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
libaout.h Update copyright years 2014-03-05 22:16:15 +10:30
libbfd-in.h Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
libbfd.c Update copyright years 2014-03-05 22:16:15 +10:30
libbfd.h Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
libcoff-in.h * libcoff-in.h (coff_tdata): Make relocbase member unsigned. 2014-06-11 09:15:19 +02:00
libcoff.h * libcoff-in.h (coff_tdata): Make relocbase member unsigned. 2014-06-11 09:15:19 +02:00
libecoff.h Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
libhppa.h Update copyright years 2014-03-05 22:16:15 +10:30
libieee.h Update copyright years 2014-03-05 22:16:15 +10:30
libnlm.h Update copyright years 2014-03-05 22:16:15 +10:30
liboasys.h Update copyright years 2014-03-05 22:16:15 +10:30
libpei.h Add support for generating and inserting build IDs into COFF binaries. 2014-04-08 10:59:43 +01:00
libxcoff.h Update copyright years 2014-03-05 22:16:15 +10:30
linker.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
lynx-core.c Update copyright years 2014-03-05 22:16:15 +10:30
m68k4knetbsd.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
m68klinux.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
m68knetbsd.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
m88kmach3.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
m88kopenbsd.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
mach-o-i386.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
mach-o-target.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
mach-o-x86-64.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
mach-o.c PR16867, linking object with separate debug file 2014-04-24 22:04:05 +09:30
mach-o.h mach-o: layout executables 2014-04-18 14:32:43 +02:00
makefile.vms bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
mep-relocs.pl Update copyright years 2014-03-05 22:16:15 +10:30
merge.c Update copyright years 2014-03-05 22:16:15 +10:30
mipsbsd.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
mmo.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
netbsd-core.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
netbsd.h Update copyright years 2014-03-05 22:16:15 +10:30
newsos3.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
nlm-target.h Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
nlm.c Update copyright years 2014-03-05 22:16:15 +10:30
nlm32-alpha.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
nlm32-i386.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
nlm32-ppc.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
nlm32-sparc.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
nlm32.c Update copyright years 2014-03-05 22:16:15 +10:30
nlm64.c Update copyright years 2014-03-05 22:16:15 +10:30
nlmcode.h Update copyright years 2014-03-05 22:16:15 +10:30
nlmswap.h Update copyright years 2014-03-05 22:16:15 +10:30
ns32k.h Update copyright years 2014-03-05 22:16:15 +10:30
ns32knetbsd.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
oasys.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
opncls.c Update copyright years 2014-03-05 22:16:15 +10:30
osf-core.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
pc532-mach.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
pdp11.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
pe-arm-wince.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
pe-arm.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
pe-i386.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
pe-mcore.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
pe-mips.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
pe-ppc.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
pe-sh.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
pe-x86_64.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
peXXigen.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
pef-traceback.h Update copyright years 2014-03-05 22:16:15 +10:30
pef.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
pef.h Update copyright years 2014-03-05 22:16:15 +10:30
pei-arm-wince.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
pei-arm.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
pei-i386.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
pei-ia64.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
pei-mcore.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
pei-mips.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
pei-ppc.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
pei-sh.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
pei-x86_64.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
peicode.h Add pe/x86_64 bigobj file format. 2014-03-13 09:33:07 +01:00
plugin.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
plugin.h Update copyright years 2014-03-05 22:16:15 +10:30
ppcboot.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
ptrace-core.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
reloc.c PR ld/16787, stale dwarf2 stash 2014-04-23 14:29:12 +09:30
reloc16.c Update copyright years 2014-03-05 22:16:15 +10:30
riscix.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
rs6000-core.c AIX 32-bit core loading, high section addresses. 2014-03-07 12:11:40 +00:00
sco5-core.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
section.c Update copyright years 2014-03-05 22:16:15 +10:30
simple.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
som.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
som.h Update copyright years 2014-03-05 22:16:15 +10:30
sparclinux.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
sparclynx.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
sparcnetbsd.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
srec.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
stab-syms.c Update copyright years 2014-03-05 22:16:15 +10:30
stabs.c Update copyright years 2014-03-05 22:16:15 +10:30
stamp-h.in
sunos.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
syms.c Update copyright years 2014-03-05 22:16:15 +10:30
sysdep.h Fix build time problem with MingGW hosts, which do not have a strnlen() function. 2014-03-14 11:21:00 +00:00
targets.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
targmatch.sed
tekhex.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
trad-core.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
vax1knetbsd.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
vaxbsd.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
vaxnetbsd.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
verilog.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
versados.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
version.h daily update 2014-06-13 09:31:18 +09:30
vms-alpha.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
vms-lib.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
vms-misc.c Update copyright years 2014-03-05 22:16:15 +10:30
vms.h Update copyright years 2014-03-05 22:16:15 +10:30
warning.m4 Make it easy to make --disable-werror the default for both binutils and gdb 2014-06-05 05:47:29 -07:00
xcofflink.c Move link_hash_table_free functions earlier 2014-06-13 19:11:19 +09:30
xsym.c Don't call bfd_link_hash_table_free 2014-06-13 19:11:29 +09:30
xsym.h Update copyright years 2014-03-05 22:16:15 +10:30
xtensa-isa.c Update copyright years 2014-03-05 22:16:15 +10:30
xtensa-modules.c Update copyright years 2014-03-05 22:16:15 +10:30

README

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-2014 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.