binutils-gdb/bfd
Tristan Gingold 92bc0e8020 2009-06-12 Tristan Gingold <gingold@adacore.com>
* reloc.c: Add BFD_RELOC_MACH_O_SECTDIFF and BFD_RELOC_MACH_O_PAIR.
	* bfd-in2.h: Regenerated.
	* libbfd.h: Regenerated.

	* mach-o.c (FILE_ALIGN): New macro.
	(bfd_mach_o_canonicalize_symtab): Adjust for bfd_mach_o_asymbol.
	(bfd_mach_o_print_symbol): Ditto.
	(bfd_mach_o_scan_write_thread): Adjust type of variable offset.
	(bfd_mach_o_get_reloc_upper_bound): New function.
	(bfd_mach_o_canonicalize_reloc): Ditto.
	(bfd_mach_o_scan_write_relocs): Ditto.
	(bfd_mach_o_scan_write_section_32): Remove offset argument.
	(bfd_mach_o_scan_write_section_64): Ditto.
	(bfd_mach_o_scan_write_segment_32): Write relocs.  Fix size of data
	written for load command.  Do not compute section file offset.
	(bfd_mach_o_scan_write_segment_64): Ditto.
	(bfd_mach_o_scan_write_symtab): Compute file offset first.
	Adjust for bfd_mach_o_asymbol.  Move code to convert from BFD to
	Mach-O to ...
	(bfd_mach_o_mangle_symbols): ... this new function.
	(bfd_mach_o_write_contents): Be sure to habe load commands built.
	Call bfd_mach_o_mangle_symbols.
	(bfd_mach_o_build_commands): Adjust for filelen field.
	Use FILE_ALIGN macro.  Clear section file offset if section is empty.
	Do not set symtab file offset anymore here.
	(bfd_mach_o_make_empty_symbol): Allocate a bfd_mach_o_asymbol.
	(bfd_mach_o_make_bfd_section): Set SEC_RELOC if has reloc.
	Set reloc_count and rel_filepos section fields.
	(bfd_mach_o_scan_read_section_32): Type of argument offset is now
	unsigned int.
	(bfd_mach_o_scan_read_section_64): Ditto.
	(bfd_mach_o_scan_read_section): Ditto.
	(bfd_mach_o_scan_read_symtab_symbol): Typr of argument s is now
	bfd_mach_o_asymbol.  Use unsigned int for file offset type.
	(bfd_mach_o_scan_read_symtab_symbol): Adjust for bfd_mach_o_asymbol.
	Handle weak-ref symbols.
	(bfd_mach_o_scan_read_symtab_symbols): Adjust for bfd_mach_o_asymbol.
	(bfd_mach_o_scan_read_dysymtab_symbol): Ditto.
	(bfd_mach_o_scan): Remove assignment to removed field.
	(bfd_mach_o_mkobject_init): Ditto.
	(bfd_mach_o_bfd_print_private_bfd_data): Adjust printf formatter.
	(bfd_mach_o_bfd_reloc_type_lookup): New macro.
	(bfd_mach_o_bfd_reloc_name_lookup): Ditto.
	(bfd_mach_o_swap_reloc_in): Ditto.
	(bfd_mach_o_swap_reloc_out): Ditto.

	* mach-o.h (BFD_MACH_O_REFERENCE_FLAG_UNDEFINED_NON_LAZY)
	(BFD_MACH_O_REFERENCE_FLAG_UNDEFINED_LAZY)
	(BFD_MACH_O_REFERENCE_FLAG_DEFINED)
	(BFD_MACH_O_REFERENCE_FLAG_PRIVATE_DEFINED)
	(BFD_MACH_O_REFERENCE_FLAG_PRIVATE_UNDEFINED_NON_LAZY)
	(BFD_MACH_O_REFERENCE_FLAG_PRIVATE_UNDEFINED_LAZY)
	(BFD_MACH_O_REFERENCED_DYNAMICALLY, BFD_MACH_O_N_DESC_DISCARDED)
	(BFD_MACH_O_N_NO_DEAD_STRIP, BFD_MACH_O_N_WEAK_REF)
	(BFD_MACH_O_N_WEAK_DEF): New macros.
	Add comments.
	(bfd_mach_o_section_type): Add new enumeration values.
	(BFD_MACH_O_S_SELF_MODIFYING_CODE)
	(BFD_MACH_O_S_ATTR_LIVE_SUPPORT)
	(BFD_MACH_O_S_ATTR_NO_DEAD_STRIP)
	(BFD_MACH_O_S_ATTR_STRIP_STATIC_SYMS, BFD_MACH_O_S_ATTR_NO_TOC): New
	macros.
	(BFD_MACH_O_GENERIC_RELOC_VANILLA)
	(BFD_MACH_O_GENERIC_RELOC_PAIR)
	(BFD_MACH_O_GENERIC_RELOC_SECTDIFF)
	(BFD_MACH_O_GENERIC_RELOC_PB_LA_PTR)
	(BFD_MACH_O_GENERIC_RELOC_LOCAL_SECTDIFF): Ditto.
	(BFD_MACH_O_RELENT_SIZE): Ditto.
	(BFD_MACH_O_R_PCREL, BFD_MACH_O_GET_R_LENGTH)
	(BFD_MACH_O_R_EXTERN, BFD_MACH_O_GET_R_TYPE)
	(BFD_MACH_O_GET_R_SYMBOLNUM, BFD_MACH_O_SET_R_LENGTH)
	(BFD_MACH_O_SET_R_TYPE, BFD_MACH_O_SET_R_SYMBOLNUM): Ditto.
	(BFD_MACH_O_SR_SCATTERED, BFD_MACH_O_SR_PCREL)
	(BFD_MACH_O_GET_SR_LENGTH, BFD_MACH_O_GET_SR_TYPE)
	(BFD_MACH_O_GET_SR_ADDRESS, BFD_MACH_O_SET_SR_LENGTH)
	(BFD_MACH_O_SET_SR_TYPE, BFD_MACH_O_SET_SR_ADDRESS): Ditto.
	(bfd_mach_o_reloc_info): New struct.
	(bfd_mach_o_asymbol): New struct.
	(bfd_mach_o_symtab_command): The symbols field is now of type
	bfd_mach_o_asymbol.
	(bfd_mach_o_load_command): The offset and len fields are now of type
	unsigned int.
	(mach_o_data_struct): Remove symbols, nsymbols and ibfd fields.
	Add a filelen field.  Add comments.
	(bfd_mach_o_backend_data): New struct.
	(bfd_mach_o_get_backend_data): New macro.
	(bfd_mach_o_scan_read_symtab_symbol): Parameter symbol now of type
	bfd_mach_o_asymbol.
	(bfd_mach_o_scan_read_dysymtab_symbol): Ditto.
	(bfd_mach_o_get_reloc_upper_bound): New prototype.
	(bfd_mach_o_canonicalize_reloc): Ditto.

	* mach-o-target.c (bfd_mach_o_bfd_is_local_label_name): Remove
	duplicated macro.  Now defined to _bfd_generic_is_local_label.
	(TARGET_NAME_BACKEND): New macro...
	(TARGET_NAME_BACKEND): ... used to name a new variable.
	(TARGET_NAME): Define relocs table using bfd_mach_o, reference
	Mach-O backend data.

	* mach-o-i386.c (i386_howto_table): New variable.
	(bfd_mach_o_i386_swap_reloc_in): New function.
	(bfd_mach_o_i386_swap_reloc_out): Ditto.
	(bfd_mach_o_i386_bfd_reloc_type_lookup): Ditto.
	(bfd_mach_o_i386_bfd_reloc_name_lookup): Ditto.
	(bfd_mach_o_swap_reloc_in, bfd_mach_o_swap_reloc_out): New macros.
	(bfd_mach_o_bfd_reloc_type_lookup)
	(bfd_mach_o_bfd_reloc_name_lookup): Ditto.
2009-06-12 09:15:46 +00:00
..
doc * plugins.m4: New. 2009-05-27 16:29:55 +00:00
hosts
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
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 2009-06-12 Tristan Gingold <gingold@adacore.com> 2009-06-12 09:15:46 +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 2009-06-10 Paul Pluzhnikov <ppluzhnikov@google.com> 2009-06-11 00:41:03 +00:00
bfdwin.c
binary.c bfd/ 2009-04-16 23:07:00 +00:00
bout.c bfd/ 2009-05-27 13:31:24 +00:00
cache.c 2009-06-10 Paul Pluzhnikov <ppluzhnikov@google.com> 2009-06-11 00:41:03 +00:00
cf-i386lynx.c
cf-sparclynx.c
ChangeLog 2009-06-12 Tristan Gingold <gingold@adacore.com> 2009-06-12 09:15:46 +00:00
ChangeLog-0001
ChangeLog-0203
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
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
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
coff-go32.c
coff-h8300.c
coff-h8500.c
coff-i386.c
coff-i860.c
coff-i960.c
coff-ia64.c 2009-04-21 H.J. Lu <hongjiu.lu@intel.com> 2009-04-21 17:08:20 +00:00
coff-m68k.c
coff-m88k.c
coff-maxq.c
coff-mcore.c
coff-mips.c bfd/ 2009-04-16 23:07:00 +00:00
coff-or32.c
coff-pmac.c
coff-ppc.c
coff-rs6000.c bfd/ 2009-06-02 18:51:34 +00:00
coff-sh.c bfd/ChangeLog 2009-02-18 18:23:08 +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
coff-we32k.c
coff-x86_64.c bfd/ChangeLog 2009-04-21 02:13:48 +00:00
coff-z8k.c
coff-z80.c
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
config.bfd 2009-06-05 Tristan Gingold <gingold@adacore.com> 2009-06-05 09:19:44 +00:00
config.in
configure 2009-06-05 Tristan Gingold <gingold@adacore.com> 2009-06-05 09:19:44 +00:00
configure.com
configure.host
configure.in 2009-06-05 Tristan Gingold <gingold@adacore.com> 2009-06-05 09:19:44 +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
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
cpu-m32c.c
cpu-m32r.c
cpu-m68hc11.c
cpu-m68hc12.c
cpu-m68k.c
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
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 use \n in replacement part of s command. 2009-06-04 06:51:11 +00:00
dwarf1.c
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
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
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
elf32-d30v.c
elf32-dlx.c
elf32-fr30.c
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
elf32-i386.c bfd/ 2009-06-06 22:39:25 +00:00
elf32-i860.c
elf32-i960.c
elf32-ip2k.c
elf32-iq2000.c
elf32-lm32.c
elf32-m32c.c
elf32-m32r.c
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
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 PC-relative branch instructions to moxie port. 2009-06-11 11:27:58 +00:00
elf32-msp430.c
elf32-mt.c
elf32-openrisc.c
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
elf32-sh.c
elf32-sparc.c
elf32-spu.c * elf32-spu.c (spu_elf_relocate_section): Match overlay number 2009-06-06 06:36:52 +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
elf32-xtensa.c bfd/ 2009-05-27 13:31:24 +00:00
elf32.c
elf64-alpha.c
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
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
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-06 22:39:25 +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-06 22:39:25 +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
elf-vxworks.c * elf-bfd.h (struct elf_backend_data 2009-05-21 14:15:50 +00:00
elf-vxworks.h
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
elflink.c bfd/ 2009-06-06 22:39:25 +00:00
elfn32-mips.c
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
freebsd.h
gen-aout.c
genlink.h
go32stub.h
hash.c
host-aout.c
hp300bsd.c
hp300hpux.c
hppabsd-core.c
hpux-core.c
i386aout.c
i386bsd.c
i386dynix.c
i386freebsd.c
i386linux.c
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
libbfd.h 2009-06-12 Tristan Gingold <gingold@adacore.com> 2009-06-12 09:15:46 +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
m68knetbsd.c
m88kmach3.c
m88kopenbsd.c
mach-o-i386.c 2009-06-12 Tristan Gingold <gingold@adacore.com> 2009-06-12 09:15:46 +00:00
mach-o-target.c 2009-06-12 Tristan Gingold <gingold@adacore.com> 2009-06-12 09:15:46 +00:00
mach-o.c 2009-06-12 Tristan Gingold <gingold@adacore.com> 2009-06-12 09:15:46 +00:00
mach-o.h 2009-06-12 Tristan Gingold <gingold@adacore.com> 2009-06-12 09:15:46 +00:00
MAINTAINERS
Makefile.am bfd/ 2009-06-06 07:48:02 +00:00
Makefile.in bfd/ 2009-06-06 07:48:02 +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
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 2009-06-10 Paul Pluzhnikov <ppluzhnikov@google.com> 2009-06-11 00:41:03 +00:00
osf-core.c
pc532-mach.c
pdp11.c
pe-arm-wince.c
pe-arm.c
pe-i386.c
pe-mcore.c
pe-mips.c bfd/ChangeLog 2009-02-18 18:23:08 +00:00
pe-ppc.c
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 2009-06-12 Tristan Gingold <gingold@adacore.com> 2009-06-12 09:15:46 +00:00
riscix.c
rs6000-core.c
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
sparclinux.c
sparclynx.c
sparcnetbsd.c
srec.c bfd/ 2009-04-16 23:07:00 +00:00
stab-syms.c
stabs.c
stamp-h.in
sunos.c
syms.c include/elf 2009-04-30 15:47:13 +00:00
sysdep.h
targets.c 2009-06-05 Tristan Gingold <gingold@adacore.com> 2009-06-05 09:19:44 +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-12 00:00:04 +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
warning.m4
xcoff-target.h bfd/ 2009-04-16 23:07:00 +00:00
xcofflink.c bfd/ 2009-06-02 18:51:34 +00:00
xsym.c bfd/ 2009-04-16 23:07:00 +00:00
xsym.h
xtensa-isa.c
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.