old-cross-binutils/bfd
H.J. Lu bb1cb422ae Support garbage collection against STT_GNU_IFUNC symbols.
bfd/

2010-07-13  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/11791
	* elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Support
	garbage collection against STT_GNU_IFUNC symbols.

	* elf32-i386.c (elf_i386_get_local_sym_hash): Don't set
	elf.plt.offset/elf.got.offset to -1.
	(elf_i386_tls_transition): Skip TLS transition for functions.
	(elf_i386_gc_sweep_hook): Support STT_GNU_IFUNC symbols.

	* elf64-x86-64.c (elf64_x86_64_get_local_sym_hash): Don't set
	elf.plt.offset/elf.got.offset to -1.
	(elf64_x86_64_tls_transition): Skip TLS transition for functions.
	(elf64_x86_64_gc_sweep_hook): Support STT_GNU_IFUNC symbols.

ld/testsuite/

2010-07-13  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/11791
	* ld-ifunc/ifunc-10-i386.d: New.
	* ld-ifunc/ifunc-10-i386.s: Likewise.
	* ld-ifunc/ifunc-10-x86-64.d: Likewise.
	* ld-ifunc/ifunc-10-x86-64.s: Likewise.
	* ld-ifunc/ifunc-11-i386.d: Likewise.
	* ld-ifunc/ifunc-11-i386.s: Likewise.
	* ld-ifunc/ifunc-11-x86-64.d: Likewise.
	* ld-ifunc/ifunc-11-x86-64.s: Likewise.
2010-07-13 16:59:14 +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 * acinclude.m4: Add include of ../config/zlib.m4. 2009-11-24 22:47:20 +00:00
aclocal.m4 bfd/ 2010-05-07 12:28:50 +00:00
aix5ppc-core.c
aix386-core.c
aout-adobe.c 2009-11-23 Paul Brook <paul@codesourcery.com> 2009-11-23 14:41:33 +00:00
aout-arm.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
aout-cris.c include/aout/ 2009-10-02 14:40:41 +00:00
aout-ns32k.c
aout-sparcle.c
aout-target.h Update copyright year. 2010-03-24 15:41:59 +00:00
aout-tic30.c Update copyright year. 2010-03-24 15:41:59 +00:00
aout0.c
aout32.c
aout64.c
aoutf1.h
aoutx.h bfd/ChangeLog 2010-04-09 14:40:18 +00:00
archive.c PR ld/11624 2010-05-25 10:14:16 +00:00
archive64.c * archive64.c (bfd_elf64_archive_write_armap): Fix buffer overrun 2010-06-23 10:21:16 +00:00
archures.c remove maxq-coff port 2010-06-29 04:17:34 +00:00
armnetbsd.c
bfd-in.h 2010-04-15 Andrew Haley <aph@redhat.com> 2010-04-21 16:32:31 +00:00
bfd-in2.h remove maxq-coff port 2010-06-29 04:17:34 +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 2009-11-23 Paul Brook <paul@codesourcery.com> 2009-11-23 14:41:33 +00:00
bout.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
cache.c 2009-12-11 Tristan Gingold <gingold@adacore.com> 2009-12-11 15:42:38 +00:00
cf-i386lynx.c
cf-sparclynx.c
ChangeLog Support garbage collection against STT_GNU_IFUNC symbols. 2010-07-13 16:59:14 +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
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 fix set but unused variable warnings 2010-06-27 04:07:55 +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 * coff-z80.c (z80coff_vec): Allow sections to be of type SEC_CODE or SEC_DATA 2009-10-17 17:18:28 +00:00
coff64-rs6000.c Update copyright year. 2010-03-24 15:41:59 +00:00
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 * cofflink.c (_bfd_coff_link_input_bfd): Skip section symbols for 2009-10-10 04:58:48 +00:00
coffswap.h
compress.c bfd/ChangeLog: 2010-07-03 20:52:24 +00:00
config.bfd remove maxq-coff port 2010-06-29 04:17:34 +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 2009-09-30 Tristan Gingold <gingold@adacore.com> 2009-09-30 13:12:50 +00:00
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
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 bfd 2009-09-29 14:17:19 +00:00
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
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 Initialize prev_line. 2010-07-06 21:13:57 +00:00
ecoff.c * section.c (struct bfd_section): Delete has_tls_reloc, 2010-02-08 13:16:24 +00:00
ecofflink.c Update soruces to make alpha, arc and arm targets compile cleanly 2009-09-25 19:13:27 +00:00
ecoffswap.h
elf-attrs.c * elf-bfd.h (LEAST_KNOWN_OBJ_ATTRIBUTE): Define. 2010-06-15 23:10:10 +00:00
elf-bfd.h fix set but unused variable warnings 2010-06-27 04:07:55 +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 Updated soruces in bfd/* to compile cleanly with -Wc++-compat. 2009-09-09 21:38:59 +00:00
elf-vxworks.c
elf-vxworks.h
elf.c Implement generic SHF_EXCLUDE. 2010-05-18 03:31:07 +00:00
elf32-am33lin.c
elf32-arc.c
elf32-arm.c fix set but unused variable warnings 2010-06-27 04:07:55 +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 fix set but unused variable warnings 2010-06-27 04:07:55 +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 * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +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 fix set but unused variable warnings 2010-06-27 04:07:55 +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 Support garbage collection against STT_GNU_IFUNC symbols. 2010-07-13 16:59:14 +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 fix set but unused variable warnings 2010-06-27 04:07:55 +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 fix set but unused variable warnings 2010-06-27 04:07:55 +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
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 bfd/ 2010-07-06 09:29:47 +00:00
elf32-ppc.h include/elf/ 2009-09-21 11:51:02 +00:00
elf32-rx.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-s390.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf32-score.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-score.h
elf32-score7.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
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 fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
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-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 fix set but unused variable warnings 2010-06-27 04:07:55 +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 fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32.c
elf64-alpha.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf64-gen.c
elf64-hppa.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf64-hppa.h
elf64-mips.c Update copyright year. 2010-03-24 15:41:59 +00:00
elf64-mmix.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf64-ppc.c * elf64-ppc.c (ppc64_elf_edit_toc): Use SYMBOL_CALLS_LOCAL rather 2010-07-01 09:48:26 +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 Support garbage collection against STT_GNU_IFUNC symbols. 2010-07-13 16:59:14 +00:00
elf64.c
elfcode.h 2010-05-25 Tristan Gingold <gingold@adacore.com> 2010-05-26 07:37:36 +00:00
elfcore.h * elfcode.h (elf_swap_ehdr_out): Handle e_phnum > 0xffff. 2010-01-19 13:50:55 +00:00
elflink.c * bfd/elflink.c (_bfd_elf_merge_symbol): Tighten up the test for early 2010-04-14 08:29:33 +00:00
elfn32-mips.c
elfxx-ia64.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elfxx-mips.c PR binutils/10858 2010-02-24 14:21:51 +00:00
elfxx-mips.h
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 2009-11-23 Paul Brook <paul@codesourcery.com> 2009-11-23 14:41:33 +00:00
epoc-pe-arm.c
epoc-pei-arm.c
format.c Updated soruces in bfd/* to compile cleanly with -Wc++-compat. 2009-09-09 21:38:59 +00:00
freebsd.h
gen-aout.c
genlink.h
go32stub.h
hash.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
host-aout.c
hp300bsd.c include/aout/ 2009-10-02 14:40:41 +00:00
hp300hpux.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
hppabsd-core.c
hpux-core.c
i386aout.c
i386bsd.c include/aout/ 2009-10-02 14:40:41 +00:00
i386dynix.c
i386freebsd.c
i386linux.c include/aout/ 2009-10-02 14:40:41 +00:00
i386lynx.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
i386mach3.c
i386msdos.c 2009-11-23 Paul Brook <paul@codesourcery.com> 2009-11-23 14:41:33 +00:00
i386netbsd.c
i386os9k.c 2009-11-23 Paul Brook <paul@codesourcery.com> 2009-11-23 14:41:33 +00:00
ieee.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
ihex.c 2009-11-23 Paul Brook <paul@codesourcery.com> 2009-11-23 14:41:33 +00:00
init.c
irix-core.c
libaout.h Updated soruces in bfd/* to compile cleanly with -Wc++-compat. 2009-09-09 21:38:59 +00:00
libbfd-in.h 2010-06-08 Tristan Gingold <gingold@adacore.com> 2010-06-08 08:26:01 +00:00
libbfd.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
libbfd.h remove maxq-coff port 2010-06-29 04:17:34 +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 2009-11-23 Paul Brook <paul@codesourcery.com> 2009-11-23 14:41:33 +00:00
lynx-core.c
m68k4knetbsd.c
m68klinux.c include/aout/ 2009-10-02 14:40:41 +00:00
m68knetbsd.c
m88kmach3.c include/aout/ 2009-10-02 14:40:41 +00:00
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 Update copyright year. 2010-03-24 15:41:59 +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 remove maxq-coff port 2010-06-29 04:17:34 +00:00
Makefile.in remove maxq-coff port 2010-06-29 04:17:34 +00:00
makefile.vms bfd/ 2010-01-12 10:16:50 +00:00
mep-relocs.pl
merge.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
mipsbsd.c include/aout/ 2009-10-02 14:40:41 +00:00
mmo.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
netbsd-core.c
netbsd.h
newsos3.c include/aout/ 2009-10-02 14:40:41 +00:00
nlm-target.h 2009-11-23 Paul Brook <paul@codesourcery.com> 2009-11-23 14:41:33 +00:00
nlm.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
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
pc532-mach.c include/aout/ 2009-10-02 14:40:41 +00:00
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 Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
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 * plugin.c (bfd_plugin_object_p): Pass iostream to fileno using 2010-03-17 08:50:36 +00:00
plugin.h
PORTING
ppcboot.c 2009-11-23 Paul Brook <paul@codesourcery.com> 2009-11-23 14:41:33 +00:00
ptrace-core.c
README
reloc.c 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
reloc16.c
riscix.c
rs6000-core.c * rs6000-core.c (read_hdr): Fix typo in recent C++ compatibility 2009-09-11 08:08:11 +00:00
sco5-core.c
section.c update copyright date 2010-02-08 13:47:22 +00:00
simple.c Updated soruces in bfd/* to compile cleanly with -Wc++-compat. 2009-09-09 21:38:59 +00:00
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 include/aout/ 2009-10-02 14:40:41 +00:00
sparclynx.c
sparcnetbsd.c
srec.c 2009-11-23 Paul Brook <paul@codesourcery.com> 2009-11-23 14:41:33 +00:00
stab-syms.c
stabs.c Updated soruces in bfd/* to compile cleanly with -Wc++-compat. 2009-09-09 21:38:59 +00:00
stamp-h.in
sunos.c
syms.c Updated soruces in bfd/* to compile cleanly with -Wc++-compat. 2009-09-09 21:38:59 +00:00
sysdep.h
targets.c remove maxq-coff port 2010-06-29 04:17:34 +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
vax1knetbsd.c
vaxbsd.c include/aout/ 2009-10-02 14:40:41 +00:00
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-07-13 00:00:05 +00:00
vms-alpha.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
vms-lib.c 2010-06-08 Tristan Gingold <gingold@adacore.com> 2010-06-08 14:04:25 +00:00
vms-misc.c 2010-06-11 Tristan Gingold <gingold@adacore.com> 2010-06-11 15:13:32 +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
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 Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
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.