binutils-gdb/bfd
Pedro Alves 261b8d0859 2010-08-18 Pedro Alves <pedro@codesourcery.com>
PR corefile/8210

	bfd/
	* bfd-in2.h: Regenerate.
	* corefile.c (bfd_core_file_pid): New.

	* targets.c (BFD_JUMP_TABLE_CORE): Add NAME##_core_file_pid.
	(struct bfd_target) <_core_file_pid>: New.

	* libbfd-in.h (_bfd_nocore_core_file_pid): Declare.
	* libbfd.c (_bfd_nocore_core_file_pid): New.

	* elf-bfd.h (bfd_elf32_core_file_pid, bfd_elf64_core_file_pid):
	Declare.
	* elfcode.h (elf_core_file_pid): New define.
	* elfcore.h (elf_core_file_pid): New function.

	* elf.c (elfcore_make_pid): Rewrite.
	(elfcore_grok_prstatus): Only set core_pid if not set yet.
	(elfcore_grok_prstatus) [!HAVE_PRSTATUS_T_PR_WHO]: Fallback to
	getting the lwpid from prstat.pr_pid.

	* elf64-x86-64.c (elf64_x86_64_grok_prstatus): Write the LWPID to
	elf_tdata's core_lwpid instead of to core_pid.
	(elf64_x86_64_grok_psinfo): Extract the the main process's PID,
	and store it in elf_tdata's core_pid field.
	* elf32-i386.c (elf_i386_grok_prstatus): Write the LWPID to
	elf_tdata's core_lwpid instead of to core_pid.
	(elf_i386_grok_psinfo): Extract the the main process's PID, and
	store it in elf_tdata's core_pid field.

	* elf32-am33lin.c (elf32_am33lin_grok_prstatus): Write the LWPID
	to elf_tdata's core_lwpid instead of to core_pid.
	* elf32-arm.c (elf32_arm_nabi_grok_prstatus): Write the LWPID to
	elf_tdata's core_lwpid instead of to core_pid.
	* elf32-cris.c (cris_elf_grok_prstatus): Write the LWPID to
	elf_tdata's core_lwpid instead of to core_pid.
	* elf32-frv.c (elf32_frv_grok_prstatus): Write the LWPID to
	elf_tdata's core_lwpid instead of to core_pid.
	* elf32-hppa.c (elf32_hppa_grok_prstatus): Write the LWPID to
	elf_tdata's core_lwpid instead of to core_pid.
	* elf32-mips.c (elf32_mips_grok_prstatus): Write the LWPID to
	elf_tdata's core_lwpid instead of to core_pid.
	* elf32-ppc.c (ppc_elf_grok_prstatus): Write the LWPID to
	elf_tdata's core_lwpid instead of to core_pid.
	* elf32-s390.c (elf_s390_grok_prstatus): Write the LWPID to
	elf_tdata's core_lwpid instead of to core_pid.
	* elf32-score.c (s3_bfd_score_elf_grok_prstatus): Write the LWPID
	to elf_tdata's core_lwpid instead of to core_pid.
	* elf32-score7.c (s7_bfd_score_elf_grok_prstatus): Write the LWPID
	to elf_tdata's core_lwpid instead of to core_pid.
	* elf32-sh.c (elf32_shlin_grok_prstatus): Write the LWPID to
	elf_tdata's core_lwpid instead of to core_pid.
	* elf32-xtensa.c (elf_xtensa_grok_prstatus): Write the LWPID to
	elf_tdata's core_lwpid instead of to core_pid.
	* elf64-hppa.c (elf64_hppa_grok_prstatus): Write the LWPID to
	elf_tdata's core_lwpid instead of to core_pid.
	* elf64-mips.c (elf64_mips_grok_prstatus): Write the LWPID to
	elf_tdata's core_lwpid instead of to core_pid.
	* elf64-ppc.c (ppc64_elf_grok_prstatus): Write the LWPID to
	elf_tdata's core_lwpid instead of to core_pid.
	* elfn32-mips.c (elf32_mips_grok_prstatus): Write the LWPID to
	elf_tdata's core_lwpid instead of to core_pid.

	* plugin.c (bfd_plugin_core_file_pid): New function.
	* aout-target.h (MY_core_file_pid): Define.
	* aout-tic30.c (MY_core_file_pid, MY_core_file_p): New defines.
	* coff-rs6000.c (coff_core_file_pid): New define.
	(rs6000coff_vec, pmac_xcoff_vec): Use BFD_JUMP_TABLE_CORE.
	* coff64-rs6000.c (coff_core_file_pid): New define.
	(rs6000coff64_vec): Use BFD_JUMP_TABLE_CORE.
	(xcoff64_core_file_pid): New define.
	(aix5coff64_vec): Use BFD_JUMP_TABLE_CORE.
	* mach-o-target.c (bfd_mach_o_core_file_pid): New define.
	* aix386-core.c (aix386_core_file_pid): New define.
	* hppabsd-core.c (hppabsd_core_core_file_pid): New define.
	* hpux-core.c (hpux_core_core_file_pid): New define.
	* irix-core.c (irix_core_core_file_pid): New define.
	* lynx-core.c (lynx_core_file_pid): New define.
	* osf-core.c (osf_core_core_file_pid): New define.
	* ptrace-core.c (ptrace_unix_core_file_pid): New define.
	* sco5-core.c (sco5_core_file_pid): New define.
	* xcoff-target.h (coff_core_file_pid): New define.
	* netbsd-core.c (netbsd_core_core_file_pid): New define.

gdb/
2010-08-18  Pedro Alves  <pedro@codesourcery.com>

	PR corefile/8210

	gdb/
	* corelow.c (add_to_thread_list): Don't use
	gdbarch_core_reg_section_encodes_pid.  Use bfd_core_file_pid.
	(get_core_register_section): Don't use
	gdbarch_core_reg_section_encodes_pid.

	* gdbarch.sh (core_reg_section_encodes_pid): Delete.
	* gdbarch.h, gdbarch.c: Regenerate.
	* amd64-sol2-tdep.c (amd64_sol2_init_abi): Don't set
	gdbarch_core_reg_section_encodes_pid.
	* i386-sol2-tdep.c (i386_sol2_init_abi): Ditto.
	* sparc-sol2-tdep.c (sparc32_sol2_init_abi): Ditto.
	* sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Ditto.
2010-08-18 12:24:13 +00:00
..
doc PR ld/11624 2010-05-25 10:14:16 +00:00
hosts Undefine HAVE_PRPSINFO32_T/HAVE_PRSTATUS32_T before define. 2010-04-10 22:52:37 +00:00
po remove maxq-coff port 2010-06-29 04:17:34 +00:00
acinclude.m4
aclocal.m4 bfd/ 2010-05-07 12:28:50 +00:00
aix5ppc-core.c
aix386-core.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
aout0.c
aout32.c
aout64.c
aout-adobe.c
aout-arm.c
aout-cris.c
aout-ns32k.c
aout-sparcle.c
aout-target.h 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
aout-tic30.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
aoutf1.h
aoutx.h * aoutx.h (some_aout_object_p): Don't set EXEC_P for files with 2010-07-22 14:07:10 +00:00
archive64.c * archive64.c (bfd_elf64_archive_write_armap): Fix buffer overrun 2010-06-23 10:21:16 +00:00
archive.c * archive.c (_bfd_archive_bsd44_construct_extended_name_table): 2010-07-22 14:48:54 +00:00
archures.c Add support for v850E2 and v850E2V3 2010-07-23 14:52:54 +00:00
armnetbsd.c
bfd-in2.h 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
bfd-in.h 2010-04-15 Andrew Haley <aph@redhat.com> 2010-04-21 16:32:31 +00:00
bfd.c 2010-04-01 Tristan Gingold <gingold@adacore.com> 2010-04-01 09:47:14 +00:00
bfd.m4 2010-01-04 Daniel Gutson <dgutson@codesourcery.com> 2010-01-05 00:40:07 +00:00
bfdio.c 2010-06-09 Tristan Gingold <gingold@adacore.com> 2010-06-09 13:28:31 +00:00
bfdwin.c
binary.c
bout.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
cache.c
cf-i386lynx.c
cf-sparclynx.c
ChangeLog 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
ChangeLog-0001
ChangeLog-0203
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009 Move 2009 binutils ChangeLog to ChangeLog-2009. 2010-01-01 18:06:10 +00:00
ChangeLog-9193
ChangeLog-9495
ChangeLog-9697
ChangeLog-9899
cisco-core.c
coff64-rs6000.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
coff-alpha.c 2010-05-25 Tristan Gingold <gingold@adacore.com> 2010-05-26 07:37:36 +00:00
coff-apollo.c
coff-arm.c * coff-arm.c (coff_arm_rtype_to_howto): Fix shadowed variable 2009-12-12 10:07:53 +00:00
coff-aux.c
coff-go32.c
coff-h8300.c
coff-h8500.c
coff-i386.c 2010-03-31 Kai Tietz <kai.tietz@onevision.com> 2010-03-31 16:32:02 +00:00
coff-i860.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
coff-i960.c
coff-ia64.c
coff-m68k.c
coff-m88k.c
coff-mcore.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
coff-mips.c
coff-or32.c
coff-pmac.c
coff-ppc.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
coff-rs6000.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
coff-sh.c
coff-sparc.c
coff-stgo32.c
coff-svm68k.c
coff-tic4x.c
coff-tic30.c
coff-tic54x.c
coff-tic80.c
coff-u68k.c
coff-w65.c
coff-we32k.c
coff-x86_64.c 2010-03-31 Kai Tietz <kai.tietz@onevision.com> 2010-03-31 16:32:02 +00:00
coff-z8k.c
coff-z80.c
coffcode.h remove maxq-coff port 2010-06-29 04:17:34 +00:00
coffgen.c PR binutils/11512 2010-04-27 14:42:50 +00:00
cofflink.c
coffswap.h
compress.c bfd/ChangeLog: 2010-07-03 20:52:24 +00:00
config.bfd Add moxie-rtems support 2010-07-30 07:32:18 +00:00
config.in 2010-04-27 Kai Tietz <kai.tietz@onevision.com> 2010-04-27 17:26:09 +00:00
configure remove maxq-coff port 2010-06-29 04:17:34 +00:00
configure.com
configure.host bfd/ChangeLog: 2010-02-15 19:25:47 +00:00
configure.in remove maxq-coff port 2010-06-29 04:17:34 +00:00
COPYING
corefile.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
cpu-alpha.c
cpu-arc.c
cpu-arm.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
cpu-avr.c
cpu-bfin.c
cpu-cr16.c
cpu-cr16c.c
cpu-cris.c
cpu-crx.c
cpu-d10v.c
cpu-d30v.c
cpu-dlx.c
cpu-fr30.c
cpu-frv.c
cpu-h8300.c
cpu-h8500.c
cpu-hppa.c
cpu-i370.c
cpu-i386.c
cpu-i860.c
cpu-i960.c
cpu-ia64-opc.c
cpu-ia64.c
cpu-ip2k.c
cpu-iq2000.c
cpu-l1om.c
cpu-lm32.c
cpu-m32c.c * cpu-m32c.c (m32c_scan): New function. Ensures that a scan for 2010-01-13 14:34:13 +00:00
cpu-m32r.c
cpu-m68hc11.c
cpu-m68hc12.c
cpu-m68k.c
cpu-m88k.c
cpu-m10200.c
cpu-m10300.c
cpu-mcore.c
cpu-mep.c
cpu-microblaze.c
cpu-mips.c revert erroneous commit 2010-05-06 15:02:24 +00:00
cpu-mmix.c
cpu-moxie.c
cpu-msp430.c
cpu-mt.c
cpu-ns32k.c
cpu-openrisc.c
cpu-or32.c
cpu-pdp11.c
cpu-pj.c
cpu-plugin.c
cpu-powerpc.c include/ 2010-02-08 01:59:38 +00:00
cpu-rs6000.c
cpu-rx.c
cpu-s390.c
cpu-score.c
cpu-sh.c
cpu-sparc.c
cpu-spu.c
cpu-tic4x.c
cpu-tic6x.c bfd: 2010-03-25 21:12:36 +00:00
cpu-tic30.c
cpu-tic54x.c
cpu-tic80.c
cpu-v850.c Add support for v850E2 and v850E2V3 2010-07-23 14:52:54 +00:00
cpu-vax.c
cpu-w65.c
cpu-we32k.c
cpu-xc16x.c
cpu-xstormy16.c
cpu-xtensa.c
cpu-z8k.c
cpu-z80.c
demo64.c
dep-in.sed
dwarf1.c PR 11103 2010-01-11 09:53:27 +00:00
dwarf2.c PR ld/11817 2010-07-14 22:18:07 +00:00
ecoff.c * ecoff.c: Don't include aout/ranlib.h. 2010-07-22 14:29:15 +00:00
ecofflink.c
ecoffswap.h
elf32-am33lin.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elf32-arc.c
elf32-arm.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elf32-avr.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-avr.h
elf32-bfin.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-cr16.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-cr16c.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-cris.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elf32-crx.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-d10v.c
elf32-d30v.c
elf32-dlx.c
elf32-fr30.c
elf32-frv.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elf32-gen.c
elf32-h8300.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-hppa.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elf32-hppa.h
elf32-i370.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-i386.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elf32-i860.c
elf32-i960.c
elf32-ip2k.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-iq2000.c
elf32-lm32.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-m32c.c * elf32-m32c.c (ELF_MAXPAGESIZE): Change page size to 256 bytes. 2010-08-04 03:42:45 +00:00
elf32-m32r.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-m68hc1x.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-m68hc1x.h * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf32-m68hc11.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-m68hc12.c
elf32-m68k.c bfd/ 2010-08-13 13:03:46 +00:00
elf32-m88k.c
elf32-mcore.c
elf32-mep.c
elf32-microblaze.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-mips.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elf32-moxie.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-msp430.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-mt.c
elf32-openrisc.c
elf32-or32.c
elf32-pj.c
elf32-ppc.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elf32-ppc.h
elf32-rx.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-s390.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elf32-score7.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elf32-score.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elf32-score.h
elf32-sh64-com.c
elf32-sh64.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-sh64.h
elf32-sh-relocs.h 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
elf32-sh-symbian.c
elf32-sh.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elf32-sparc.c Don't set ELFOSABI_LINUX in dynamic ifunc-using executable. 2010-02-19 05:07:50 +00:00
elf32-spu.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-spu.h
elf32-tic6x.c bfd: 2010-06-16 00:36:04 +00:00
elf32-tic6x.h bfd: 2010-06-16 00:36:04 +00:00
elf32-v850.c Add support for v850E2 and v850E2V3 2010-07-23 14:52:54 +00:00
elf32-vax.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-xc16x.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-xstormy16.c
elf32-xtensa.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elf32.c
elf64-alpha.c PR ld/11891 2010-08-09 23:58:52 +00:00
elf64-gen.c
elf64-hppa.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elf64-hppa.h
elf64-mips.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elf64-mmix.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf64-ppc.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elf64-ppc.h * elf64-ppc.c (ppc64_elf_has_small_toc_reloc): New function. 2010-03-15 01:59:57 +00:00
elf64-s390.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf64-sh64.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf64-sparc.c Don't set ELFOSABI_LINUX in dynamic ifunc-using executable. 2010-02-19 05:07:50 +00:00
elf64-x86-64.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elf64.c
elf-attrs.c * elf-bfd.h (LEAST_KNOWN_OBJ_ATTRIBUTE): Define. 2010-06-15 23:10:10 +00:00
elf-bfd.h 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elf-eh-frame.c bfd/ChangeLog 2010-04-09 14:40:18 +00:00
elf-hppa.h
elf-ifunc.c Support garbage collection against STT_GNU_IFUNC symbols. 2010-07-13 16:59:14 +00:00
elf-m10200.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf-m10300.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf-strtab.c
elf-vxworks.c
elf-vxworks.h
elf.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elfcode.h 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elfcore.h 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elflink.c PR ld/11843 2010-08-12 16:23:32 +00:00
elfn32-mips.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elfxx-ia64.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elfxx-mips.c 2010-08-09 Catherine Moore <clm@codesourcery.com> 2010-08-09 19:54:13 +00:00
elfxx-mips.h * elfxx-mips.h: Include "elf/mips.h". 2010-07-27 21:18:52 +00:00
elfxx-sparc.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elfxx-sparc.h include/ 2010-02-08 20:28:43 +00:00
elfxx-target.h
epoc-pe-arm.c
epoc-pei-arm.c
format.c
freebsd.h
gen-aout.c
genlink.h
go32stub.h
hash.c
host-aout.c
hp300bsd.c
hp300hpux.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
hppabsd-core.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
hpux-core.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
i386aout.c
i386bsd.c
i386dynix.c
i386freebsd.c
i386linux.c
i386lynx.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
i386mach3.c
i386msdos.c
i386netbsd.c
i386os9k.c
ieee.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
ihex.c
init.c
irix-core.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
libaout.h
libbfd-in.h 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
libbfd.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
libbfd.h 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
libcoff-in.h Don't add IMAGE_FILE_RELOCS_STRIPPED for PIE. 2010-03-18 12:27:15 +00:00
libcoff.h Don't add IMAGE_FILE_RELOCS_STRIPPED for PIE. 2010-03-18 12:27:15 +00:00
libecoff.h Update copyright year. 2010-03-24 15:41:59 +00:00
libhppa.h
libieee.h
libnlm.h
liboasys.h
libpei.h
libxcoff.h
linker.c
lynx-core.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
m68k4knetbsd.c
m68klinux.c
m68knetbsd.c
m88kmach3.c
m88kopenbsd.c
mach-o-i386.c 2010-01-11 Tristan Gingold <gingold@adacore.com> 2010-01-11 15:39:41 +00:00
mach-o-target.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
mach-o-x86-64.c 2010-01-13 Tristan Gingold <gingold@adacore.com> 2010-01-13 11:49:36 +00:00
mach-o.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
mach-o.h 2010-01-11 Tristan Gingold <gingold@adacore.com> 2010-01-11 15:57:59 +00:00
MAINTAINERS
Makefile.am Disable -Werror on coff-tic4x.lo and coff-tic54x.lo. 2010-08-12 17:49:42 +00:00
Makefile.in Disable -Werror on coff-tic4x.lo and coff-tic54x.lo. 2010-08-12 17:49:42 +00:00
makefile.vms bfd/ 2010-08-03 14:29:00 +00:00
mep-relocs.pl
merge.c
mipsbsd.c
mmo.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
netbsd-core.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
netbsd.h
newsos3.c
nlm32-alpha.c
nlm32-i386.c
nlm32-ppc.c
nlm32-sparc.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
nlm32.c
nlm64.c
nlm-target.h
nlm.c
nlmcode.h
nlmswap.h
ns32k.h
ns32knetbsd.c
oasys.c Update copyright year. 2010-03-24 15:41:59 +00:00
opncls.c 2010-05-25 Tristan Gingold <gingold@adacore.com> 2010-05-26 07:37:36 +00:00
osf-core.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
pc532-mach.c
pdp11.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
pe-arm-wince.c
pe-arm.c
pe-i386.c
pe-mcore.c
pe-mips.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
pe-ppc.c
pe-sh.c
pe-x86_64.c 2010-04-27 Kai Tietz <kai.tietz@onevision.com> 2010-04-27 17:26:09 +00:00
pef-traceback.h
pef.c
pef.h
pei-arm-wince.c
pei-arm.c
pei-i386.c
pei-ia64.c
pei-mcore.c
pei-mips.c
pei-ppc.c
pei-sh.c
pei-x86_64.c 2010-04-27 Kai Tietz <kai.tietz@onevision.com> 2010-04-27 17:26:09 +00:00
peicode.h 2010-05-25 Tristan Gingold <gingold@adacore.com> 2010-05-26 07:37:36 +00:00
peXXigen.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
plugin.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
plugin.h
PORTING
ppcboot.c
ptrace-core.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
README
reloc16.c
reloc.c Add support for v850E2 and v850E2V3 2010-07-23 14:52:54 +00:00
riscix.c
rs6000-core.c
sco5-core.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
section.c update copyright date 2010-02-08 13:47:22 +00:00
simple.c
som.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
som.h bfd/ 2010-06-10 08:51:46 +00:00
sparclinux.c
sparclynx.c
sparcnetbsd.c
srec.c
stab-syms.c
stabs.c
stamp-h.in
sunos.c
syms.c
sysdep.h
targets.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
targmatch.sed
tekhex.c 2009-12-15 H.J. Lu <hongjiu.lu@intel.com> 2009-12-15 16:59:20 +00:00
ticoff.h
TODO
trad-core.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
vax1knetbsd.c
vaxbsd.c
vaxnetbsd.c
verilog.c bfd/ChangeLog 2010-04-09 14:40:18 +00:00
versados.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
version.h daily update 2010-08-18 00:00:06 +00:00
vms-alpha.c 2010-08-04 Tristan Gingold <gingold@adacore.com> 2010-08-04 10:45:51 +00:00
vms-lib.c 2010-08-03 Tristan Gingold <gingold@adacore.com> 2010-08-03 08:49:01 +00:00
vms-misc.c 2010-08-03 Tristan Gingold <gingold@adacore.com> 2010-08-03 15:18:51 +00:00
vms.h 2010-06-11 Tristan Gingold <gingold@adacore.com> 2010-06-11 15:13:32 +00:00
warning.m4 * warning.m4 (GCC_WARN_CFLAGS): Only add -Wshadow for gcc-4 and above. 2010-04-07 07:19:02 +00:00
xcoff-target.h 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
xcofflink.c 2010-05-25 Tristan Gingold <gingold@adacore.com> 2010-05-26 07:37:36 +00:00
xsym.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
xsym.h
xtensa-isa.c
xtensa-modules.c 2010-05-28 Sterling Augustine <sterling@tensilica.com> 2010-05-28 18:10:45 +00:00

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.