binutils-gdb/bfd
Alan Modra 30fe183248 PR4499, assign file positions assumes segment offsets increasing
This rewrites much of assign_file_positions_for_non_load_sections to
allow objcopy and strip to handle cases like that in PR4499 where
program headers were not in their usual position immediately after the
ELF file header, and PT_LOAD headers were not sorted by paddr.

	PR 4499
include/
	* elf/internal.h (struct elf_segment_map): Delete header_size.
	Add no_sort_lma and idx.
bfd/
	* elf-nacl.c (nacl_modify_segment_map): Set no_sort_lma for all
	PT_LOAD segments.
	* elf32-spu.c (spu_elf_modify_segment_map): Likewise on overlay
	PT_LOAD segments.
	* elf.c (elf_sort_segments): New function.
	(assign_file_positions_except_relocs): Use shortcuts to elfheader
	and elf_tdata.  Seek to e_phoff not sizeof_ehdr to write program
	headers.  Move PT_PHDR check..
	(assign_file_positions_for_non_load_sections): ..and code setting
	PT_PHDR p_vaddr and p_paddr, and code setting __ehdr_start value..
	(assign_file_positions_for_load_sections): ..to here.  Sort
	PT_LOAD headers.  Delete header_pad code.  Use actual number of
	headers rather than allocated in calculating size for program
	headers.  Don't assume program headers follow ELF file header.
	Simplify pt_load_count code.  Only set "off" for PT_LOAD or
	PT_NOTE in cores.
	(rewrite_elf_program_header): Set p_vaddr_offset for segments
	that include file and program headers.
	(copy_elf_program_header): Likewise, replacing header_size code.
2019-10-25 13:30:05 +10:30
..
doc Re-generate many configure and Makefile.in files 2019-09-18 09:09:15 -04:00
hosts Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
po bfd Makefile update 2019-09-23 10:27:22 +09:30
.gitignore
acinclude.m4 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +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 2019-01-01 22:06:53 +10:30
aix386-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
aout32.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
aout64.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
aout-cris.c bfd_asymbol_* macros 2019-09-18 23:07:31 +09:30
aout-ns32k.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
aout-target.h Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
aout-tic30.c Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
aoutx.h bfd_section_* macros 2019-09-19 09:40:13 +09:30
arc-got.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
arc-plt.def Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
arc-plt.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
archive64.c Don't use bfd_get_* macro to set bfd fields 2019-09-18 22:21:58 +09:30
archive.c ar P support 2019-10-21 16:13:39 +10:30
archures.c Constify bfd_octets_per_byte and related functions 2019-09-18 22:20:13 +09:30
bfd-in2.h ar P support 2019-10-21 16:13:39 +10:30
bfd-in.h linker bfd.h tidy 2019-09-23 10:27:22 +09:30
bfd.c ar P support 2019-10-21 16:13:39 +10:30
bfd.m4 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
bfdio.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
bfdwin.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
binary.c Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
cache.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cf-i386lynx.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ChangeLog PR4499, assign file positions assumes segment offsets increasing 2019-10-25 13:30:05 +10:30
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-2018 ChangeLog rotation 2019-01-01 21:25:40 +10:30
ChangeLog-9193
ChangeLog-9495
ChangeLog-9697
ChangeLog-9899
cisco-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff64-rs6000.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
coff-alpha.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
coff-arm.c arm bfd.h tidy 2019-09-23 10:27:21 +09:30
coff-arm.h arm bfd.h tidy 2019-09-23 10:27:21 +09:30
coff-bfd.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-bfd.h coff bfd.h tidy 2019-09-23 10:27:21 +09:30
coff-go32.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-i386.c BFD whitespace fixes 2019-04-03 12:50:39 +10:30
coff-ia64.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-mcore.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-mips.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
coff-ppc.c Don't use bfd_get_* macro to set bfd fields 2019-09-18 22:21:58 +09:30
coff-rs6000.c xcoff bfd.h tidy 2019-09-23 10:27:21 +09:30
coff-sh.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-stgo32.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-tic4x.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-tic30.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-tic54x.c tic54x bfd.h tidy 2019-09-23 10:27:21 +09:30
coff-tic80.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-x86_64.c BFD whitespace fixes 2019-04-03 12:50:39 +10:30
coff-z8k.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-z80.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coffcode.h bfd_section_* macros 2019-09-19 09:40:13 +09:30
coffgen.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
cofflink.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
coffswap.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
compress.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
config.bfd Plugin target handling 2019-06-28 10:18:49 +09:30
config.in elf32-nds32: Don't define fls if it is provided by the system 2018-09-21 10:27:30 -04:00
configure Re-generate many configure and Makefile.in files 2019-09-18 09:09:15 -04:00
configure.ac Plugin target handling 2019-06-28 10:18:49 +09:30
configure.com Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
configure.host Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
COPYING
corefile.c bfd_get_filename 2019-09-06 12:22:59 +09:30
cpu-aarch64.c aarch64 bfd.h tidy 2019-09-23 10:27:21 +09:30
cpu-aarch64.h aarch64 bfd.h tidy 2019-09-23 10:27:21 +09:30
cpu-alpha.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-arc.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-arm.c arm bfd.h tidy 2019-09-23 10:27:21 +09:30
cpu-arm.h arm bfd.h tidy 2019-09-23 10:27:21 +09:30
cpu-avr.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-bfin.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-bpf.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-cr16.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-cr16c.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-cris.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-crx.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-csky.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-d10v.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-d30v.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-dlx.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-epiphany.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-fr30.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-frv.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-ft32.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-h8300.c h8300 bfd.h tidy 2019-09-23 10:27:21 +09:30
cpu-h8300.h h8300 bfd.h tidy 2019-09-23 10:27:21 +09:30
cpu-hppa.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-i386.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-ia64-opc.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-ia64.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-iamcu.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-ip2k.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-iq2000.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-k1om.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-l1om.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-lm32.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-m9s12x.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-m9s12xg.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-m32c.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-m32r.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-m68hc11.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-m68hc12.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-m68k.c m68k bfd.h tidy 2019-09-23 10:27:22 +09:30
cpu-m68k.h m68k bfd.h tidy 2019-09-23 10:27:22 +09:30
cpu-m10200.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-m10300.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-mcore.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-mep.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-metag.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-microblaze.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-mips.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-mmix.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-moxie.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-msp430.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-mt.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-nds32.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-nfp.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-nios2.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-ns32k.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-or1k.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-pdp11.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-pj.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-plugin.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-powerpc.c PR13616, linker should pad executable sections with nops, not zeros 2019-10-16 23:07:27 +10:30
cpu-pru.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-riscv.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-rl78.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-rs6000.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-rx.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-s12z.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-s390.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-score.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-sh.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-sparc.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-spu.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-tic4x.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-tic6x.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-tic30.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-tic54x.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-tic80.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-tilegx.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-tilepro.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-v850_rh850.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-v850.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-vax.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-visium.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-wasm32.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-xc16x.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-xgate.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-xstormy16.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-xtensa.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-z8k.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-z80.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
dep-in.sed
development.sh Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
dwarf1.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
dwarf2.c qsort: dwarf2.c 2019-10-14 16:47:13 +10:30
ecoff-bfd.h ecoff bfd.h tidy 2019-09-23 10:27:22 +09:30
ecoff.c ecoff bfd.h tidy 2019-09-23 10:27:22 +09:30
ecofflink.c ecoff bfd.h tidy 2019-09-23 10:27:22 +09:30
ecoffswap.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-am33lin.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-arc.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-arm.c remove more xmalloc in bfd 2019-10-15 16:50:32 +10:30
elf32-arm.h arm bfd.h tidy 2019-09-23 10:27:21 +09:30
elf32-avr.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-avr.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-bfin.c bfin bfd.h tidy 2019-09-23 10:27:21 +09:30
elf32-bfin.h bfin bfd.h tidy 2019-09-23 10:27:21 +09:30
elf32-cr16.c cr16 bfd.h tidy 2019-09-23 10:27:21 +09:30
elf32-cr16.h cr16 bfd.h tidy 2019-09-23 10:27:21 +09:30
elf32-cr16c.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-cris.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-crx.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-csky.c csky bfd.h tidy 2019-09-23 10:27:20 +09:30
elf32-csky.h csky bfd.h tidy 2019-09-23 10:27:20 +09:30
elf32-d10v.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-d30v.c ELF final_write_processing 2019-07-23 18:22:02 +09:30
elf32-dlx.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf32-dlx.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-epiphany.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-fr30.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-frv.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-ft32.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-gen.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-h8300.c h8300 bfd.h tidy 2019-09-23 10:27:21 +09:30
elf32-hppa.c [bfd] Provide 8-byte minimum alignment for .plt section 2019-10-20 12:01:58 -04:00
elf32-hppa.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-i386.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-ip2k.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-iq2000.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-lm32.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-m32c.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-m32r.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-m68hc1x.c m68hc1x: better arg checking for reloc_warning 2019-10-15 23:25:11 +10:30
elf32-m68hc1x.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-m68hc11.c ELF final_write_processing 2019-07-23 18:22:02 +09:30
elf32-m68hc12.c ELF final_write_processing 2019-07-23 18:22:02 +09:30
elf32-m68k.c m68k bfd.h tidy 2019-09-23 10:27:22 +09:30
elf32-m68k.h m68k bfd.h tidy 2019-09-23 10:27:22 +09:30
elf32-mcore.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-mep.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-metag.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-metag.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-microblaze.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-mips.c bfd_asymbol_* macros 2019-09-18 23:07:31 +09:30
elf32-moxie.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-msp430.c Add support for new functionality in the msp430 backend of GCC. 2019-10-07 16:34:31 +01:00
elf32-mt.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-nds32.c remove more xmalloc in bfd 2019-10-15 16:50:32 +10:30
elf32-nds32.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-nios2.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-nios2.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-or1k.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-pj.c Complain about mbind, ifunc, and unique in final_write 2019-07-24 16:12:02 +09:30
elf32-ppc.c PowerPC TLS miscounting PLT for __tls_get_addr 2019-10-07 13:21:02 +10:30
elf32-ppc.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-pru.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-rl78.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-rx.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-rx.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-s12z.c ELF final_write_processing 2019-07-23 18:22:02 +09:30
elf32-s390.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-score7.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-score.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-score.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-sh-relocs.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-sh.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-sparc.c Complain about mbind, ifunc, and unique in final_write 2019-07-24 16:12:02 +09:30
elf32-spu.c PR4499, assign file positions assumes segment offsets increasing 2019-10-25 13:30:05 +10:30
elf32-spu.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-tic6x.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-tic6x.h tic6x bfd.h tidy 2019-09-23 10:27:21 +09:30
elf32-tilegx.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-tilegx.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-tilepro.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-tilepro.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-v850.c v850 bfd.h tidy 2019-09-23 10:27:20 +09:30
elf32-v850.h v850 bfd.h tidy 2019-09-23 10:27:20 +09:30
elf32-vax.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-visium.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-wasm32.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-xc16x.c Complain about mbind, ifunc, and unique in final_write 2019-07-24 16:12:02 +09:30
elf32-xgate.c BFD whitespace fixes 2019-04-03 12:50:39 +10:30
elf32-xstormy16.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-xtensa.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf64-alpha.c ecoff bfd.h tidy 2019-09-23 10:27:22 +09:30
elf64-bpf.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf64-gen.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf64-hppa.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf64-hppa.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf64-ia64-vms.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf64-mips.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf64-mmix.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf64-nfp.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf64-ppc.c PR25100, Compile fails in elf64-ppc.c because of single equal sign instead of double equal for comparison 2019-10-15 16:01:05 +10:30
elf64-ppc.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf64-s390.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf64-sparc.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf64-tilegx.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf64-tilegx.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf64-x86-64.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf64.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf-attrs.c Don't emit vendor attribute section if there is no attribute to emit. 2019-01-16 13:37:35 -08:00
elf-bfd.h bfd, ld: add CTF section linking 2019-10-03 17:04:56 +01:00
elf-eh-frame.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf-hppa.h bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf-ifunc.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf-linker-x86.h x86: Add -z cet-report=[none|warning|error] 2019-04-11 08:21:30 -07:00
elf-linux-core.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf-m10200.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf-m10300.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf-nacl.c PR4499, assign file positions assumes segment offsets increasing 2019-10-25 13:30:05 +10:30
elf-nacl.h Complain about mbind, ifunc, and unique in final_write 2019-07-24 16:12:02 +09:30
elf-properties.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf-s390-common.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf-s390.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf-strtab.c qsort issues 2019-10-14 16:47:12 +10:30
elf-vxworks.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf-vxworks.h Complain about mbind, ifunc, and unique in final_write 2019-07-24 16:12:02 +09:30
elf.c PR4499, assign file positions assumes segment offsets increasing 2019-10-25 13:30:05 +10:30
elfcode.h PR24955, libbfd terminating program on out of memory 2019-09-05 11:33:34 +09:30
elfcore.h Don't use bfd_get_* macro to set bfd fields 2019-09-18 22:21:58 +09:30
elflink.c qsort: elf_link_add_object_symbols weak aliases 2019-10-14 16:47:13 +10:30
elfn32-mips.c bfd_asymbol_* macros 2019-09-18 23:07:31 +09:30
elfnn-aarch64.c aarch64 bfd.h tidy 2019-09-23 10:27:21 +09:30
elfnn-ia64.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elfnn-riscv.c RISC-V: Report unresolved relocation error via linker's callback function. 2019-10-17 15:38:27 -07:00
elfxx-aarch64.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elfxx-aarch64.h aarch64 bfd.h tidy 2019-09-23 10:27:21 +09:30
elfxx-ia64.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elfxx-ia64.h ia64 bfd.h tidy 2019-09-23 10:27:21 +09:30
elfxx-mips.c ecoff bfd.h tidy 2019-09-23 10:27:22 +09:30
elfxx-mips.h mips bfd.h tidy 2019-09-23 10:27:20 +09:30
elfxx-riscv.c BFD whitespace fixes 2019-04-03 12:50:39 +10:30
elfxx-riscv.h RISC-V: Support ELF attribute for gas and readelf. 2019-01-16 13:14:59 -08:00
elfxx-sparc.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elfxx-sparc.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elfxx-target.h Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
elfxx-tilegx.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elfxx-tilegx.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elfxx-x86.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elfxx-x86.h x86: Also check x86 linker_def for non-shared definition 2019-04-17 09:08:46 -07:00
format.c Plugin target handling 2019-06-28 10:18:49 +09:30
gen-aout.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
genlink.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
go32stub.h
hash.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
host-aout.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
hppabsd-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
hpux-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
i386aout.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
i386bsd.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
i386lynx.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
i386msdos.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
ihex.c Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
init.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
irix-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
libaout.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
libbfd-in.h Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
libbfd.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
libbfd.h Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
libcoff-in.h Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
libcoff.h Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
libecoff.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
libhppa.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
libpei.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
libxcoff.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
linker.c PR13616, linker should pad executable sections with nops, not zeros 2019-10-16 23:07:27 +10:30
lynx-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
mach-o-aarch64.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
mach-o-arm.c Ensure that when attempting to process an ARM Mach-O file with unknown relocs, that a suitable error message is displayed. 2019-06-26 17:03:32 +01:00
mach-o-i386.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
mach-o-target.c Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
mach-o-x86-64.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
mach-o.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
mach-o.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
MAINTAINERS Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
Makefile.am PR24262, plugin search dir doesn't respect --libdir 2019-09-26 19:51:18 +09:30
Makefile.in PR24262, plugin search dir doesn't respect --libdir 2019-09-26 19:51:18 +09:30
makefile.vms Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
mep-relocs.pl Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
merge.c qsort issues 2019-10-14 16:47:12 +10:30
mmo.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
netbsd-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
netbsd.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ns32k.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ns32knetbsd.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
opncls.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
osf-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pc532-mach.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pdp11.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
pe-arm-wince.c arm bfd.h tidy 2019-09-23 10:27:21 +09:30
pe-arm.c arm bfd.h tidy 2019-09-23 10:27:21 +09:30
pe-i386.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pe-mcore.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pe-ppc.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pe-sh.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pe-x86_64.c BFD whitespace fixes 2019-04-03 12:50:39 +10:30
pef-traceback.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pef.c PR24955, libbfd terminating program on out of memory (part2) 2019-10-14 16:47:12 +10:30
pef.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pei-arm-wince.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pei-arm.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pei-i386.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pei-ia64.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pei-mcore.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pei-ppc.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pei-sh.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pei-x86_64.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
peicode.h bfd_section_* macros 2019-09-19 09:40:13 +09:30
peXXigen.c PR24955, libbfd terminating program on out of memory (part2) 2019-10-14 16:47:12 +10:30
plugin.c PR24262, plugin search dir doesn't respect --libdir 2019-09-26 19:51:18 +09:30
plugin.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
PORTING Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ppcboot.c Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
ptrace-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
README Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
reloc16.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
reloc.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
rs6000-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
sco5-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
section.c bfd macro conversion to inline functions, section 2019-09-20 18:04:03 +09:30
simple.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
som.c PR24955, libbfd terminating program on out of memory (part2) 2019-10-14 16:47:12 +10:30
som.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
srec.c Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
stab-syms.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
stabs.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
stamp-h.in
syms.c qsort: syms.c stab sorting 2019-10-14 16:47:13 +10:30
sysdep.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
targets.c bfd macro conversion to inline functions, asymbol 2019-09-20 18:04:02 +09:30
targmatch.sed
tekhex.c Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
TODO Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
trad-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
vax1knetbsd.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
vaxnetbsd.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
verilog.c Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
version.h Automatic date update in version.in 2019-10-25 00:01:28 +00:00
version.m4 Update version to 2.33.50 and regenerate configure scripts. 2019-09-16 11:03:53 +01:00
vms-alpha.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
vms-lib.c Use bfd_set_filename more 2019-09-18 21:32:51 +09:30
vms-misc.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
vms.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
warning.m4 Adjust bfd/warning.m4 egrep patterns 2019-01-09 13:51:08 +10:30
wasm-module.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
wasm-module.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
xcofflink.c xcoff bfd.h tidy 2019-09-23 10:27:21 +09:30
xcofflink.h xcoff bfd.h tidy 2019-09-23 10:27:21 +09:30
xsym.c Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
xsym.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
xtensa-isa.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
xtensa-modules.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +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-2019 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.