binutils-gdb/bfd
Alan Modra a485e98ea0 Move ELF section headers to end of object file
Currently, section ordering differs a little for non-loaded reloc
sections output by ld -emit-relocs or ld -r and that after passing
such objects through objcopy.  Not that it really matters, but it
would be better for a simple objcopy to produce an unchanged output
object file.  Also, section headers are put somewhere in the middle of
the non-loaded sections, again slightly differently for ld and
objcopy.  This patch fixes these discrepancies and puts section
headers last, which is where gold puts them, and is where
bfd_from_remote_memory wrongly assumed they will be found.

bfd/
	* elf.c (assign_file_positions_except_relocs): Move section header
	placement to..
	(_bfd_elf_assign_file_positions_for_relocs): ..here.  Make static.
	* elf-bfd.h (_bfd_elf_assign_file_positions_for_relocs): Delete.
	* elflink.c (bfd_elf_final_link): Don't call above function.
gas/testsuite/
	* gas/arm/got_prel.d: Adjust for changed section header placement.
	* gas/i386/ilp32/x86-64-size-1.d: Likewise.
	* gas/i386/ilp32/x86-64-size-3.d: Likewise.
	* gas/i386/ilp32/x86-64-size-5.d: Likewise.
	* gas/i386/ilp32/x86-64-unwind.d: Likewise.
	* gas/i386/size-1.d: Likewise.
	* gas/i386/size-3.d: Likewise.
	* gas/i386/x86-64-size-1.d: Likewise.
	* gas/i386/x86-64-size-3.d: Likewise.
	* gas/i386/x86-64-size-5.d: Likewise.
	* gas/i386/x86-64-unwind.d: Likewise.
	* gas/ia64/alias-ilp32.d: Likewise.
	* gas/ia64/alias.d: Likewise.
	* gas/ia64/group-1.d: Likewise.
	* gas/ia64/group-2.d: Likewise.
	* gas/ia64/secname-ilp32.d: Likewise.
	* gas/ia64/secname.d: Likewise.
	* gas/ia64/unwind-ilp32.d: Likewise.
	* gas/ia64/unwind.d: Likewise.
	* gas/mmix/bspec-1.d: Likewise.
	* gas/mmix/bspec-2.d: Likewise.
	* gas/mmix/byte-1.d: Likewise.
	* gas/mmix/loc-1.d: Likewise.
	* gas/mmix/loc-2.d: Likewise.
	* gas/mmix/loc-3.d: Likewise.
	* gas/mmix/loc-4.d: Likewise.
	* gas/mmix/loc-5.d: Likewise.
	* gas/tic6x/scomm-directive-4.d: Likewise.
ld/testsuite/
	* ld-aarch64/emit-relocs-local-addend.d: Adjust for changed
	section header placement.
	* ld-aarch64/local-addend-r.d: Likewise.
	* ld-mmix/bspec1.d: Likewise.
	* ld-mmix/bspec2.d: Likewise.
	* ld-mmix/local1.d: Likewise.
	* ld-mmix/local3.d: Likewise.
	* ld-mmix/local5.d: Likewise.
	* ld-mmix/local7.d: Likewise.
	* ld-mmix/undef-3.d: Likewise.
	* ld-sh/sh64/crange3-cmpct.rd: Likewise.
	* ld-sh/sh64/crange3-media.rd: Likewise.
	* ld-sh/sh64/crangerel1.rd: Likewise.
	* ld-sh/sh64/crangerel2.rd: Likewise.
	* ld-tic6x/common.d: Likewise.
	* ld-tic6x/shlib-1.rd: Likewise.
	* ld-tic6x/shlib-1b.rd: Likewise.
	* ld-tic6x/shlib-1r.rd: Likewise.
	* ld-tic6x/shlib-1rb.rd: Likewise.
	* ld-tic6x/shlib-app-1.rd: Likewise.
	* ld-tic6x/shlib-app-1b.rd: Likewise.
	* ld-tic6x/shlib-app-1r.rd: Likewise.
	* ld-tic6x/shlib-app-1rb.rd: Likewise.
	* ld-tic6x/shlib-noindex.rd: Likewise.
	* ld-tic6x/static-app-1.rd: Likewise.
	* ld-tic6x/static-app-1b.rd: Likewise.
	* ld-tic6x/static-app-1r.rd: Likewise.
	* ld-tic6x/static-app-1rb.rd: Likewise.
	* ld-x86-64/ilp32-4.d: Likewise.
	* ld-x86-64/split-by-file-nacl.rd: Likewise.
	* ld-x86-64/split-by-file.rd: Likewise.
2014-09-11 00:15:51 +09:30
..
doc Fix outputdots so that it doesn't errantly discard the first line of, e.g., 2014-08-05 09:00:40 -07:00
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 Move ELF section headers to end of object file 2014-09-11 00:15:51 +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 Update "configure.in" in comments and doco 2014-07-04 15:06:40 +09:30
Makefile.in Update "configure.in" in comments and doco 2014-07-04 15:06:40 +09:30
PORTING Update "configure.in" in comments and doco 2014-07-04 15:06:40 +09: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 Fix LTO vs. COFF archives 2014-08-05 10:46:57 +09:30
archive.c Warn for ar/nm/ranlib/ld on lto objects without plugin 2014-07-28 22:33:55 +09:30
archive64.c Update copyright years 2014-03-05 22:16:15 +10:30
archures.c Add support for the AVR Tiny series of microcontrollers. 2014-07-01 10:20:17 +01:00
armnetbsd.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
bfd-in.h Return error status from bfd_elf_discard_info. 2014-08-18 09:33:35 +09:30
bfd-in2.h Return error status from bfd_elf_discard_info. 2014-08-18 09:33:35 +09:30
bfd.c Reorganise struct bfd 2014-07-01 20:43:14 +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 Account for trailing bytes read from bfd_bread 2014-07-15 13:48:08 +09: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 Change ld "notice" interface for better handling of indirect symbols 2014-08-12 20:47:36 +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 Ensure coff-ppc local symbols are zero terminated 2014-08-07 15:41:46 +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 Reorganise struct bfd 2014-07-01 20:43:14 +09: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 Fix file-alignment for objcopy for pe-coff 2014-08-22 11:26:26 +02:00
coffgen.c Update copyright years 2014-03-05 22:16:15 +10:30
cofflink.c Fix LTO vs. COFF archives 2014-08-05 10:46: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 Fix a typo in the selection pattern for the or1knd cpu. 2014-08-26 10:27:21 +01:00
config.in Rename configure.in to configure.ac 2014-07-04 13:40:28 +09:30
configure Fix --diable-shared --enable-plugins build breakage 2014-08-19 21:59:56 +09:30
configure.ac configury changes to make ld plugin support controlled by --enable-plugins 2014-08-14 13:46:09 +09:30
configure.com bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
configure.host Update "configure.in" in comments and doco 2014-07-04 15:06:40 +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 Add support for the AVR Tiny series of microcontrollers. 2014-07-01 10:20:17 +01:00
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 Fixes a problem displaying the contents of a binary containing corrupt debug 2014-06-26 09:12:55 +01:00
ecoff.c Fix LTO vs. COFF archives 2014-08-05 10:46: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 Move ELF section headers to end of object file 2014-09-11 00:15:51 +09:30
elf-eh-frame.c Delete redundant struct cie field 2014-08-22 10:09:09 +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 Free linker hash table from bfd_close. 2014-06-13 19:11:39 +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 Move ELF section headers to end of object file 2014-09-11 00:15:51 +09:30
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 bfd/ChangeLog 2014-08-21 18:00:35 +08:00
elf32-avr.c Adds support for writing values to AVR system I/O registers. 2014-07-07 16:15:19 +01:00
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 Free linker hash table from bfd_close. 2014-06-13 19:11:39 +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 Use bfd_is_abs_section to check discarded input section 2014-08-27 07:59:48 -07:00
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 Free linker hash table from bfd_close. 2014-06-13 19:11:39 +09:30
elf32-m68hc1x.h Free linker hash table from bfd_close. 2014-06-13 19:11:39 +09: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 Free linker hash table from bfd_close. 2014-06-13 19:11:39 +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 Free linker hash table from bfd_close. 2014-06-13 19:11:39 +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 [MIPS] Implement O32 FPXX, FP64 and FP64A ABI extensions 2014-07-29 11:27:59 +01:00
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 Free linker hash table from bfd_close. 2014-06-13 19:11:39 +09:30
elf32-nios2.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-or1k.c bfd: or1k: avoid emitting R_OR1K_INSN_REL_26 in shared libs 2014-08-13 23:32:51 +03:00
elf32-pj.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-ppc.c ppc476 patch area size miscalculation 2014-08-30 10:12:44 +09:30
elf32-ppc.h Rewrite ppc32 backend .sdata and .sdata2 handling 2014-05-20 13:13:23 +09:30
elf32-rl78.c Disambiguate test for relaxation type. 2014-08-26 14:03:29 -04:00
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 Fix PR10373 which is SH relax bug. 2014-08-01 19:17:47 +09:00
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 Fix uninitialised VAX .got and .got.plt section 2014-06-16 12:28:23 +09:30
elf32-xc16x.c bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
elf32-xgate.c Free linker hash table from bfd_close. 2014-06-13 19:11:39 +09:30
elf32-xgate.h Free linker hash table from bfd_close. 2014-06-13 19:11:39 +09: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 Free linker hash table from bfd_close. 2014-06-13 19:11:39 +09:30
elf64-mips.c [MIPS] Implement O32 FPXX, FP64 and FP64A ABI extensions 2014-07-29 11:27:59 +01:00
elf64-mmix.c Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf64-ppc.c PowerPC64 call lacks nop error 2014-08-29 10:52:50 +09:30
elf64-ppc.h PowerPC64/BFD: Fix ppc64_elf_set_toc indentation 2014-08-21 12:31:58 +01:00
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 Use bfd_is_abs_section to check discarded input section 2014-08-27 07:59:48 -07:00
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 Move ELF section headers to end of object file 2014-09-11 00:15:51 +09:30
elfn32-mips.c [MIPS] Implement O32 FPXX, FP64 and FP64A ABI extensions 2014-07-29 11:27:59 +01:00
elfnn-aarch64.c [AArch64] Improve copy relocation support on four absolute relocation types 2014-08-26 15:48:47 +01:00
elfnn-ia64.c Free linker hash table from bfd_close. 2014-06-13 19:11:39 +09:30
elfxx-aarch64.c Add support for reading Aarch64 core dumps. 2014-06-13 17:07:21 +01:00
elfxx-aarch64.h Add support for reading Aarch64 core dumps. 2014-06-13 17:07:21 +01:00
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 MIPS: Fix a .pdr section linker buffer overrun 2014-08-05 16:19:09 +01:00
elfxx-mips.h [MIPS] Implement O32 FPXX, FP64 and FP64A ABI extensions 2014-07-29 11:27:59 +01:00
elfxx-sparc.c Fix PR17226, ld --gc-sections segfaults on sparc-linux 2014-08-05 10:49:54 +09:30
elfxx-sparc.h Free linker hash table from bfd_close. 2014-06-13 19:11:39 +09: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 Free linker hash table from bfd_close. 2014-06-13 19:11:39 +09: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 Fix LTO vs. COFF archives 2014-08-05 10:46:57 +09:30
libbfd.c Update copyright years 2014-03-05 22:16:15 +10:30
libbfd.h Fix LTO vs. COFF archives 2014-08-05 10:46:57 +09:30
libcoff-in.h Free linker hash table from bfd_close. 2014-06-13 19:11:39 +09:30
libcoff.h Fix outputdots so that it doesn't errantly discard the first line of, e.g., 2014-08-05 09:00:40 -07: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 Change ld "notice" interface for better handling of indirect symbols 2014-08-12 20:47:36 +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 Fix LTO vs. COFF archives 2014-08-05 10:46: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 Fix for objdump segfault on broken PE executable 2014-08-14 16:57:08 +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 Adds support for writing values to AVR system I/O registers. 2014-07-07 16:15:19 +01:00
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 Free linker hash table from bfd_close. 2014-06-13 19:11:39 +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 Report an error for S-records with less than the miniumum size 2014-08-29 10:36:57 +09:30
stab-syms.c Update copyright years 2014-03-05 22:16:15 +10:30
stabs.c Return error status from bfd_elf_discard_info. 2014-08-18 09:33:35 +09: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 Copy st_other for linker script symbol assignments 2014-07-08 19:42:03 +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-09-10 09:31:19 +09:30
version.m4 Use modern AC_INIT in configure.in 2014-07-04 12:41:26 +09:30
vms-alpha.c Prevent alpha_vms_object_p stopping bfd_check_format_matches scan 2014-08-29 10:37:52 +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 Update "configure.in" in comments and doco 2014-07-04 15:06:40 +09:30
xcofflink.c Fix LTO vs. COFF archives 2014-08-05 10:46:57 +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.