binutils-gdb/bfd
Richard Sandiford 55e6e39790 bfd/
2006-08-02  Richard Sandiford  <richard@codesourcery.com>
	    Kazu Hirata  <kazu@codesourcery.com>
	    Phil Edwards  <phil@codesourcery.com>
	    Nathan Sidwell  <nathan@codesourcery.com>

	* config.bfd (sh-*-vxworks): Use bfd_elf32_shvxworks_vec and
	bfd_elf32_shlvxworks_vec.
	* configure.in (bfd_elf32_sh64_vec): Add elf-vxworks.lo.
	(bfd_elf32_sh64l_vec, bfd_elf32_sh64lin_vec): Likewise.
	(bfd_elf32_sh64blin_vec, bfd_elf32_sh64lnbsd_vec): Likewise.
	(bfd_elf32_sh64nbsd_vec, bfd_elf32_sh_vec): Likewise.
	(bfd_elf32_shblin_vec, bfd_elf32_shl_vec): Likewise.
	(bfd_elf32_shl_symbian_vec, bfd_elf32_shlin_vec): Likewise.
	(bfd_elf32_shlnbsd_vec, bfd_elf32_shnbsd_vec): Likewise.
	(bfd_elf32_shlvxworks_vec, bfd_elf32_shvxworks_vec): New stanzas.
	* configure: Regenerate.
	* Makefile.am: Regenerate dependencies.
	* Makefile.in: Regenerate.
	* elf-vxworks.c (elf_vxworks_gott_symbol_p): New function.
	(elf_vxworks_add_symbol_hook): Use it.
	(elf_vxworks_link_output_symbol_hook): Likewise.  Use the hash
	table entry to check for weak undefined symbols and to obtain
	the original bfd.
	(elf_vxworks_emit_relocs): Use target_index instead of this_idx.
	* elf32-sh-relocs.h: New file, split from elf32-sh.c.
	(R_SH_DIR32): Use SH_PARTIAL32 for the partial_inplace field,
	SH_SRC_MASK32 for the src_mask field, and SH_ELF_RELOC for the
	special_function field.
	(R_SH_REL32): Use SH_PARTIAL32 and SH_SRC_MASK32 here too.
	(R_SH_REL32, R_SH_TLS_GD_32, R_SH_TLS_LD_32): Likewise.
	(R_SH_TLS_LDO_32, R_SH_TLS_IE_32, R_SH_TLS_LE_32): Likewise.
	(R_SH_TLS_DTPMOD32, R_SH_TLS_DTPOFF32, R_SH_TLS_TPOFF32): Likewise.
	(R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT): Likewise.
	(R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): Likewise.
	(SH_PARTIAL32, SH_SRC_MASK32, SH_ELF_RELOC): Undefine at end of file.
	* elf32-sh.c: Include elf32-vxworks.h.
	(MINUS_ONE): Define.
	(sh_elf_howto_table): Include elf32-sh-relocs.h with SH_PARTIAL32
	set to TRUE, SH_SRC_MASK32 set to 0xffffffff, and SH_ELF_RELOC set
	to sh_elf_reloc.
	(sh_vxworks_howto_table): New variable.  Include elf32-sh-relocs.h
	with SH_PARTIAL32 set to FALSE, SH_SRC_MASK32 set to 0, and
	SH_ELF_RELOC set to bfd_elf_generic_reloc.
	(vxworks_object_p, get_howto_table): New functions.
	(sh_elf_reloc_type_lookup): Fix typo.  Use get_howto_table.
	(sh_elf_info_to_howto): Use get_howto_table.
	(sh_elf_relax_section): Honor the partial_inplace field of the
	R_SH_DIR32 howto.
	(sh_elf_relax_delete_bytes): Likewise.
	(elf_sh_plt_info): New structure.
	(PLT_ENTRY_SIZE): Replace both definitions with...
	(ELF_PLT_ENTRY_SIZE): ...this new macro, with separate definitions for
	INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
	(elf_sh_plt0_entry_be): Update sizes of both definitions accordingly.
	(elf_sh_plt0_entry_le): Likewise.
	(elf_sh_plt_entry_be, elf_sh_plt_entry_le): Likewise.
	(elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le): Likewise.
	(elf_sh_plts): New structure, with separate definitions for
	INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
	(elf_sh_plt0_entry): Delete both definitions.
	(elf_sh_plt_entry, elf_sh_pic_plt_entry): Likewise.
	(elf_sh_sizeof_plt, elf_sh_plt_plt0_offset): Likewise.
	(elf_sh_plt_temp_offset, elf_sh_plt_symbol_offset): Likewise.
	(elf_sh_plt_reloc_offset): Likewise.
	(movi_shori_putval): Delete in favor of...
	(install_plt_field): ...this new function, with separate definitions
	for INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
	(get_plt_info): New function, with separate definitions
	for INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
	(elf_sh_plt0_linker_offset, elf_sh_plt0_gotid_offset): Delete.
	(VXWORKS_PLT_HEADER_SIZE, VXWORKS_PLT_ENTRY_SIZE): New macros.
	(vxworks_sh_plt0_entry_be, vxworks_sh_plt0_entry_le): New constants.
	(vxworks_sh_plt_entry_be, vxworks_sh_plt_entry_le): Likewise.
	(vxworks_sh_pic_plt_entry_be, vxworks_sh_pic_plt_entry_le): Likewise.
	(get_plt_index, get_plt_offset): New functions.
	(elf_sh_link_hash_table): Add srelplt2, plt_info and vxworks_p fields.
	(sh_elf_link_hash_table_create): Initialize them.
	(sh_elf_create_dynamic_sections): Call
	elf_vxworks_create_dynamic_sections for VxWorks.
	(allocate_dynrelocs): Use htab->plt_info to get the size of PLT
	entries.  Allocate relocation entries in .rela.plt.unloaded if
	generating a VxWorks executable.
	(sh_elf_always_size_sections): New function.
	(sh_elf_size_dynamic_sections): Extend .rela.plt handling to
	.rela.plt.unloaded.
	(sh_elf_relocate_section): Use get_howto_table.  Honor
	partial_inplace when calculating the addend for dynamic
	relocations.  Use get_plt_index.
	(sh_elf_finish_dynamic_symbol): Use get_plt_index, install_plt_field
	and htab->plt_info.  Fill in the bra .plt offset for VxWorks
	executables.  Populate .rela.plt.unloaded.  Do not make
	_GLOBAL_OFFSET_TABLE_ absolute on VxWorks.
	(sh_elf_finish_dynamic_sections): Use install_plt_field and
	htab->plt_info.  Handle cases where there is no special PLT header.
	Populate the first relocation in .rela.plt.unloaded and fix up
	the remaining entries.
	(sh_elf_plt_sym_val): Use get_plt_info.
	(elf_backend_always_size_sections): Define.
	(TARGET_BIG_SYM, TARGET_BIG_NAME): Override for VxWorks.
	(TARGET_LITTLE_SYM, TARGET_BIG_SYM): Likewise.
	(elf32_bed, elf_backend_want_plt_sym): Likewise.
	(elf_symbol_leading_char, elf_backend_want_got_underscore): Likewise.
	(elf_backend_grok_prstatus, elf_backend_grok_psinfo): Likewise.
	(elf_backend_add_symbol_hook): Likewise.
	(elf_backend_link_output_symbol_hook): Likewise.
	(elf_backend_emit_relocs): Likewise.
	(elf_backend_final_write_processing): Likewise.
	(ELF_MAXPAGESIZE, ELF_COMMONPAGESIZE): Likewise.
	* targets.c (bfd_elf32_shlvxworks_vec): Declare.
	(bfd_elf32_shvxworks_vec): Likewise.
	(_bfd_target_vector): Include bfd_elf32_shlvxworks_vec and
	bfd_elf32_shvxworks_vec.

gas/
	* config/tc-sh.c (apply_full_field_fix): New function.
	(md_apply_fix): Use it instead of md_number_to_chars.  Do not fill
	in fx_addnumber for BFD_RELOC_32_PLT_PCREL.
	(tc_gen_reloc): Use fx_addnumber rather than 0 as the default case.
	* config/tc-sh.h (TARGET_FORMAT): Override for TE_VXWORKS.

ld/
2006-08-02  Richard Sandiford  <richard@codesourcery.com>
	    Kazu Hirata  <kazu@codesourcery.com>
	    Phil Edwards  <phil@codesourcery.com>

	* Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
	eshlelf_vxworks.o.
	(eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
	* Makefile.in: Regenerate.
	* configure.tgt (sh-*-vxworks): Use shelf_vxworks and
	shlelf_vxworks.
	* emulparams/shelf_vxworks.sh: New file.
	* emulparams/shlelf_vxworks.sh: Likewise.
	* emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
	(OTHER_END_SYMBOLS): Likewise _ehdr.
	(DATA_END_SYMBOLS): Likewise _edata.
	* emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
	is indeed an ELF file before dealing with --force-dynamic.

ld/testsuite/
	* ld-sh/rd-sh.exp: Treat vxworks1-static.d specially.
	* ld-sh/sh-vxworks.exp: New file.
	* ld-sh/sh.exp: Extend sh-linux SIZEOF_HEADERS handling to
	sh-*-vxworks.
	* ld-sh/vxworks1-le.dd, ld-sh/vxworks1-lib-le.dd,
	* ld-sh/vxworks1-lib.dd, ld-sh/vxworks1-lib.nd,
	* ld-sh/vxworks1-lib.rd, ld-sh/vxworks1-lib.s,
	* ld-sh/vxworks1-static.d, ld-sh/vxworks1.dd,
	* ld-sh/vxworks1.ld, ld-sh/vxworks1.rd, ld-sh/vxworks1.s,
	* ld-sh/vxworks2-static.sd, ld-sh/vxworks2.s,
	* ld-sh/vxworks2.sd, ld-sh/vxworks3-le.dd,
	* ld-sh/vxworks3-lib-le.dd, ld-sh/vxworks3-lib.dd,
	* ld-sh/vxworks3-lib.s, ld-sh/vxworks3.dd, ld-sh/vxworks3.s,
	* ld-sh/vxworks4.d, ld-sh/vxworks4a.s, ld-sh/vxworks4b.s,
	* ld-sh/reloc1.s, ld-sh/reloc1.d: New tests.
2006-08-04 13:13:56 +00:00
..
doc Fix spelling typos 2006-07-24 13:49:50 +00:00
hosts 2005-12-27 Jan-Benedict Glaw <jbglaw@lug-owl.de> 2005-12-27 22:17:25 +00:00
po bfd/doc: 2006-06-07 15:38:01 +00:00
acinclude.m4 Configury changes: update src repository (binutils, gdb, and rda) to use 2006-05-31 15:14:46 +00:00
aclocal.m4 Configury changes: update src repository (binutils, gdb, and rda) to use 2006-05-31 15:14:46 +00:00
aix5ppc-core.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
aix386-core.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
aout0.c
aout32.c
aout64.c
aout-adobe.c bfd/ 2006-06-19 13:17:44 +00:00
aout-arm.c
aout-cris.c
aout-ns32k.c * archive.c (bfd_generic_archive_p): Remove unused local variable 2006-05-02 10:01:56 +00:00
aout-sparcle.c
aout-target.h
aout-tic30.c
aoutf1.h * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
aoutx.h bfd/ 2006-06-19 13:17:44 +00:00
archive64.c
archive.c * archive.c (bfd_generic_archive_p): Remove unused local variable 2006-05-02 10:01:56 +00:00
archures.c Add support for AVR6 family 2006-05-24 07:36:12 +00:00
armnetbsd.c
bfd-in2.h bfd/ 2006-07-19 01:50:23 +00:00
bfd-in.h bfd/ 2006-07-19 01:50:23 +00:00
bfd.c * bfd.c (bfd_record_phdr): Clear p_align and p_align_valid fields. 2006-06-20 09:58:36 +00:00
bfd.m4
bfdio.c * configure.in: Check for fopen64. 2005-11-03 16:06:11 +00:00
bfdwin.c * bfdwin.c (bfd_get_file_window): Seek into file in place of 2005-10-27 04:06:35 +00:00
binary.c bfd/ 2006-06-19 13:17:44 +00:00
bout.c bfd/ 2006-06-19 13:17:44 +00:00
cache.c * configure.in: Check for fopen64. 2005-11-03 16:06:11 +00:00
cf-i386lynx.c
cf-sparclynx.c
ChangeLog bfd/ 2006-08-04 13:13:56 +00:00
ChangeLog-0001
ChangeLog-0203 Remove leading bfd/ on filenames. 2006-06-05 00:12:59 +00:00
ChangeLog-2004 Remove leading bfd/ on filenames. 2006-06-05 00:12:59 +00:00
ChangeLog-2005 Remove leading bfd/ on filenames. 2006-06-05 00:12:59 +00:00
ChangeLog-9193
ChangeLog-9495
ChangeLog-9697
ChangeLog-9899
cisco-core.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
coff64-rs6000.c bfd/ 2006-06-19 13:17:44 +00:00
coff-alpha.c
coff-apollo.c
coff-arm.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
coff-aux.c
coff-go32.c
coff-h8300.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
coff-h8500.c * coff-h8300.c (h8300_reloc16_extra_cases): Use input section 2005-12-27 03:06:27 +00:00
coff-i386.c
coff-i860.c
coff-i960.c
coff-ia64.c
coff-m68k.c
coff-m88k.c
coff-maxq.c
coff-mcore.c
coff-mips.c
coff-or32.c * coff-or32.c (bfd_section_from_shdr): Remove unused local 2006-05-04 05:05:25 +00:00
coff-pmac.c
coff-ppc.c PR 2434 2006-03-16 12:20:16 +00:00
coff-rs6000.c bfd/ 2006-06-19 13:17:44 +00:00
coff-sh.c * coff-sh.c (_bfd_sh_align_load_span): Catch sh_insn_info() returning a NULL 2006-07-13 09:07:36 +00:00
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 bfd/ 2006-05-03 14:26:41 +00:00
coff-we32k.c
coff-z8k.c * coff-h8300.c (h8300_reloc16_extra_cases): Use input section 2005-12-27 03:06:27 +00:00
coff-z80.c Cleanup of pseudo-ops for constants and new def24,def32 pseudo-ops on z80 2006-02-05 11:57:35 +00:00
coffcode.h * config/tc-arm.c (arm_fix_adjustable): For COFF, convert fixups against 2006-05-09 11:47:48 +00:00
coffgen.c bfd/ 2006-06-19 13:17:44 +00:00
cofflink.c PR ld/2659 2006-07-05 10:21:39 +00:00
coffswap.h
config.bfd bfd/ 2006-08-04 13:13:56 +00:00
config.in * Makefile.am: Run "make dep-am". 2006-06-05 12:28:18 +00:00
configure bfd/ 2006-08-04 13:13:56 +00:00
configure.com
configure.host * configure.host (hppa*64*-*-hpux*): Set host64 to true. 2005-12-30 22:25:57 +00:00
configure.in bfd/ 2006-08-04 13:13:56 +00:00
COPYING
corefile.c missed copyright 2005 addition 2005-12-27 04:19:15 +00:00
cpu-alpha.c
cpu-arc.c
cpu-arm.c 2006-05-15 Paul Brook <paul@codesourcery.com> 2006-05-15 19:57:35 +00:00
cpu-avr.c Add support for AVR6 family 2006-05-24 07:36:12 +00:00
cpu-bfin.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 bfd/ 2006-02-23 21:36:18 +00:00
cpu-ia64.c
cpu-ip2k.c
cpu-iq2000.c
cpu-m32c.c
cpu-m32r.c
cpu-m68hc11.c
cpu-m68hc12.c
cpu-m68k.c bfd/ 2006-07-12 12:47:00 +00:00
cpu-m88k.c
cpu-m10200.c
cpu-m10300.c
cpu-maxq.c
cpu-mcore.c
cpu-mips.c
cpu-mmix.c
cpu-msp430.c
cpu-mt.c Second part of ms1 to mt renaming. 2005-12-16 10:23:12 +00:00
cpu-ns32k.c
cpu-openrisc.c
cpu-or32.c
cpu-pdp11.c
cpu-pj.c
cpu-powerpc.c * cpu-powerpc.c (bfd_powerpc_archs): Add ppc 750. 2005-12-06 12:10:26 +00:00
cpu-rs6000.c
cpu-s390.c
cpu-sh.c
cpu-sparc.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 Add support for the Infineon XC16X. 2006-02-17 14:36:28 +00:00
cpu-xstormy16.c
cpu-xtensa.c
cpu-z8k.c
cpu-z80.c Add support for the Z80 processor family 2005-10-25 17:40:19 +00:00
demo64.c
dep-in.sed 2005-10-29 H.J. Lu <hongjiu.lu@intel.com> 2005-10-29 23:47:42 +00:00
dwarf1.c
dwarf2.c * archive.c (bfd_generic_archive_p): Remove unused local variable 2006-05-02 10:01:56 +00:00
ecoff.c bfd/ 2006-06-19 13:17:44 +00:00
ecofflink.c * coff-or32.c (bfd_section_from_shdr): Remove unused local 2006-05-04 05:05:25 +00:00
ecoffswap.h
efi-app-ia32.c
efi-app-ia64.c
elf32-am33lin.c
elf32-arc.c
elf32-arm.c PR ld/2754 2006-06-23 02:58:01 +00:00
elf32-avr.c Add support for AVR6 family 2006-05-24 07:36:12 +00:00
elf32-avr.h Add support for AVR6 family 2006-05-24 07:36:12 +00:00
elf32-bfin.c * elf-bfd.h (struct elf_backend_data): Add 2006-06-20 14:34:08 +00:00
elf32-cr16c.c
elf32-cris.c PR 2434 2006-03-16 12:20:16 +00:00
elf32-crx.c
elf32-d10v.c * reloc.c (enum complain_overflow): Correct comments. 2005-12-08 11:05:36 +00:00
elf32-d30v.c
elf32-dlx.c * archive.c (bfd_generic_archive_p): Remove unused local variable 2006-05-02 10:01:56 +00:00
elf32-fr30.c
elf32-frv.c * elf-bfd.h (struct elf_backend_data): Add 2006-06-20 14:34:08 +00:00
elf32-gen.c
elf32-h8300.c
elf32-hppa.c Add TLS support for hppa-linux 2006-05-24 11:05:42 +00:00
elf32-hppa.h
elf32-i370.c bfd/ 2006-06-20 02:22:16 +00:00
elf32-i386.c include/ 2006-07-10 21:40:25 +00:00
elf32-i860.c
elf32-i960.c
elf32-ip2k.c
elf32-iq2000.c
elf32-m32c.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
elf32-m32r.c PR 2434 2006-03-16 12:20:16 +00:00
elf32-m68hc1x.c PR 2434 2006-03-16 12:20:16 +00:00
elf32-m68hc1x.h
elf32-m68hc11.c
elf32-m68hc12.c
elf32-m68k.c bfd/ 2006-06-14 08:27:41 +00:00
elf32-m88k.c
elf32-mcore.c
elf32-mips.c [ bfd/ChangeLog ] 2006-07-20 16:46:30 +00:00
elf32-msp430.c
elf32-mt.c * elf32-mt.c (mt_elf_merge_private_bfd_data): Do not allow mixing 2005-12-27 17:47:42 +00:00
elf32-openrisc.c
elf32-or32.c
elf32-pj.c
elf32-ppc.c PR ld/2754 2006-06-23 02:58:01 +00:00
elf32-ppc.h bfd/ 2005-12-08 11:41:12 +00:00
elf32-s390.c PR ld/2754 2006-06-23 02:58:01 +00:00
elf32-sh64-com.c
elf32-sh64.c bfd/ 2006-05-30 16:45:32 +00:00
elf32-sh64.h
elf32-sh-relocs.h bfd/ 2006-08-04 13:13:56 +00:00
elf32-sh-symbian.c Rename DEBUG to SYMBIAN_DEBUG to avoid conflicts with global DEBUG definition 2006-05-02 09:56:00 +00:00
elf32-sh.c bfd/ 2006-08-04 13:13:56 +00:00
elf32-sparc.c bfd/ 2006-05-30 16:45:32 +00:00
elf32-v850.c * dwarf2.c: Formatting. 2006-05-02 01:41:20 +00:00
elf32-vax.c PR 2434 2006-03-16 12:20:16 +00:00
elf32-xc16x.c Add support for the Infineon XC16X. 2006-02-17 14:36:28 +00:00
elf32-xstormy16.c
elf32-xtensa.c * elf.c (elf_modify_segment_map): Delete empty PT_LOAD segments. 2006-07-26 12:32:27 +00:00
elf32.c
elf64-alpha.c PR ld/2754 2006-06-23 02:58:01 +00:00
elf64-gen.c
elf64-hppa.c bfd/ 2006-06-20 02:22:16 +00:00
elf64-hppa.h
elf64-mips.c [ bfd/ChangeLog ] 2006-07-20 16:46:30 +00:00
elf64-mmix.c bfd/ 2006-05-03 14:26:41 +00:00
elf64-ppc.c PR ld/2754 2006-06-23 02:58:01 +00:00
elf64-ppc.h
elf64-s390.c PR ld/2754 2006-06-23 02:58:01 +00:00
elf64-sh64.c PR 2434 2006-03-16 12:20:16 +00:00
elf64-sparc.c bfd/ 2006-05-30 16:45:32 +00:00
elf64-x86-64.c PR binutils/2983 2006-08-02 16:25:14 +00:00
elf64.c
elf-bfd.h include/ 2006-07-10 21:40:25 +00:00
elf-eh-frame.c bfd/ 2006-06-20 02:22:16 +00:00
elf-hppa.h Add TLS support for hppa-linux 2006-05-24 11:05:42 +00:00
elf-m10200.c
elf-m10300.c PR 2434 2006-03-16 12:20:16 +00:00
elf-strtab.c PR 2434 2006-03-16 12:20:16 +00:00
elf-vxworks.c bfd/ 2006-08-04 13:13:56 +00:00
elf-vxworks.h bfd/ 2006-03-02 08:57:00 +00:00
elf.c * elf.c (elf_modify_segment_map): Delete empty PT_LOAD segments. 2006-07-26 12:32:27 +00:00
elfcode.h Add support for AVR6 family 2006-05-24 07:36:12 +00:00
elfcore.h
elflink.c bfd/ 2006-07-19 01:50:23 +00:00
elfn32-mips.c [ bfd/ChangeLog ] 2006-07-20 16:46:30 +00:00
elfxx-ia64.c * elfxx-ia64.c (elfNN_ia64_choose_gp): Use rawsize if set. 2006-07-26 19:56:16 +00:00
elfxx-mips.c * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Allow 2006-07-25 09:17:57 +00:00
elfxx-mips.h * elfxx-mips.c (_bfd_mips_elf_common_definition): New function. 2006-07-18 08:56:44 +00:00
elfxx-sparc.c PR ld/2754 2006-06-23 02:58:01 +00:00
elfxx-sparc.h bfd/ 2006-04-05 12:41:59 +00:00
elfxx-target.h include/ 2006-07-10 21:40:25 +00:00
epoc-pe-arm.c
epoc-pei-arm.c
format.c 2005-12-13 H.J. Lu <hongjiu.lu@intel.com> 2005-12-13 15:34:28 +00:00
freebsd.h
gen-aout.c
genlink.h
go32stub.h
hash.c * hash.c (bfd_hash_lookup): Correct stray line. 2006-06-06 03:04:12 +00:00
host-aout.c
hp300bsd.c
hp300hpux.c
hppabsd-core.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
hpux-core.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
i386aout.c
i386bsd.c
i386dynix.c
i386freebsd.c
i386linux.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
i386lynx.c
i386mach3.c
i386msdos.c bfd/ 2006-06-19 13:17:44 +00:00
i386netbsd.c
i386os9k.c bfd/ 2006-06-19 13:17:44 +00:00
ieee.c bfd/ 2006-06-19 13:17:44 +00:00
ihex.c bfd/ 2006-06-19 13:17:44 +00:00
init.c
irix-core.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
libaout.h bfd/ 2006-06-19 13:17:44 +00:00
libbfd-in.h bfd/ 2006-06-19 13:17:44 +00:00
libbfd.c bfd/ 2005-11-24 06:02:08 +00:00
libbfd.h 2006-07-18 Paul Brook <paul@codesourcery.com> 2006-07-18 16:44:47 +00:00
libcoff-in.h bfd/ 2006-06-19 13:17:44 +00:00
libcoff.h bfd/ 2006-06-19 13:17:44 +00:00
libecoff.h bfd/ 2006-06-19 13:17:44 +00:00
libhppa.h
libieee.h
libnlm.h
liboasys.h
libpei.h
libxcoff.h
linker.c PR 2434 2006-03-16 12:20:16 +00:00
lynx-core.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
m68k4knetbsd.c
m68klinux.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
m68knetbsd.c
m88kmach3.c
m88kopenbsd.c
mach-o-target.c
mach-o.c bfd/ 2006-06-19 13:17:44 +00:00
mach-o.h
MAINTAINERS
Makefile.am bfd/ 2006-08-04 13:13:56 +00:00
Makefile.in bfd/ 2006-08-04 13:13:56 +00:00
makefile.vms
merge.c PR 2434 2006-03-16 12:20:16 +00:00
mipsbsd.c
mmo.c bfd/ 2006-06-19 13:17:44 +00:00
netbsd-core.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
netbsd.h
newsos3.c
nlm32-alpha.c
nlm32-i386.c
nlm32-ppc.c
nlm32-sparc.c * dwarf2.c: Formatting. 2006-05-02 01:41:20 +00:00
nlm32.c
nlm64.c
nlm-target.h
nlm.c
nlmcode.h * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
nlmswap.h
ns32k.h
ns32knetbsd.c
oasys.c bfd/ 2006-06-19 13:17:44 +00:00
opncls.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
osf-core.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
pc532-mach.c
pdp11.c bfd/ 2006-06-19 13:17:44 +00:00
pe-arm.c
pe-i386.c
pe-mcore.c
pe-mips.c
pe-ppc.c
pe-sh.c
pef-traceback.h
pef.c bfd/ 2006-06-19 13:17:44 +00:00
pef.h
pei-arm.c
pei-i386.c
pei-mcore.c
pei-mips.c
pei-ppc.c
pei-sh.c
peicode.h
peXXigen.c PR ld/2729 2006-07-24 16:51:26 +00:00
PORTING
ppcboot.c bfd/ 2006-06-19 13:17:44 +00:00
ptrace-core.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
README
reloc16.c
reloc.c 2006-07-18 Paul Brook <paul@codesourcery.com> 2006-07-18 16:44:47 +00:00
riscix.c
rs6000-core.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
sco5-core.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
section.c bfd/ 2006-05-03 14:26:41 +00:00
simple.c
som.c bfd/ 2006-06-19 13:17:44 +00:00
som.h
sparclinux.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
sparclynx.c
sparcnetbsd.c
srec.c bfd/ 2006-06-19 13:17:44 +00:00
stab-syms.c
stabs.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
stamp-h.in
sunos.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
syms.c
sysdep.h
targets.c bfd/ 2006-08-04 13:13:56 +00:00
targmatch.sed
tekhex.c bfd/ 2006-06-19 13:17:44 +00:00
ticoff.h
TODO
trad-core.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
vax1knetbsd.c
vaxbsd.c
vaxnetbsd.c
versados.c bfd/ 2006-06-19 13:17:44 +00:00
version.h daily update 2006-08-04 00:00:08 +00:00
vms-gsd.c
vms-hdr.c
vms-misc.c
vms-tir.c
vms.c bfd/ 2006-06-19 13:17:44 +00:00
vms.h
warning.m4 bfd/ 2006-04-19 02:06:15 +00:00
xcoff-target.h bfd/ 2006-06-19 13:17:44 +00:00
xcofflink.c * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags 2006-06-01 03:45:58 +00:00
xsym.c bfd/ 2006-06-19 13:17:44 +00:00
xsym.h bfd/ 2006-06-19 13:17:44 +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.