binutils-gdb/bfd
Pedro Alves c38e85596e AIX 32-bit core loading, high section addresses.
I noticed GDB was failing to enable threading support for 32-bit AIX
cores.  I traced it to failure to read variables from libpthreads.a.
The issue is that data for that library is loaded at a high address,
and bfd is sign extending the section addresses:

 (gdb) info files
 Symbols from "/home/palves/crash".
 Local core dump file:
	 `/home/palves/core', file type aixcoff-rs6000.
	 0x2ff22000 - 0x2ff23000 is .stack
	 0x20000000 - 0x200316e0 is .data
	 0x20000e90 - 0x200016c0 is .data
	 0xfffffffff0254000 - 0xfffffffff0297920 is .data
	 0xfffffffff07b46a8 - 0xfffffffff07b47c8 is .data
	 0xfffffffff0298000 - 0xfffffffff029bfcc is .data
	 0xfffffffff06dafe0 - 0xfffffffff07b3838 is .data
 Local exec file:
	 `/home/palves/crash', file type aixcoff-rs6000.
	 Entry point: 0x20001394
	 0x10000150 - 0x10000e90 is .text
	 0x20000e90 - 0x2000149c is .data
	 0x2000149c - 0x200016c0 is .bss
	 0xd053b124 - 0xd053e15f is .text in /usr/lib/libpthreads.a(shr_comm.o)
	 0xf0254000 - 0xf0297920 is .data in /usr/lib/libpthreads.a(shr_comm.o)
	 0xf0254450 - 0xf0297920 is .bss in /usr/lib/libpthreads.a(shr_comm.o)
	 0xd053a280 - 0xd053aabe is .text in /usr/lib/libcrypt.a(shr.o)
	 0xf07b46a8 - 0xf07b47c8 is .data in /usr/lib/libcrypt.a(shr.o)
	 0xf07b47c8 - 0xf07b47c8 is .bss in /usr/lib/libcrypt.a(shr.o)
	 0xd04fb180 - 0xd053917e is .text in /usr/lib/libpthreads.a(shr_xpg5.o)
	 0xf0298000 - 0xf029bfcc is .data in /usr/lib/libpthreads.a(shr_xpg5.o)
	 0xf029bf64 - 0xf029bfcc is .bss in /usr/lib/libpthreads.a(shr_xpg5.o)
	 0xd0100900 - 0xd04fa39c is .text in /usr/lib/libc.a(shr.o)
	 0xf06dafe0 - 0xf07b3838 is .data in /usr/lib/libc.a(shr.o)
	 0xf0751e94 - 0xf07b3838 is .bss in /usr/lib/libc.a(shr.o)

Notice:
	...
	0xfffffffff0298000 - 0xfffffffff029bfcc is .data
	...

Those are the bfd section start/end addresses.  It't not visible here:

         ...
	 0xf0298000 - 0xf029bfcc is .data in /usr/lib/libpthreads.a(shr_xpg5.o)
         ...

... just because GDB trims that number to 32-bit when printing.

GDB then fails to find the memory for libpthreads.a variables in the
core, and falls back to reading it directly from the executable (which
yields the values as originally initialized in the code).

E.g.:

 (gdb) p &__n_pthreads
 $2 = (<data variable, no debug info> *) 0xf074fda8 <__n_pthreads>
 (gdb) p __n_pthreads
 $1 = -1

That should have returned 2 instead of -1.

bfd/
2014-03-07  Pedro Alves  <palves@redhat.com>

	* rs6000-core.c (rs6000coff_core_p): Cast pointers to bfd_vma
	through ptr_to_uint instead of through long.
2014-03-07 12:11:40 +00:00
..
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
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
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
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
archive64.c Update copyright years 2014-03-05 22:16:15 +10:30
archive.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-in2.h 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.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 AIX 32-bit core loading, high section addresses. 2014-03-07 12:11:40 +00:00
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
ChangeLog-2013
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
coff64-rs6000.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
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
configure
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_rh850.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-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
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 Fix ELF ppc32 targets that don't use ppc32elf.em 2014-02-27 23:39:01 +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-score7.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-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-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-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 Update copyright years 2014-03-05 22:16:15 +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
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
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
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
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
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
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
reloc16.c Update copyright years 2014-03-05 22:16:15 +10:30
reloc.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-07 09:30:46 +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.