binutils-gdb/bfd
H.J. Lu 37a9e49a28 Properly handle common symbol and weak function
bfd/

	PR ld/14591
	* elf-bfd.h (_bfd_elf_merge_symbol): Add an argument to return
	if the old symbol is weak.

	* elf32-sh-symbian.c (sh_symbian_relocate_section): Update
	_bfd_elf_merge_symbol call.

	* elflink.c (_bfd_elf_merge_symbol): Add an argument to return
	if the old symbol is weak.
	(_bfd_elf_add_default_symbol): Update _bfd_elf_merge_symbol
	call.
	(elf_link_add_object_symbols): Don't update symbol type from a
	weak definition.  Update symbol type from a common symbol when
	overriding a weak symbol.

ld/testsuite/

	PR ld/14591
	* ld-elf/comm-data.exp (run_ld_link_tests): Add comm-data3a and
	comm-data3b tests.

	* ld-ifunc/ifunc.exp (run_ld_link_exec_tests): New.

	* ld-elf/comm-data3.sd: New file.
	* ld-elf/comm-data3a.s: Likewise.
	* ld-elf/comm-data3b.s: Likewise.
	* ld-ifunc/ifunc-17a-i386.d: Likewise.
	* ld-ifunc/ifunc-17a-x86-64.d: Likewise.
	* ld-ifunc/ifunc-17a.s: Likewise.
	* ld-ifunc/ifunc-17b-i386.d: Likewise.
	* ld-ifunc/ifunc-17b-x86-64.d: Likewise.
	* ld-ifunc/ifunc-17b.s: Likewise.
	* ld-ifunc/ifunc-common-1.out: Likewise.
	* ld-ifunc/ifunc-common-1a.c: Likewise.
	* ld-ifunc/ifunc-common-1b.c: Likewise.
2012-09-19 00:53:30 +00:00
..
doc Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
hosts Suport x32 gcore. 2011-06-16 22:08:12 +00:00
po * po/vi.po: Updated Vietnamese translation. 2012-08-17 14:33:27 +00:00
.gitignore
acinclude.m4
aclocal.m4 bfd/ 2012-05-17 22:23:42 +00:00
aix5ppc-core.c
aix386-core.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
aout0.c PR binutils/13558 2012-05-16 14:26:46 +00:00
aout32.c
aout64.c
aout-adobe.c include/ChangeLog 2011-07-11 15:03:09 +00:00
aout-arm.c Replace all uses of bfd_abs_section, bfd_com_section, bfd_und_section 2012-05-05 03:05:32 +00:00
aout-cris.c PR binutils/13558 2012-05-16 14:26:46 +00:00
aout-ns32k.c PR binutils/13558 2012-05-16 14:26:46 +00:00
aout-sparcle.c PR binutils/13558 2012-05-16 14:26:46 +00:00
aout-target.h include/ChangeLog 2011-07-11 15:03:09 +00:00
aout-tic30.c Replace all uses of bfd_abs_section, bfd_com_section, bfd_und_section 2012-05-05 03:05:32 +00:00
aoutf1.h
aoutx.h PR binutils/13121 2012-05-01 16:07:36 +00:00
archive64.c * vms-lib.c (_bfd_vms_lib_get_module): Use bfd_zmalloc for 2012-08-20 14:32:31 +00:00
archive.c * vms-lib.c (_bfd_vms_lib_get_module): Use bfd_zmalloc for 2012-08-20 14:32:31 +00:00
archures.c Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
armnetbsd.c
bfd-in2.h Really commit regenerated files. 2012-09-13 11:09:02 +00:00
bfd-in.h Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
bfd.c 2012-07-24 Teresa Johnson <tejohnson@google.com> 2012-07-24 21:06:58 +00:00
bfd.m4
bfdio.c 2012-02-02 Tristan Gingold <gingold@adacore.com> 2012-02-02 15:36:44 +00:00
bfdwin.c * bfdwin.c (bfd_get_file_window): Fix memory leak. 2011-09-08 16:06:11 +00:00
binary.c include/ChangeLog 2011-07-11 15:03:09 +00:00
bout.c include/ChangeLog 2011-07-11 15:03:09 +00:00
cache.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
cf-i386lynx.c
cf-sparclynx.c
ChangeLog Properly handle common symbol and weak function 2012-09-19 00:53:30 +00:00
ChangeLog-0001
ChangeLog-0203 typo fixes 2012-08-17 02:43:21 +00:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008 typo fixes 2012-08-17 02:43:21 +00:00
ChangeLog-2009 typo fixes 2012-08-17 02:43:21 +00:00
ChangeLog-2010 typo fixes 2012-08-17 02:43:21 +00:00
ChangeLog-2011 Rotate ChangeLogs 2012-01-05 10:09:39 +00:00
ChangeLog-9193
ChangeLog-9495
ChangeLog-9697
ChangeLog-9899
cisco-core.c * cisco-core.c (cisco_core_file_failing_command): Make static. 2012-07-23 13:19:28 +00:00
coff64-rs6000.c 2012-07-24 Teresa Johnson <tejohnson@google.com> 2012-07-24 21:06:58 +00:00
coff-alpha.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-apollo.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-arm.c Replace all uses of bfd_abs_section, bfd_com_section, bfd_und_section 2012-05-05 03:05:32 +00:00
coff-aux.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-go32.c
coff-h8300.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-h8500.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-i386.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-i860.c * targets.c (bfd_target): Make ar_max_namelen an unsigned char. 2011-06-06 01:26:05 +00:00
coff-i960.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-ia64.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-m68k.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-m88k.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-mcore.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-mips.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-or32.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-ppc.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-rs6000.c * vms-lib.c (_bfd_vms_lib_get_module): Use bfd_zmalloc for 2012-08-20 14:32:31 +00:00
coff-sh.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-sparc.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-stgo32.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-svm68k.c
coff-tic4x.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-tic30.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-tic54x.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-tic80.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-u68k.c
coff-w65.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-we32k.c
coff-x86_64.c PR ld/13491 2012-01-16 08:30:18 +00:00
coff-z8k.c
coff-z80.c
coffcode.h * coffcode.h (sec_to_styp_flags): Handle 2011-09-27 16:03:49 +00:00
coffgen.c 2012-07-24 Teresa Johnson <tejohnson@google.com> 2012-07-24 21:06:58 +00:00
cofflink.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coffswap.h
compress.c PR 14072 2012-05-17 15:13:28 +00:00
config.bfd Bi-endian patches for moxie 2012-09-13 22:24:51 +00:00
config.in * config.in: Disable sanity check for kfreebsd. 2012-09-10 22:30:57 +00:00
configure * configure: Regenerate. 2012-09-15 00:03:06 +00:00
configure.com
configure.host
configure.in Bi-endian patches for moxie 2012-09-13 22:24:51 +00:00
COPYING
corefile.c
cpu-aarch64.c Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
cpu-alpha.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-arc.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
cpu-arm.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-avr.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-bfin.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-cr16.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-cr16c.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-cris.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
cpu-crx.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-d10v.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-d30v.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-dlx.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-epiphany.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-fr30.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-frv.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-h8300.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-h8500.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
cpu-hppa.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-i370.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-i386.c Don't use multi byte nop instructions for i386 2012-02-09 22:51:58 +00:00
cpu-i860.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-i960.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
cpu-ia64-opc.c Add Intel Itanium Series 9500 support 2012-09-04 13:52:06 +00:00
cpu-ia64.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-ip2k.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-iq2000.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-k1om.c Don't use multi byte nop instructions for i386 2012-02-09 22:51:58 +00:00
cpu-l1om.c Don't use multi byte nop instructions for i386 2012-02-09 22:51:58 +00:00
cpu-lm32.c PR binutils/13558 2012-05-16 14:26:46 +00:00
cpu-m9s12x.c * config/tc-m68hc11.c: Add S12X and XGATE co-processor support. 2012-05-15 12:55:51 +00:00
cpu-m9s12xg.c * config/tc-m68hc11.c: Add S12X and XGATE co-processor support. 2012-05-15 12:55:51 +00:00
cpu-m32c.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-m32r.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-m68hc11.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-m68hc12.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-m68k.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-m88k.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-m10200.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-m10300.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-mcore.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-mep.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-microblaze.c PR binutils/13558 2012-05-16 14:26:46 +00:00
cpu-mips.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-mmix.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-moxie.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-msp430.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
cpu-mt.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-ns32k.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
cpu-openrisc.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-or32.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-pdp11.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-pj.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-plugin.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-powerpc.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
cpu-rl78.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-rs6000.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
cpu-rx.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-s390.c 2012-07-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2012-07-27 15:56:43 +00:00
cpu-score.c PR binutils/13558 2012-05-16 14:26:46 +00:00
cpu-sh.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-sparc.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-spu.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-tic4x.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
cpu-tic6x.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-tic30.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-tic54x.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-tic80.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-tilegx.c PR binutils/13558 2012-05-16 14:26:46 +00:00
cpu-tilepro.c PR binutils/13558 2012-05-16 14:26:46 +00:00
cpu-v850.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-vax.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-w65.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
cpu-we32k.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-xc16x.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-xgate.c Add support for Motorola XGATE embedded CPU 2012-05-03 13:04:57 +00:00
cpu-xstormy16.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-xtensa.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-z8k.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-z80.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
demo64.c
dep-in.sed
dwarf1.c
dwarf2.c * dwarf2.c (struct dwarf2_debug): Add close_on_cleanup. 2012-08-01 01:29:12 +00:00
ecoff.c * vms-lib.c (_bfd_vms_lib_get_module): Use bfd_zmalloc for 2012-08-20 14:32:31 +00:00
ecofflink.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
ecoffswap.h
elf32-am33lin.c * elf32-am33lin.c (elf32_am33lin_grok_prstatus): Add case 2011-12-16 00:08:06 +00:00
elf32-arc.c
elf32-arm.c Add hdynamic to elf_link_hash_table for _DYNAMIC 2012-09-02 12:17:27 +00:00
elf32-avr.c 2012-07-24 Jan Waclawek <konfera@efton.sk> 2012-07-24 21:44:44 +00:00
elf32-avr.h
elf32-bfin.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
elf32-cr16.c Add hdynamic to elf_link_hash_table for _DYNAMIC 2012-09-02 12:17:27 +00:00
elf32-cr16c.c * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Handle compound 2012-05-07 03:27:52 +00:00
elf32-cris.c Add hdynamic to elf_link_hash_table for _DYNAMIC 2012-09-02 12:17:27 +00:00
elf32-crx.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
elf32-d10v.c * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Handle compound 2012-05-07 03:27:52 +00:00
elf32-d30v.c
elf32-dlx.c
elf32-epiphany.c * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Handle compound 2012-05-07 03:27:52 +00:00
elf32-fr30.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
elf32-frv.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
elf32-gen.c
elf32-h8300.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
elf32-hppa.c Add hdynamic to elf_link_hash_table for _DYNAMIC 2012-09-02 12:17:27 +00:00
elf32-hppa.h
elf32-i370.c * section.c (bfd_get_linker_section): New function. 2012-06-29 14:46:03 +00:00
elf32-i386.c Ignore discarded section when converting mov to lea 2012-09-18 00:41:59 +00:00
elf32-i860.c * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Handle compound 2012-05-07 03:27:52 +00:00
elf32-i960.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
elf32-ip2k.c * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Handle compound 2012-05-07 03:27:52 +00:00
elf32-iq2000.c * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Handle compound 2012-05-07 03:27:52 +00:00
elf32-lm32.c Add hdynamic to elf_link_hash_table for _DYNAMIC 2012-09-02 12:17:27 +00:00
elf32-m32c.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
elf32-m32r.c Add hdynamic to elf_link_hash_table for _DYNAMIC 2012-09-02 12:17:27 +00:00
elf32-m68hc1x.c * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Modified 2012-08-02 20:40:30 +00:00
elf32-m68hc1x.h * elf32-m68hc1x.c (elf32_m68hc11_merge_symbol_attribute): New function. 2012-02-13 02:29:51 +00:00
elf32-m68hc11.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
elf32-m68hc12.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
elf32-m68k.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
elf32-m88k.c
elf32-mcore.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
elf32-mep.c * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Handle compound 2012-05-07 03:27:52 +00:00
elf32-microblaze.c Add hdynamic to elf_link_hash_table for _DYNAMIC 2012-09-02 12:17:27 +00:00
elf32-mips.c 2011-12-19 Chung-Lin Tang <cltang@codesourcery.com> 2011-12-19 07:58:02 +00:00
elf32-moxie.c Bi-endian patches for moxie 2012-09-13 22:24:51 +00:00
elf32-msp430.c * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Handle compound 2012-05-07 03:27:52 +00:00
elf32-mt.c * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Handle compound 2012-05-07 03:27:52 +00:00
elf32-openrisc.c * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Handle compound 2012-05-07 03:27:52 +00:00
elf32-or32.c
elf32-pj.c
elf32-ppc.c * elf32-ppc.c (ppc_elf_relocate_section): Assert that dynindx is 2012-08-28 20:17:56 +00:00
elf32-ppc.h bfd/ 2012-05-19 06:58:48 +00:00
elf32-rl78.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
elf32-rx.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
elf32-s390.c 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2012-09-03 12:03:48 +00:00
elf32-score7.c Add hdynamic to elf_link_hash_table for _DYNAMIC 2012-09-02 12:17:27 +00:00
elf32-score.c Add hdynamic to elf_link_hash_table for _DYNAMIC 2012-09-02 12:17:27 +00:00
elf32-score.h
elf32-sh64-com.c
elf32-sh64.c
elf32-sh64.h
elf32-sh-relocs.h
elf32-sh-symbian.c Properly handle common symbol and weak function 2012-09-19 00:53:30 +00:00
elf32-sh.c Add hdynamic to elf_link_hash_table for _DYNAMIC 2012-09-02 12:17:27 +00:00
elf32-sparc.c Annotate sparc objects with cpu hardware capabilities used. 2011-09-21 20:49:16 +00:00
elf32-spu.c * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Handle compound 2012-05-07 03:27:52 +00:00
elf32-spu.h
elf32-tic6x.c Add hdynamic to elf_link_hash_table for _DYNAMIC 2012-09-02 12:17:27 +00:00
elf32-tic6x.h
elf32-tilegx.c Add big-endian support for tilegx. 2012-02-25 19:51:34 +00:00
elf32-tilegx.h * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. 2011-06-13 15:18:54 +00:00
elf32-tilepro.c Remove unused got_base variable. 2012-09-17 18:01:18 +00:00
elf32-tilepro.h * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. 2011-06-13 15:18:54 +00:00
elf32-v850.c * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Handle compound 2012-05-07 03:27:52 +00:00
elf32-vax.c Add hdynamic to elf_link_hash_table for _DYNAMIC 2012-09-02 12:17:27 +00:00
elf32-xc16x.c * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Handle compound 2012-05-07 03:27:52 +00:00
elf32-xgate.c gas/config/ 2012-06-28 21:36:35 +00:00
elf32-xgate.h Add support for Motorola XGATE embedded CPU 2012-05-03 13:04:57 +00:00
elf32-xstormy16.c * section.c (bfd_get_linker_section): New function. 2012-06-29 14:46:03 +00:00
elf32-xtensa.c Add hdynamic to elf_link_hash_table for _DYNAMIC 2012-09-02 12:17:27 +00:00
elf32.c
elf64-aarch64.c 2012-09-11 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com> 2012-09-12 16:25:51 +00:00
elf64-alpha.c Add hdynamic to elf_link_hash_table for _DYNAMIC 2012-09-02 12:17:27 +00:00
elf64-gen.c
elf64-hppa.c * section.c (bfd_get_linker_section): New function. 2012-06-29 14:46:03 +00:00
elf64-hppa.h
elf64-ia64-vms.c Add hdynamic to elf_link_hash_table for _DYNAMIC 2012-09-02 12:17:27 +00:00
elf64-mips.c * elf64-mips.c (mips16_elf64_howto_table_rela): Correct src_mask 2012-08-03 22:17:19 +00:00
elf64-mmix.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
elf64-ppc.c 2012-09-12 Doug Kwan <dougkwan@google.com> 2012-09-12 22:56:05 +00:00
elf64-ppc.h bfd/ 2012-01-11 09:28:45 +00:00
elf64-s390.c 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2012-09-03 12:03:48 +00:00
elf64-sh64.c Add hdynamic to elf_link_hash_table for _DYNAMIC 2012-09-02 12:17:27 +00:00
elf64-sparc.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
elf64-tilegx.c Add big-endian support for tilegx. 2012-02-25 19:51:34 +00:00
elf64-tilegx.h * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. 2011-06-13 15:18:54 +00:00
elf64-x86-64.c Ignore discarded section when converting mov to lea 2012-09-18 00:41:59 +00:00
elf64.c
elf-attrs.c Replace all uses of bfd_abs_section, bfd_com_section, bfd_und_section 2012-05-05 03:05:32 +00:00
elf-bfd.h Properly handle common symbol and weak function 2012-09-19 00:53:30 +00:00
elf-eh-frame.c PR ld/13909 2012-05-25 01:12:20 +00:00
elf-hppa.h
elf-ifunc.c Use .got.plt for IFUNC symbols if there are no GOT relocations. 2011-09-12 18:17:36 +00:00
elf-m10200.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
elf-m10300.c Add hdynamic to elf_link_hash_table for _DYNAMIC 2012-09-02 12:17:27 +00:00
elf-nacl.c bfd/ 2012-04-09 16:27:18 +00:00
elf-nacl.h bfd/ 2012-04-03 16:01:38 +00:00
elf-s390-common.c 2012-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2012-07-13 15:47:27 +00:00
elf-strtab.c
elf-vxworks.c * section.c (bfd_get_linker_section): New function. 2012-06-29 14:46:03 +00:00
elf-vxworks.h
elf.c Ignore section symbols without a BFD section 2012-09-04 12:35:35 +00:00
elfcode.h Check number of sections overflow 2012-07-04 00:29:52 +00:00
elfcore.h
elflink.c Properly handle common symbol and weak function 2012-09-19 00:53:30 +00:00
elfn32-mips.c * elf64-mips.c (mips16_elf64_howto_table_rela): Correct src_mask 2012-08-03 22:17:19 +00:00
elfnn-ia64.c Add hdynamic to elf_link_hash_table for _DYNAMIC 2012-09-02 12:17:27 +00:00
elfxx-ia64.c 2011-05-25 Tristan Gingold <gingold@adacore.com> 2011-05-25 12:02:16 +00:00
elfxx-ia64.h 2011-05-25 Tristan Gingold <gingold@adacore.com> 2011-05-25 12:02:16 +00:00
elfxx-mips.c Add hdynamic to elf_link_hash_table for _DYNAMIC 2012-09-02 12:17:27 +00:00
elfxx-mips.h bfd/ 2011-07-24 14:20:15 +00:00
elfxx-sparc.c Add hdynamic to elf_link_hash_table for _DYNAMIC 2012-09-02 12:17:27 +00:00
elfxx-sparc.h Annotate sparc objects with cpu hardware capabilities used. 2011-09-21 20:49:16 +00:00
elfxx-target.h * elf-bfd.h: Formatting. 2012-01-23 06:16:38 +00:00
elfxx-tilegx.c Remove unused got_base variable. 2012-09-17 18:01:18 +00:00
elfxx-tilegx.h * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. 2011-06-13 15:18:54 +00:00
epoc-pe-arm.c
epoc-pei-arm.c
format.c * targets.c (bfd_target): Make ar_max_namelen an unsigned char. 2011-06-06 01:26:05 +00:00
freebsd.h
gen-aout.c
genlink.h
go32stub.h
hash.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
host-aout.c
hp300bsd.c
hp300hpux.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
hppabsd-core.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
hpux-core.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
i386aout.c
i386bsd.c
i386dynix.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
i386freebsd.c
i386linux.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
i386lynx.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
i386mach3.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
i386msdos.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
i386netbsd.c
i386os9k.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
ieee.c include/ChangeLog 2011-07-11 15:03:09 +00:00
ihex.c include/ChangeLog 2011-07-11 15:03:09 +00:00
init.c
irix-core.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
libaout.h
libbfd-in.h * archive.c (SECTION Archives): Update documentation. 2012-08-09 06:25:53 +00:00
libbfd.c 2012-07-24 Teresa Johnson <tejohnson@google.com> 2012-07-24 21:06:58 +00:00
libbfd.h Really commit regenerated files. 2012-09-13 11:09:02 +00:00
libcoff-in.h Building EFI binaries, particularly larger ones (like e.g. Xen does), on Linux 2011-11-02 14:53:04 +00:00
libcoff.h Building EFI binaries, particularly larger ones (like e.g. Xen does), on Linux 2011-11-02 14:53:04 +00:00
libecoff.h
libhppa.h
libieee.h
libnlm.h
liboasys.h
libpei.h
libxcoff.h bfd 2011-05-18 07:58:36 +00:00
linker.c PR ld/14052 2012-05-05 04:51:16 +00:00
lynx-core.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
m68k4knetbsd.c
m68klinux.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
m68knetbsd.c
m88kmach3.c
m88kopenbsd.c
mach-o-i386.c support 16 sect-diffs for mach-o 2012-02-17 11:23:44 +00:00
mach-o-target.c bfd: 2011-12-19 15:42:37 +00:00
mach-o-x86-64.c correct some mach-o section specification nits. 2012-02-10 11:07:33 +00:00
mach-o.c * vms-lib.c (_bfd_vms_lib_get_module): Use bfd_zmalloc for 2012-08-20 14:32:31 +00:00
mach-o.h * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
MAINTAINERS
Makefile.am Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
Makefile.in Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
makefile.vms 2011-06-08 Tristan Gingold <gingold@adacore.com> 2011-06-08 12:33:46 +00:00
mep-relocs.pl
merge.c
mipsbsd.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
mmo.c include/ChangeLog 2011-07-11 15:03:09 +00:00
netbsd-core.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
netbsd.h Fix spelling mistakes. 2011-06-02 13:43:24 +00:00
newsos3.c
nlm32-alpha.c
nlm32-i386.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
nlm32-ppc.c PR binutils/13558 2012-05-16 14:26:46 +00:00
nlm32-sparc.c
nlm32.c
nlm64.c
nlm-target.h include/ChangeLog 2011-07-11 15:03:09 +00:00
nlm.c
nlmcode.h Fix spelling mistakes. 2011-06-02 13:43:24 +00:00
nlmswap.h
ns32k.h
ns32knetbsd.c PR binutils/13558 2012-05-16 14:26:46 +00:00
oasys.c bfd/ 2012-02-11 15:10:12 +00:00
opncls.c * vms-lib.c (_bfd_vms_lib_get_module): Use bfd_zmalloc for 2012-08-20 14:32:31 +00:00
osf-core.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
pc532-mach.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
pdp11.c PR binutils/13121 2012-05-01 16:07:36 +00:00
pe-arm-wince.c
pe-arm.c
pe-i386.c
pe-mcore.c
pe-mips.c * targets.c (bfd_target): Make ar_max_namelen an unsigned char. 2011-06-06 01:26:05 +00:00
pe-ppc.c
pe-sh.c
pe-x86_64.c
pef-traceback.h
pef.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
pef.h PR binutils/13558 2012-05-16 14:26:46 +00:00
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
peicode.h Replace all uses of bfd_abs_section, bfd_com_section, bfd_und_section 2012-05-05 03:05:32 +00:00
peXXigen.c 2011-04-09 Kai Tietz <ktietz@redhat.com> 2011-04-09 16:06:00 +00:00
plugin.c PR 14072 2012-05-17 15:13:28 +00:00
plugin.h
PORTING
ppcboot.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
ptrace-core.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
README
reloc16.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
reloc.c 2012-09-11 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com> 2012-09-12 16:25:51 +00:00
riscix.c Replace all uses of bfd_abs_section, bfd_com_section, bfd_und_section 2012-05-05 03:05:32 +00:00
rs6000-core.c
sco5-core.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
section.c Fix a typo in section.c comments 2012-07-18 17:08:18 +00:00
simple.c PR ld/12365 2011-04-20 00:11:33 +00:00
som.c PR 14072 2012-05-17 15:13:28 +00:00
som.h * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
sparclinux.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
sparclynx.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
sparcnetbsd.c
srec.c include/ChangeLog 2011-07-11 15:03:09 +00:00
stab-syms.c PR binutils/13558 2012-05-16 14:26:46 +00:00
stabs.c
stamp-h.in
sunos.c * elf32-m32c.c (m32c_elf_check_relocs): Use bfd_make_section 2012-07-02 03:02:45 +00:00
syms.c PR binutils/13558 2012-05-16 14:26:46 +00:00
sysdep.h PR 14072 2012-05-17 15:13:28 +00:00
targets.c Bi-endian patches for moxie 2012-09-13 22:24:51 +00:00
targmatch.sed
tekhex.c include/ChangeLog 2011-07-11 15:03:09 +00:00
ticoff.h * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
TODO
trad-core.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
vax1knetbsd.c
vaxbsd.c
vaxnetbsd.c
verilog.c * targets.c (bfd_target): Make ar_max_namelen an unsigned char. 2011-06-06 01:26:05 +00:00
versados.c Replace all uses of bfd_abs_section, bfd_com_section, bfd_und_section 2012-05-05 03:05:32 +00:00
version.h daily update 2012-09-19 00:00:06 +00:00
vms-alpha.c typo fixes 2012-08-17 02:43:21 +00:00
vms-lib.c * vms-lib.c (_bfd_vms_lib_get_module): Use bfd_zmalloc for 2012-08-20 14:32:31 +00:00
vms-misc.c 2011-06-27 Tristan Gingold <gingold@adacore.com> 2011-06-27 08:24:21 +00:00
vms.h
warning.m4
xcofflink.c * linker.c (bfd_link_hash_traverse): Follow warning symbol link. 2011-06-13 00:59:15 +00:00
xsym.c PR 14072 2012-05-17 15:13:28 +00:00
xsym.h * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
xtensa-isa.c
xtensa-modules.c

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.