binutils-gdb/bfd
H.J. Lu cbe950e9fe bfd/
2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/10205
	* elf32-i386.c (elf_howto_table): Add R_386_IRELATIVE.
	(elf_i386_reloc_type_lookup): Likewise.
	(R_386_tls): Removed.
	(R_386_irelative): New.
	(R_386_vt_offset): Updated.
	(elf_i386_rtype_to_howto): Likewise.
	(elf_i386_link_hash_table): Add igotplt, iplt and irelplt.
	(elf_i386_link_hash_table_create): Initialize igotplt,
	iplt and irelplt.
	(elf_i386_check_relocs): Handle STT_GNU_IFUNC symbol first.
	(elf_i386_adjust_dynamic_symbol): Likewise.
	(elf_i386_allocate_dynrelocs): Likewise.
	(elf_i386_relocate_section): Likewise.
	(elf_i386_size_dynamic_sections): Set up .iplt and .igot.plt
	sections.
	(elf_i386_finish_dynamic_symbol): When building a static
	executable, use .iplt, .igot.plt and .rel.iplt sections for
	STT_GNU_IFUNC symbols.  Generate R_386_IRELATIVE relocation for
	locally defined STT_GNU_IFUNC symbol.

	* elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_IRELATIVE.
	(x86_64_reloc_map): Likewise.
	(R_X86_64_standard): Updated.
	(elf64_x86_64_link_hash_table): Add igotplt, iplt and irelplt.
	(elf64_x86_64_link_hash_table_create): Initialize igotplt,
	iplt and irelplt.
	(elf64_x86_64_check_relocs): Handle STT_GNU_IFUNC symbol first.
	(elf64_x86_64_adjust_dynamic_symbol): Likewise.
	(elf64_x86_64_allocate_dynrelocs): Likewise.
	(elf64_x86_64_relocate_section): Likewise.
	(elf64_x86_64_size_dynamic_sections): Set up .iplt and .igot.plt
	sections.
	(elf64_x86_64_finish_dynamic_symbol): When building a static
	executable, use .iplt, .igot.plt and .rela.iplt sections for
	STT_GNU_IFUNC symbols.  Generate R_X86_64_IRELATIVE relocation
	for locally defined STT_GNU_IFUNC symbol.

	* reloc.c (BFD_RELOC_386_IRELATIVE): New.
	(BFD_RELOC_X86_64_IRELATIVE): Likewise.

	* bfd-in2.h: Regenerated.
	* libbfd.h: Likewise.

include/elf/

2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/10205
	* i386.h (R_386_IRELATIVE): New.
	* x86-64.h (R_X86_64_IRELATIVE): Likewise.

ld/testsuite/

2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/10205
	* ld-ifunc/ifunc.exp (contains_irelative_reloc): New.
	Use it on executable and shared library.
	Run *.d.

	* ld-ifunc/lib.c: Add a hidden alias, __GI_library_func2, for
	library_func2.
	(library_func): New.

	* ld-ifunc/ifunc-1-x86.d: New.
	* ld-ifunc/ifunc-1-x86.s: Likewise.
	* ld-ifunc/ifunc-2-i386.d: Likewise.
	* ld-ifunc/ifunc-2-i386.s: Likewise.
	* ld-ifunc/ifunc-2-x86-64.d: Likewise.
	* ld-ifunc/ifunc-2-x86-64.s: Likewise.
	* ld-ifunc/ifunc-3a-x86.d: Likewise.
	* ld-ifunc/ifunc-3b-x86.d: Likewise.
	* ld-ifunc/ifunc-3-x86.s: Likewise.
	* ld-ifunc/ifunc-4-x86.d: Likewise.
	* ld-ifunc/ifunc-4-x86.s: Likewise.
	* ld-ifunc/ifunc-5-i386.d: Likewise.
	* ld-ifunc/ifunc-5-i386.s: Likewise.
	* ld-ifunc/ifunc-5-x86-64.d: Likewise.
	* ld-ifunc/ifunc-5-x86-64.s: Likewise.
2009-06-01 13:11:52 +00:00
..
doc * plugins.m4: New. 2009-05-27 16:29:55 +00:00
hosts bfd/ 2008-11-14 09:57:35 +00:00
po Update Indonesian translations. 2009-05-26 16:49:41 +00:00
acinclude.m4
aclocal.m4 * plugins.m4: New. 2009-05-27 16:29:55 +00:00
aix5ppc-core.c * aix5ppc-core.c: Define macros for the default architecture and 2008-04-18 09:22:24 +00:00
aix386-core.c
aout0.c
aout32.c
aout64.c
aout-adobe.c bfd/ 2009-04-16 23:07:00 +00:00
aout-arm.c
aout-cris.c
aout-ns32k.c
aout-sparcle.c
aout-target.h bfd/ 2009-04-16 23:07:00 +00:00
aout-tic30.c bfd/ 2009-04-16 23:07:00 +00:00
aoutf1.h
aoutx.h bfd: 2009-02-03 18:16:04 +00:00
archive64.c
archive.c [bfd/ChangeLog] 2009-03-11 04:36:40 +00:00
archures.c * Makefile.am: Run "make dep-am". 2009-05-26 14:12:03 +00:00
armnetbsd.c
bfd-in2.h bfd/ 2009-06-01 13:11:52 +00:00
bfd-in.h * Makefile.am: Run "make dep-am". 2009-05-26 14:12:03 +00:00
bfd.c * Makefile.am: Run "make dep-am". 2009-05-26 14:12:03 +00:00
bfd.m4
bfdio.c * bfdio.c (bfd_seek): Formatting. Ensure newly allocated memory 2009-05-24 11:47:27 +00:00
bfdwin.c 2008-11-20 Tristan Gingold <gingold@adacore.com> 2008-11-20 09:49:00 +00:00
binary.c bfd/ 2009-04-16 23:07:00 +00:00
bout.c bfd/ 2009-05-27 13:31:24 +00:00
cache.c * cache.c (cache_bread): Cast void * pointer before performing 2008-10-30 09:05:32 +00:00
cf-i386lynx.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
cf-sparclynx.c
ChangeLog bfd/ 2009-06-01 13:11:52 +00:00
ChangeLog-0001
ChangeLog-0203
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007 Move 2007 ChangeLog entries to ChangeLog-2007. 2008-01-02 21:41:02 +00:00
ChangeLog-2008 bfd/ 2009-01-02 16:48:11 +00:00
ChangeLog-9193
ChangeLog-9495
ChangeLog-9697
ChangeLog-9899
cisco-core.c
coff64-rs6000.c bfd/ 2009-04-16 23:07:00 +00:00
coff-alpha.c bfd/ 2009-04-16 23:07:00 +00:00
coff-apollo.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-arm.c * coff-arm.c (coff_arm_merge_private_bfd_data): Use "error:", not 2009-03-28 23:19:00 +00:00
coff-aux.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-go32.c
coff-h8300.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-h8500.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-i386.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-i860.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-i960.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-ia64.c 2009-04-21 H.J. Lu <hongjiu.lu@intel.com> 2009-04-21 17:08:20 +00:00
coff-m68k.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-m88k.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-maxq.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-mcore.c * coff-arm.c (arm_emit_base_file_entry): Check fwrite return value. 2007-10-15 02:00:11 +00:00
coff-mips.c bfd/ 2009-04-16 23:07:00 +00:00
coff-or32.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-pmac.c
coff-ppc.c 2009-01-03 H.J. Lu <hongjiu.lu@intel.com> 2009-01-03 16:19:52 +00:00
coff-rs6000.c bfd/ 2009-04-16 23:07:00 +00:00
coff-sh.c bfd/ChangeLog 2009-02-18 18:23:08 +00:00
coff-sparc.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-stgo32.c
coff-svm68k.c
coff-tic4x.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-tic30.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-tic54x.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-tic80.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-u68k.c
coff-w65.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-we32k.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-x86_64.c bfd/ChangeLog 2009-04-21 02:13:48 +00:00
coff-z8k.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-z80.c Fix copy-paste bug that caused z80-objdump to issue warnings about stabs debugging symbols rather than to show them. 2008-12-29 17:06:46 +00:00
coffcode.h 2009-04-21 H.J. Lu <hongjiu.lu@intel.com> 2009-04-21 17:08:20 +00:00
coffgen.c * coffgen.c (coff_print_symbol): Use bfd_fprintf_vma, not 2009-05-21 12:52:37 +00:00
cofflink.c ==> bfd/ChangeLog <== 2009-05-19 16:08:08 +00:00
coffswap.h
compress.c bfd/ 2008-07-10 01:32:23 +00:00
config.bfd * Makefile.am: Run "make dep-am". 2009-05-26 14:12:03 +00:00
config.in * configure, config.in: Rebuild. 2008-11-06 14:10:46 +00:00
configure * plugins.m4: New. 2009-05-27 16:29:55 +00:00
configure.com bfd/ 2008-11-14 09:57:35 +00:00
configure.host
configure.in * plugins.m4: New. 2009-05-27 16:29:55 +00:00
COPYING
corefile.c
cpu-alpha.c
cpu-arc.c
cpu-arm.c * coff-arm.c (coff_arm_merge_private_bfd_data): Use "error:", not 2009-03-28 23:19:00 +00:00
cpu-avr.c 2008-12-09 Tristan Gingold <gingold@adacore.com> 2008-12-09 09:51:08 +00:00
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 2009-03-24 H.J. Lu <hongjiu.lu@intel.com> 2009-03-24 18:07:14 +00:00
cpu-i860.c
cpu-i960.c
cpu-ia64-opc.c
cpu-ia64.c
cpu-ip2k.c
cpu-iq2000.c
cpu-lm32.c Add LM32 port. 2008-12-23 19:10:25 +00:00
cpu-m32c.c
cpu-m32r.c
cpu-m68hc11.c
cpu-m68hc12.c
cpu-m68k.c bfd/ 2007-09-11 16:07:50 +00:00
cpu-m88k.c
cpu-m10200.c
cpu-m10300.c
cpu-maxq.c
cpu-mcore.c
cpu-mep.c [include/elf] 2009-04-08 02:24:23 +00:00
cpu-mips.c bfd: 2009-02-03 18:16:04 +00:00
cpu-mmix.c
cpu-moxie.c Add new binutils target: moxie 2009-04-16 15:39:48 +00:00
cpu-msp430.c
cpu-mt.c
cpu-ns32k.c
cpu-openrisc.c
cpu-or32.c
cpu-pdp11.c
cpu-pj.c
cpu-plugin.c * Makefile.am: Run "make dep-am". 2009-05-26 14:12:03 +00:00
cpu-powerpc.c missed from 20080414 commit for e500mc support 2008-04-30 06:47:24 +00:00
cpu-rs6000.c
cpu-s390.c
cpu-score.c Add support for Score7 architecture. 2009-03-02 10:33:08 +00:00
cpu-sh.c
cpu-sparc.c
cpu-spu.c
cpu-tic4x.c
cpu-tic30.c
cpu-tic54x.c
cpu-tic80.c
cpu-v850.c
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 * dep-in.sed: Don't modify .o to .lo here. Output one filename 2009-05-26 03:19:28 +00:00
dwarf1.c * dwarf1.c (struct dwarf1_debug): Add syms member. 2008-02-14 13:02:38 +00:00
dwarf2.c 2009-03-16 Andrew Stubbs <ams@codesourcery.com> 2009-03-16 12:41:26 +00:00
ecoff.c include/elf/ 2009-03-04 05:50:50 +00:00
ecofflink.c Silence gcc printf warnings 2008-07-30 04:34:58 +00:00
ecoffswap.h
elf32-am33lin.c
elf32-arc.c
elf32-arm.c ld/ 2009-05-22 11:58:45 +00:00
elf32-avr.c bfd/ 2009-05-27 13:31:24 +00:00
elf32-avr.h
elf32-bfin.c Remove unnecessary ATTRIBUTE_UNUSED 2009-05-10 23:33:50 +00:00
elf32-cr16.c * Add PIC support for CR16 target. 2008-11-27 12:26:49 +00:00
elf32-cr16c.c * elf-bfd.h (struct elf_backend_data 2009-05-21 14:15:50 +00:00
elf32-cris.c * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD> 2009-03-25 03:03:40 +00:00
elf32-crx.c 2009-03-25 M R Swami Reddy <MR.Swami.Reddy@nsc.com> 2009-03-25 08:05:57 +00:00
elf32-d10v.c * elf-m10300.c (mn10300_elf_check_relocs): Delete dead code. 2007-09-28 08:43:45 +00:00
elf32-d30v.c
elf32-dlx.c * elf-m10300.c (mn10300_elf_check_relocs): Delete dead code. 2007-09-28 08:43:45 +00:00
elf32-fr30.c PR gas/5552 2008-01-09 12:29:08 +00:00
elf32-frv.c bfd/ 2009-05-27 13:31:24 +00:00
elf32-gen.c
elf32-h8300.c [bfd] 2009-04-07 18:21:22 +00:00
elf32-hppa.c * elf32-hppa.c (final_link_relocate): Cast bfd_vma values to long 2009-03-19 10:40:06 +00:00
elf32-hppa.h
elf32-i370.c * elflink.c (is_reloc_section): New function. Returns true if the 2008-11-25 13:03:56 +00:00
elf32-i386.c bfd/ 2009-06-01 13:11:52 +00:00
elf32-i860.c
elf32-i960.c
elf32-ip2k.c
elf32-iq2000.c Silence gcc printf warnings 2008-07-30 04:34:58 +00:00
elf32-lm32.c Add LM32 port. 2008-12-23 19:10:25 +00:00
elf32-m32c.c Silence gcc printf warnings 2008-07-30 04:34:58 +00:00
elf32-m32r.c * elflink.c (is_reloc_section): New function. Returns true if the 2008-11-25 13:03:56 +00:00
elf32-m68hc1x.c include/ 2009-03-18 11:27:18 +00:00
elf32-m68hc1x.h
elf32-m68hc11.c
elf32-m68hc12.c
elf32-m68k.c M68K TLS support. 2009-02-03 14:36:47 +00:00
elf32-m88k.c
elf32-mcore.c * elf-m10300.c (mn10300_elf_check_relocs): Delete dead code. 2007-09-28 08:43:45 +00:00
elf32-mep.c [include/elf] 2009-04-08 02:24:23 +00:00
elf32-mips.c * elf32-mips.c (mips_elf_final_gp): Don't add 0x4000 offset for 2009-02-12 08:28:19 +00:00
elf32-moxie.c Add new binutils target: moxie 2009-04-16 15:39:48 +00:00
elf32-msp430.c * elf-m10300.c (mn10300_elf_check_relocs): Delete dead code. 2007-09-28 08:43:45 +00:00
elf32-mt.c Silence gcc printf warnings 2008-07-30 04:34:58 +00:00
elf32-openrisc.c * elf-m10300.c (mn10300_elf_check_relocs): Delete dead code. 2007-09-28 08:43:45 +00:00
elf32-or32.c
elf32-pj.c
elf32-ppc.c bfd/ 2009-05-27 13:31:24 +00:00
elf32-ppc.h
elf32-s390.c 2009-03-20 Martin Schwidefsky <schwidefsky@de.ibm.com> 2009-03-20 12:57:15 +00:00
elf32-score7.c * elf-bfd.h (struct elf_backend_data 2009-05-21 14:15:50 +00:00
elf32-score.c * elf-bfd.h (struct elf_backend_data 2009-05-21 14:15:50 +00:00
elf32-score.h * elf-bfd.h (struct elf_backend_data 2009-05-21 14:15:50 +00:00
elf32-sh64-com.c
elf32-sh64.c * elf-bfd.h (struct elf_backend_data 2009-05-21 14:15:50 +00:00
elf32-sh64.h
elf32-sh-relocs.h
elf32-sh-symbian.c * elf64-ppc.c (ppc64_elf_process_dot_syms): Renamed from 2008-10-20 11:05:47 +00:00
elf32-sh.c * elflink.c (is_reloc_section): New function. Returns true if the 2008-11-25 13:03:56 +00:00
elf32-sparc.c
elf32-spu.c * elf32-spu.c (struct call_info): New member broken_cycle. 2009-05-28 10:47:44 +00:00
elf32-spu.h bfd/ 2009-05-14 04:30:03 +00:00
elf32-v850.c * elf-bfd.h (struct elf_backend_data 2009-05-21 14:15:50 +00:00
elf32-vax.c 2009-04-01 Matt Thomas <matt@netbsd.org> 2009-04-02 00:20:42 +00:00
elf32-xc16x.c
elf32-xstormy16.c bfd/ 2007-09-26 13:45:32 +00:00
elf32-xtensa.c bfd/ 2009-05-27 13:31:24 +00:00
elf32.c
elf64-alpha.c * elflink.c (is_reloc_section): New function. Returns true if the 2008-11-25 13:03:56 +00:00
elf64-gen.c
elf64-hppa.c * elf-bfd.h (struct elf_backend_data 2009-05-21 14:15:50 +00:00
elf64-hppa.h * elf64-hppa.c: Remove PARAMS macro. Replace PTR with void *. Convert 2009-02-08 17:08:31 +00:00
elf64-mips.c 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com> 2008-08-08 19:24:49 +00:00
elf64-mmix.c bfd/ 2009-05-27 13:31:24 +00:00
elf64-ppc.c * elf-bfd.h (struct elf_backend_data 2009-05-21 14:15:50 +00:00
elf64-ppc.h bfd/ 2008-01-15 07:25:49 +00:00
elf64-s390.c 2009-03-20 Martin Schwidefsky <schwidefsky@de.ibm.com> 2009-03-20 12:57:15 +00:00
elf64-sh64.c * elf-bfd.h (struct elf_backend_data 2009-05-21 14:15:50 +00:00
elf64-sparc.c * elf-bfd.h (struct elf_backend_data 2009-05-21 14:15:50 +00:00
elf64-x86-64.c bfd/ 2009-06-01 13:11:52 +00:00
elf64.c
elf-attrs.c * coff-arm.c (coff_arm_merge_private_bfd_data): Use "error:", not 2009-03-28 23:19:00 +00:00
elf-bfd.h bfd/ 2009-06-01 12:53:00 +00:00
elf-eh-frame.c bfd/ 2009-02-01 12:05:25 +00:00
elf-hppa.h * elf_hppa_add_symbol_hook (elf_hppa_add_symbol_hook): Move to 2009-03-01 17:08:54 +00:00
elf-m10200.c
elf-m10300.c bfd/ 2009-05-27 13:31:24 +00:00
elf-strtab.c PR 868 2008-02-20 17:42:36 +00:00
elf-vxworks.c * elf-bfd.h (struct elf_backend_data 2009-05-21 14:15:50 +00:00
elf-vxworks.h * elf-vxworks.h (elf_vxworks_add_dynamic_entries): Declare. 2007-11-08 13:57:44 +00:00
elf.c include/elf 2009-04-30 15:47:13 +00:00
elfcode.h include/elf 2009-04-30 15:47:13 +00:00
elfcore.h * elfcore.h (elf_core_file_p): Ensure we have a backend match 2008-08-01 12:21:28 +00:00
elflink.c bfd/ 2009-06-01 12:53:00 +00:00
elfn32-mips.c 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com> 2008-08-08 19:24:49 +00:00
elfxx-ia64.c bfd/ 2009-05-27 13:31:24 +00:00
elfxx-mips.c * elf-bfd.h (struct elf_backend_data 2009-05-21 14:15:50 +00:00
elfxx-mips.h * elf-bfd.h (struct elf_backend_data 2009-05-21 14:15:50 +00:00
elfxx-sparc.c bfd/ 2009-05-27 13:31:24 +00:00
elfxx-sparc.h
elfxx-target.h bfd/ 2009-04-16 23:07:00 +00:00
epoc-pe-arm.c
epoc-pei-arm.c
format.c PR 4453 2008-01-21 04:56:47 +00:00
freebsd.h
gen-aout.c
genlink.h
go32stub.h
hash.c * bfd-in.h (bfd_hash_insert): Declare. 2007-09-19 12:08:34 +00:00
host-aout.c
hp300bsd.c
hp300hpux.c
hppabsd-core.c
hpux-core.c * hpux-core.c: Don't include sys/file.h. 2008-11-29 00:26:39 +00:00
i386aout.c
i386bsd.c
i386dynix.c
i386freebsd.c
i386linux.c include/ 2008-02-15 03:35:53 +00:00
i386lynx.c
i386mach3.c
i386msdos.c bfd/ 2009-04-16 23:07:00 +00:00
i386netbsd.c
i386os9k.c bfd/ 2009-04-16 23:07:00 +00:00
ieee.c bfd/ 2009-04-16 23:07:00 +00:00
ihex.c bfd/ 2009-04-16 23:07:00 +00:00
init.c
irix-core.c
libaout.h
libbfd-in.h bfd/ 2009-04-16 23:07:00 +00:00
libbfd.c PR 868 2008-02-20 17:42:36 +00:00
libbfd.h bfd/ 2009-06-01 13:11:52 +00:00
libcoff-in.h 2009-04-21 H.J. Lu <hongjiu.lu@intel.com> 2009-04-21 17:08:20 +00:00
libcoff.h 2009-04-21 H.J. Lu <hongjiu.lu@intel.com> 2009-04-21 17:08:20 +00:00
libecoff.h bfd/ChangeLog 2009-02-18 18:23:08 +00:00
libhppa.h
libieee.h
libnlm.h
liboasys.h
libpei.h bfd/ChangeLog 2009-04-21 02:13:48 +00:00
libxcoff.h bfd/ChangeLog 2009-02-18 18:23:08 +00:00
linker.c bfd/ChangeLog 2009-05-04 12:09:30 +00:00
lynx-core.c
m68k4knetbsd.c
m68klinux.c include/ 2008-02-15 03:35:53 +00:00
m68knetbsd.c
m88kmach3.c
m88kopenbsd.c
mach-o-target.c 2008-11-06 Tristan Gingold <gingold@adacore.com> 2008-11-06 13:03:43 +00:00
mach-o.c bfd/ 2009-04-16 23:07:00 +00:00
mach-o.h 2008-12-23 Tristan Gingold <gingold@adacore.com> 2008-12-23 11:32:45 +00:00
MAINTAINERS
Makefile.am * Makefile.am: Run "make dep-am". 2009-05-26 14:12:03 +00:00
Makefile.in * plugins.m4: New. 2009-05-27 16:29:55 +00:00
makefile.vms 2009-05-25 Tristan Gingold <gingold@adacore.com> 2009-05-25 12:41:46 +00:00
mep-relocs.pl
merge.c * merge.c (sec_merge_hash_lookup): Revert last change. 2007-11-05 02:13:46 +00:00
mipsbsd.c
mmo.c bfd/ 2009-04-16 23:07:00 +00:00
netbsd-core.c
netbsd.h
newsos3.c
nlm32-alpha.c
nlm32-i386.c
nlm32-ppc.c
nlm32-sparc.c
nlm32.c
nlm64.c
nlm-target.h bfd/ 2009-04-16 23:07:00 +00:00
nlm.c
nlmcode.h
nlmswap.h
ns32k.h
ns32knetbsd.c
oasys.c bfd/ 2009-04-16 23:07:00 +00:00
opncls.c (find_separate_debug_file): Use the canonical 2008-08-23 08:08:58 +00:00
osf-core.c
pc532-mach.c
pdp11.c PR 9695 2009-01-19 06:11:22 +00:00
pe-arm-wince.c * coff-sh.c (bfd_pe_print_pdata): Define to NULL for non 2008-07-21 14:09:57 +00:00
pe-arm.c
pe-i386.c include 2007-11-04 23:49:09 +00:00
pe-mcore.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
pe-mips.c bfd/ChangeLog 2009-02-18 18:23:08 +00:00
pe-ppc.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
pe-sh.c
pe-x86_64.c
pef-traceback.h
pef.c bfd/ 2009-04-16 23:07:00 +00:00
pef.h
pei-arm-wince.c
pei-arm.c bfd/ChangeLog 2009-02-18 18:23:08 +00:00
pei-i386.c bfd/ChangeLog 2009-02-18 18:23:08 +00:00
pei-ia64.c 2009-04-21 H.J. Lu <hongjiu.lu@intel.com> 2009-04-21 17:08:20 +00:00
pei-mcore.c bfd/ChangeLog 2009-02-18 18:23:08 +00:00
pei-mips.c bfd/ChangeLog 2009-02-18 18:23:08 +00:00
pei-ppc.c bfd/ChangeLog 2009-02-18 18:23:08 +00:00
pei-sh.c bfd/ChangeLog 2009-02-18 18:23:08 +00:00
pei-x86_64.c bfd/ChangeLog 2009-04-21 02:13:48 +00:00
peicode.h 2009-04-21 H.J. Lu <hongjiu.lu@intel.com> 2009-04-21 17:08:20 +00:00
peXXigen.c * coffgen.c (coff_print_symbol): Use bfd_fprintf_vma, not 2009-05-21 12:52:37 +00:00
plugin.c 2009-05-28 Nick Clifton <nickc@redhat.com> 2009-05-28 11:30:49 +00:00
plugin.h 2009-05-28 Nick Clifton <nickc@redhat.com> 2009-05-28 11:30:49 +00:00
PORTING
ppcboot.c bfd/ 2009-04-16 23:07:00 +00:00
ptrace-core.c
README
reloc16.c bfd/ 2009-05-27 13:31:24 +00:00
reloc.c bfd/ 2009-06-01 13:11:52 +00:00
riscix.c
rs6000-core.c * aix5ppc-core.c: Define macros for the default architecture and 2008-04-18 09:22:24 +00:00
sco5-core.c
section.c * section.c (bfd_get_section_contents): Detect and handle the case 2009-03-27 11:38:30 +00:00
simple.c * simple.c (bfd_simple_get_relocated_section_contents): Use larger 2009-03-16 00:52:37 +00:00
som.c bfd/ 2009-04-16 23:07:00 +00:00
som.h * syms.c (_bfd_stab_section_find_nearest_line): Look at the 2007-09-21 07:58:03 +00:00
sparclinux.c include/ 2008-02-15 03:35:53 +00:00
sparclynx.c
sparcnetbsd.c
srec.c bfd/ 2009-04-16 23:07:00 +00:00
stab-syms.c
stabs.c PR 868 2008-02-20 17:42:36 +00:00
stamp-h.in
sunos.c include/ 2008-02-15 03:35:53 +00:00
syms.c include/elf 2009-04-30 15:47:13 +00:00
sysdep.h
targets.c 2009-05-28 Nick Clifton <nickc@redhat.com> 2009-05-28 11:30:49 +00:00
targmatch.sed
tekhex.c bfd/ 2009-04-16 23:07:00 +00:00
ticoff.h bfd/ChangeLog 2009-02-18 18:23:08 +00:00
TODO
trad-core.c
vax1knetbsd.c
vaxbsd.c
vaxnetbsd.c
verilog.c * verilog.c: New file. 2009-04-27 14:27:36 +00:00
versados.c bfd/ 2009-04-16 23:07:00 +00:00
version.h daily update 2009-06-01 00:00:09 +00:00
vms-gsd.c 2009-02-23 Tristan Gingold <gingold@adacore.com> 2009-02-23 09:28:43 +00:00
vms-hdr.c bfd/ 2009-03-18 11:47:18 +00:00
vms-misc.c 2009-02-23 Tristan Gingold <gingold@adacore.com> 2009-02-23 09:28:43 +00:00
vms-tir.c 2009-02-23 Tristan Gingold <gingold@adacore.com> 2009-02-23 09:28:43 +00:00
vms.c bfd/ 2009-05-27 13:31:24 +00:00
vms.h 2009-02-23 Tristan Gingold <gingold@adacore.com> 2009-02-23 09:28:43 +00:00
vmsutil.c * vmsutil.c (vms_file_stats_name): Fix incorrect use of st_mtime 2009-02-20 18:53:12 +00:00
vmsutil.h * include/elf/ia64.h (SHT_IA_64_VMS_DISPLAY_NAME_INFO, 2009-01-15 12:42:52 +00:00
warning.m4 bfd/ 2008-02-04 19:43:51 +00:00
xcoff-target.h bfd/ 2009-04-16 23:07:00 +00:00
xcofflink.c bfd/ 2009-04-16 23:07:00 +00:00
xsym.c bfd/ 2009-04-16 23:07:00 +00:00
xsym.h
xtensa-isa.c 2008-11-21 Sterling Augustine <sterling@tensilica.com> 2008-11-21 22:13:32 +00:00
xtensa-modules.c 2009-02-24 Sterling Augustine <sterling@jaw.hq.tensilica.com> 2009-02-24 23:26:40 +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.