old-cross-binutils/bfd
Alan Modra 86c9573369 Better overflow checking for powerpc32 relocations
Similar to the powerpc64 patch, this improves overflow checking in
elf32-ppc.c.  Many reloc "howto" entries needed fixes, some just
cosmetic.

The patch also fixes the R_PPC_VLE_SDA21 reloc application code, which
was horribly broken.  In fact, it may still be broken since Power ISA
2.07 says e_li behaves as
   RT <- EXTS(li20 1:4 || li20 5:8 || li20 0 || li20 9:19)
where li20 is a field taken from bits 17..20, 11..15, 21..31 of the
instruction.  Freescale VLEPEM says differently, and I assume
correctly, that
   RT <- EXTS(li20 0:3 || li20 4:8 || li20 9:19)
The VLE_SDA21 relocation description matches this too.

Now the VLE_SDA21 relocation specifies in the case where e_addi16 is
converted to e_li for symbols in .PPC.EMB.sdata0 or .PPC.EMB.sbss0
(no base register), that the field is restricted to 16 bits, with the
sign bit being propagated to the top 4 bits.  I don't see the sense in
restricting the value like this, so have allowed the full 20 bit
signed value.  This of course is compatible with the reloc description
in that values in the 16 bit signed range will result in exactly the
same insn field as when the reloc description is followed to the
letter.

	* elf32-ppc.c (ppc_elf_howto_raw): Correct overflow check for
	many relocations.  Correct bitsize and rightshift too for a number
	of VLE relocs.  Describe R_PPC_VLE_SDA21 and R_PPC_VLE_SDA21_LO.
	Correct dst_mask on R_PPC_VLE_SDA21_LO.
	(ppc_elf_vle_split16): Tidy, delete unnecessary prototype.
	(ppc_elf_relocate_section): Modify overflow test for 16-bit
	fields in instructions to signed/unsigned according to whether
	the field takes a signed or unsigned value.  Tidy vle split16 code.
	Correct R_PPC_VLE_SDA21 and R_PPC_VLE_SDA21_LO handling.
2014-03-08 16:30:43 +10:30
..
doc Update copyright years 2014-03-05 22:16:15 +10:30
hosts Update copyright years 2014-03-05 22:16:15 +10:30
po Update copyright years 2014-03-05 22:16:15 +10:30
.gitignore
acinclude.m4 Update copyright years 2014-03-05 22:16:15 +10:30
aclocal.m4
aix5ppc-core.c Update copyright years 2014-03-05 22:16:15 +10:30
aix386-core.c Update copyright years 2014-03-05 22:16:15 +10:30
aout-adobe.c Update copyright years 2014-03-05 22:16:15 +10:30
aout-arm.c Update copyright years 2014-03-05 22:16:15 +10:30
aout-cris.c Update copyright years 2014-03-05 22:16:15 +10:30
aout-ns32k.c Update copyright years 2014-03-05 22:16:15 +10:30
aout-sparcle.c Update copyright years 2014-03-05 22:16:15 +10:30
aout-target.h Update copyright years 2014-03-05 22:16:15 +10:30
aout-tic30.c Update copyright years 2014-03-05 22:16:15 +10:30
aout0.c Update copyright years 2014-03-05 22:16:15 +10: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 Update copyright years 2014-03-05 22:16:15 +10: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 Update copyright years 2014-03-05 22:16:15 +10:30
armnetbsd.c Update copyright years 2014-03-05 22:16:15 +10:30
bfd-in.h Update copyright years 2014-03-05 22:16:15 +10:30
bfd-in2.h Update copyright years 2014-03-05 22:16:15 +10:30
bfd.c Update copyright years 2014-03-05 22:16:15 +10: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 Update copyright years 2014-03-05 22:16:15 +10:30
bout.c Update copyright years 2014-03-05 22:16:15 +10:30
cache.c Update copyright years 2014-03-05 22:16:15 +10:30
cf-i386lynx.c Update copyright years 2014-03-05 22:16:15 +10:30
cf-sparclynx.c Update copyright years 2014-03-05 22:16:15 +10:30
ChangeLog Better overflow checking for powerpc32 relocations 2014-03-08 16:30:43 +10:30
ChangeLog-0001
ChangeLog-0203 Update copyright years 2014-03-05 22:16:15 +10:30
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
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
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
cisco-core.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-alpha.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-apollo.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-arm.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-aux.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-go32.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-h8300.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-h8500.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-i386.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-i860.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-i960.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-ia64.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-m68k.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-m88k.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-mcore.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-mips.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-or32.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-ppc.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-rs6000.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-sh.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-sparc.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-stgo32.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-svm68k.c Update copyright years 2014-03-05 22:16:15 +10: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 Update copyright years 2014-03-05 22:16:15 +10:30
coff-u68k.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-w65.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-we32k.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-x86_64.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-z8k.c Update copyright years 2014-03-05 22:16:15 +10:30
coff-z80.c Update copyright years 2014-03-05 22:16:15 +10:30
coff64-rs6000.c Update copyright years 2014-03-05 22:16:15 +10:30
coffcode.h Update copyright years 2014-03-05 22:16:15 +10:30
coffgen.c Update copyright years 2014-03-05 22:16:15 +10:30
cofflink.c Update copyright years 2014-03-05 22:16:15 +10:30
coffswap.h Update copyright years 2014-03-05 22:16:15 +10:30
compress.c Update copyright years 2014-03-05 22:16:15 +10:30
config.bfd Update copyright years 2014-03-05 22:16:15 +10:30
config.in * peXXigen.c: Include wchar.h if available. 2013-12-17 15:39:13 +00:00
configure * peXXigen.c: Include wchar.h if available. 2013-12-17 15:39:13 +00:00
configure.com Update copyright years 2014-03-05 22:16:15 +10:30
configure.host Update copyright years 2014-03-05 22:16:15 +10:30
configure.in Update copyright years 2014-03-05 22:16:15 +10:30
COPYING
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 Update copyright years 2014-03-05 22:16:15 +10:30
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-openrisc.c Update copyright years 2014-03-05 22:16:15 +10:30
cpu-or32.c Update copyright years 2014-03-05 22:16:15 +10:30
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 Update copyright years 2014-03-05 22:16:15 +10:30
dep-in.sed
dwarf1.c Update copyright years 2014-03-05 22:16:15 +10:30
dwarf2.c Update copyright years 2014-03-05 22:16:15 +10:30
ecoff.c Update copyright years 2014-03-05 22:16:15 +10: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 Update copyright years 2014-03-05 22:16:15 +10:30
elf-eh-frame.c Update copyright years 2014-03-05 22:16:15 +10: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 Update copyright years 2014-03-05 22:16:15 +10:30
elf-m10300.c Update copyright years 2014-03-05 22:16:15 +10: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 Update copyright years 2014-03-05 22:16:15 +10:30
elf32-am33lin.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-arc.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-arm.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-avr.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-avr.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-bfin.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-cr16.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-cr16c.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-cris.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-crx.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-d10v.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-d30v.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-dlx.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-epiphany.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-fr30.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-frv.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-gen.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-h8300.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-hppa.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-hppa.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-i370.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-i386.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-i860.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-i960.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-ip2k.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-iq2000.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-lm32.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-m32c.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-m32r.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-m68hc1x.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-m68hc1x.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-m68hc11.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-m68hc12.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-m68k.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-m88k.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-mcore.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-mep.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-metag.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-metag.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-microblaze.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-mips.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-moxie.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-msp430.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-mt.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-nds32.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-nds32.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-nios2.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-nios2.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-openrisc.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-or32.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-pj.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-ppc.c Better overflow checking for powerpc32 relocations 2014-03-08 16:30:43 +10:30
elf32-ppc.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-rl78.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-rx.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-s390.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-score.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-score.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-score7.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-sh-relocs.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-sh-symbian.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-sh.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-sh64-com.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-sh64.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-sh64.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-sparc.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-spu.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-spu.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-tic6x.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-tic6x.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-tilegx.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-tilegx.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-tilepro.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-tilepro.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-v850.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-vax.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-xc16x.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-xgate.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-xgate.h Update copyright years 2014-03-05 22:16:15 +10:30
elf32-xstormy16.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32-xtensa.c Update copyright years 2014-03-05 22:16:15 +10:30
elf32.c Update copyright years 2014-03-05 22:16:15 +10:30
elf64-alpha.c Update copyright years 2014-03-05 22:16:15 +10:30
elf64-gen.c Update copyright years 2014-03-05 22:16:15 +10:30
elf64-hppa.c Update copyright years 2014-03-05 22:16:15 +10:30
elf64-hppa.h Update copyright years 2014-03-05 22:16:15 +10:30
elf64-ia64-vms.c Update copyright years 2014-03-05 22:16:15 +10:30
elf64-mips.c Update copyright years 2014-03-05 22:16:15 +10:30
elf64-mmix.c Update copyright years 2014-03-05 22:16:15 +10:30
elf64-ppc.c Better overflow checking for powerpc64 relocations 2014-03-08 12:57:58 +10:30
elf64-ppc.h Update copyright years 2014-03-05 22:16:15 +10:30
elf64-s390.c Update copyright years 2014-03-05 22:16:15 +10:30
elf64-sh64.c Update copyright years 2014-03-05 22:16:15 +10:30
elf64-sparc.c Update copyright years 2014-03-05 22:16:15 +10:30
elf64-tilegx.c Update copyright years 2014-03-05 22:16:15 +10:30
elf64-tilegx.h Update copyright years 2014-03-05 22:16:15 +10:30
elf64-x86-64.c Update copyright years 2014-03-05 22:16:15 +10:30
elf64.c Update copyright years 2014-03-05 22:16:15 +10:30
elfcode.h Update copyright years 2014-03-05 22:16:15 +10:30
elfcore.h Update copyright years 2014-03-05 22:16:15 +10:30
elflink.c Update copyright years 2014-03-05 22:16:15 +10:30
elfn32-mips.c Update copyright years 2014-03-05 22:16:15 +10:30
elfnn-aarch64.c Update copyright years 2014-03-05 22:16:15 +10:30
elfnn-ia64.c Update copyright years 2014-03-05 22:16:15 +10: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 Update copyright years 2014-03-05 22:16:15 +10:30
elfxx-mips.h Update copyright years 2014-03-05 22:16:15 +10:30
elfxx-sparc.c Update copyright years 2014-03-05 22:16:15 +10:30
elfxx-sparc.h Update copyright years 2014-03-05 22:16:15 +10:30
elfxx-target.h Update copyright years 2014-03-05 22:16:15 +10:30
elfxx-tilegx.c Update copyright years 2014-03-05 22:16:15 +10:30
elfxx-tilegx.h Update copyright years 2014-03-05 22:16:15 +10:30
epoc-pe-arm.c Update copyright years 2014-03-05 22:16:15 +10:30
epoc-pei-arm.c Update copyright years 2014-03-05 22:16:15 +10: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 Update copyright years 2014-03-05 22:16:15 +10:30
hp300hpux.c Update copyright years 2014-03-05 22:16:15 +10:30
hppabsd-core.c Update copyright years 2014-03-05 22:16:15 +10:30
hpux-core.c Update copyright years 2014-03-05 22:16:15 +10:30
i386aout.c Update copyright years 2014-03-05 22:16:15 +10:30
i386bsd.c Update copyright years 2014-03-05 22:16:15 +10:30
i386dynix.c Update copyright years 2014-03-05 22:16:15 +10:30
i386freebsd.c Update copyright years 2014-03-05 22:16:15 +10:30
i386linux.c Update copyright years 2014-03-05 22:16:15 +10:30
i386lynx.c Update copyright years 2014-03-05 22:16:15 +10:30
i386mach3.c Update copyright years 2014-03-05 22:16:15 +10:30
i386msdos.c Update copyright years 2014-03-05 22:16:15 +10:30
i386netbsd.c Update copyright years 2014-03-05 22:16:15 +10:30
i386os9k.c Update copyright years 2014-03-05 22:16:15 +10:30
ieee.c Update copyright years 2014-03-05 22:16:15 +10:30
ihex.c Update copyright years 2014-03-05 22:16:15 +10:30
init.c Update copyright years 2014-03-05 22:16:15 +10:30
irix-core.c Update copyright years 2014-03-05 22:16:15 +10:30
libaout.h Update copyright years 2014-03-05 22:16:15 +10:30
libbfd-in.h Update copyright years 2014-03-05 22:16:15 +10:30
libbfd.c Update copyright years 2014-03-05 22:16:15 +10:30
libbfd.h Update copyright years 2014-03-05 22:16:15 +10:30
libcoff-in.h Update copyright years 2014-03-05 22:16:15 +10:30
libcoff.h Update copyright years 2014-03-05 22:16:15 +10:30
libecoff.h Update copyright years 2014-03-05 22:16:15 +10: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 Update copyright years 2014-03-05 22:16:15 +10:30
libxcoff.h Update copyright years 2014-03-05 22:16:15 +10:30
linker.c Update copyright years 2014-03-05 22:16:15 +10:30
lynx-core.c Update copyright years 2014-03-05 22:16:15 +10:30
m68k4knetbsd.c Update copyright years 2014-03-05 22:16:15 +10:30
m68klinux.c Update copyright years 2014-03-05 22:16:15 +10:30
m68knetbsd.c Update copyright years 2014-03-05 22:16:15 +10:30
m88kmach3.c Update copyright years 2014-03-05 22:16:15 +10:30
m88kopenbsd.c Update copyright years 2014-03-05 22:16:15 +10:30
mach-o-i386.c Update copyright years 2014-03-05 22:16:15 +10:30
mach-o-target.c Update copyright years 2014-03-05 22:16:15 +10:30
mach-o-x86-64.c Update copyright years 2014-03-05 22:16:15 +10:30
mach-o.c Update copyright years 2014-03-05 22:16:15 +10:30
mach-o.h 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 copyright years 2014-03-05 22:16:15 +10:30
Makefile.in Add support for Andes NDS32: 2013-12-13 11:52:32 +00:00
makefile.vms Update copyright years 2014-03-05 22:16:15 +10: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 Update copyright years 2014-03-05 22:16:15 +10:30
mmo.c Update copyright years 2014-03-05 22:16:15 +10:30
netbsd-core.c Update copyright years 2014-03-05 22:16:15 +10:30
netbsd.h Update copyright years 2014-03-05 22:16:15 +10:30
newsos3.c Update copyright years 2014-03-05 22:16:15 +10:30
nlm-target.h Update copyright years 2014-03-05 22:16:15 +10:30
nlm.c Update copyright years 2014-03-05 22:16:15 +10:30
nlm32-alpha.c Update copyright years 2014-03-05 22:16:15 +10:30
nlm32-i386.c Update copyright years 2014-03-05 22:16:15 +10:30
nlm32-ppc.c Update copyright years 2014-03-05 22:16:15 +10:30
nlm32-sparc.c Update copyright years 2014-03-05 22:16:15 +10: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 Update copyright years 2014-03-05 22:16:15 +10:30
oasys.c Update copyright years 2014-03-05 22:16:15 +10:30
opncls.c Update copyright years 2014-03-05 22:16:15 +10:30
osf-core.c Update copyright years 2014-03-05 22:16:15 +10:30
pc532-mach.c Update copyright years 2014-03-05 22:16:15 +10:30
pdp11.c Update copyright years 2014-03-05 22:16:15 +10:30
pe-arm-wince.c Update copyright years 2014-03-05 22:16:15 +10:30
pe-arm.c Update copyright years 2014-03-05 22:16:15 +10:30
pe-i386.c Update copyright years 2014-03-05 22:16:15 +10:30
pe-mcore.c Update copyright years 2014-03-05 22:16:15 +10:30
pe-mips.c Update copyright years 2014-03-05 22:16:15 +10:30
pe-ppc.c Update copyright years 2014-03-05 22:16:15 +10:30
pe-sh.c Update copyright years 2014-03-05 22:16:15 +10:30
pe-x86_64.c Update copyright years 2014-03-05 22:16:15 +10:30
pef-traceback.h Update copyright years 2014-03-05 22:16:15 +10:30
pef.c Update copyright years 2014-03-05 22:16:15 +10:30
pef.h Update copyright years 2014-03-05 22:16:15 +10:30
pei-arm-wince.c Update copyright years 2014-03-05 22:16:15 +10:30
pei-arm.c Update copyright years 2014-03-05 22:16:15 +10:30
pei-i386.c Update copyright years 2014-03-05 22:16:15 +10:30
pei-ia64.c Update copyright years 2014-03-05 22:16:15 +10:30
pei-mcore.c Update copyright years 2014-03-05 22:16:15 +10:30
pei-mips.c Update copyright years 2014-03-05 22:16:15 +10:30
pei-ppc.c Update copyright years 2014-03-05 22:16:15 +10:30
pei-sh.c Update copyright years 2014-03-05 22:16:15 +10:30
pei-x86_64.c Update copyright years 2014-03-05 22:16:15 +10:30
peicode.h Update copyright years 2014-03-05 22:16:15 +10:30
peXXigen.c Update copyright years 2014-03-05 22:16:15 +10:30
plugin.c Update copyright years 2014-03-05 22:16:15 +10:30
plugin.h Update copyright years 2014-03-05 22:16:15 +10:30
PORTING Update copyright years 2014-03-05 22:16:15 +10:30
ppcboot.c Update copyright years 2014-03-05 22:16:15 +10:30
ptrace-core.c Update copyright years 2014-03-05 22:16:15 +10:30
README Update copyright years 2014-03-05 22:16:15 +10:30
reloc.c Update copyright years 2014-03-05 22:16:15 +10:30
reloc16.c Update copyright years 2014-03-05 22:16:15 +10:30
riscix.c Update copyright years 2014-03-05 22:16:15 +10:30
rs6000-core.c AIX 32-bit core loading, high section addresses. 2014-03-07 12:11:40 +00:00
sco5-core.c Update copyright years 2014-03-05 22:16:15 +10:30
section.c Update copyright years 2014-03-05 22:16:15 +10:30
simple.c Update copyright years 2014-03-05 22:16:15 +10:30
som.c Update copyright years 2014-03-05 22:16:15 +10:30
som.h Update copyright years 2014-03-05 22:16:15 +10:30
sparclinux.c Update copyright years 2014-03-05 22:16:15 +10:30
sparclynx.c Update copyright years 2014-03-05 22:16:15 +10:30
sparcnetbsd.c Update copyright years 2014-03-05 22:16:15 +10:30
srec.c Update copyright years 2014-03-05 22:16:15 +10: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 Update copyright years 2014-03-05 22:16:15 +10:30
syms.c Update copyright years 2014-03-05 22:16:15 +10:30
sysdep.h Update copyright years 2014-03-05 22:16:15 +10:30
targets.c Update copyright years 2014-03-05 22:16:15 +10:30
targmatch.sed
tekhex.c Update copyright years 2014-03-05 22:16:15 +10:30
ticoff.h Update copyright years 2014-03-05 22:16:15 +10:30
TODO Update copyright years 2014-03-05 22:16:15 +10:30
trad-core.c Update copyright years 2014-03-05 22:16:15 +10:30
vax1knetbsd.c Update copyright years 2014-03-05 22:16:15 +10:30
vaxbsd.c Update copyright years 2014-03-05 22:16:15 +10:30
vaxnetbsd.c Update copyright years 2014-03-05 22:16:15 +10:30
verilog.c Update copyright years 2014-03-05 22:16:15 +10:30
versados.c Update copyright years 2014-03-05 22:16:15 +10:30
version.h daily update 2014-03-08 09:30:39 +10:30
vms-alpha.c Update copyright years 2014-03-05 22:16:15 +10:30
vms-lib.c Update copyright years 2014-03-05 22:16:15 +10: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 copyright years 2014-03-05 22:16:15 +10:30
xcofflink.c Update copyright years 2014-03-05 22:16:15 +10:30
xsym.c Update copyright years 2014-03-05 22:16:15 +10: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

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.