binutils-gdb/bfd
Dave Korn 5d3236eea0 Applied patch series for LD plugin interface (six parts).
[PATCH] Add infrastructure for plugin API; functionality to follow.

    include/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

	Apply LD plugin patch series (part 1/6).
	* plugin-api.h (LDPT_GNU_LD_VERSION): New ld_plugin_tag enum member.

    ld/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

	Apply LD plugin patch series (part 1/6).
	* configure.in: Add AC_CHECKs for file io and dlfcn headers and
	functions and AC_SEARCH for -ldl.
	(enable_plugins): New shell variable set if above tests find dlopen
	functionality.
	(ENABLE_PLUGINS): Add related automake conditional.
	* configure: Regenerate.
	* config.in: Likewise.
	* Makefile.am (PLUGIN_C): Declare plugin C source file, conditional
	on ENABLE_PLUGINS being defined.
	(PLUGIN_H): Likewise for header file.
	(PLUGIN_OBJECT): Likewise for object file.
	(PLUGIN_CFLAGS): Likewise -D flag required to compile plugin support.
	(AM_CPPFLAGS): Use PLUGIN_CFLAGS.
	(CFILES): Use PLUGIN_C.
	(HFILES): Use PLUGIN_H.
	(OFILES): Use PLUGIN_OBJECT.
	(ld_new_SOURCES): Use PLUGIN_C.
	(noinst_LTLIBRARIES)[ENABLE_PLUGINS]: Declare test plugin.
	(libldtestplug_la_SOURCES)[ENABLE_PLUGINS]: Add automake definition
	for test plugin.
	(libldtestplug_la_CFLAGS)[ENABLE_PLUGINS]: Likewise.
	(libldtestplug_la_LDFLAGS)[ENABLE_PLUGINS]: Likewise.
	* Makefile.in: Regenerate.
	* sysdep.h: Include stdarg.h, unistd.h and one of fcntl.h or
	sys/file.h where available.  Include dlfcn.h when ENABLE_PLUGINS.
	(O_RDONLY): Supply default definition likewise to bfd's sysdep.h
	(O_WRONLY): Likewise.
	(O_RDWR): Likewise.
	(O_ACCMODE): Likewise.
	(O_BINARY): Likewise.
	(SEEK_SET): Likewise.
	(SEEK_CUR): Likewise.
	(SEEK_END): Likewise.
	* ldmisc.c (vfinfo): Make non-static.  Add %p format char.
	* ldmisc.h (vfinfo): Declare extern prototype.
	* lexsup.c (enum option_values)[ENABLE_PLUGINS]: Add new entries for
	OPTION_PLUGIN and OPTION_PLUGIN_OPT.
	(ld_options[])[ENABLE_PLUGINS]: Add option data for the above two.
	(parse_args)[ENABLE_PLUGINS]: Handle them, and load all plugins once
	option parsing is complete.
	* ldmain.c (main)[ENABLE_PLUGINS]: Call plugin cleanup hooks just
	after lang_finish.
	* plugin.c: New source file.
	* plugin.h: Likewise new header.
	* testplug.c: New source file.

    ld/testsuite/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

	Apply LD plugin patch series (part 1/6).
	* ld-bootstrap/bootstrap.exp: Skip static tests also if LD plugins
	are enabled.
	* lib/ld-lib.exp (proc regexp_diff): Extend verbose debug output.
	(proc set_file_contents): Write a file with the supplied content.
	(run_ld_link_tests): Add new 'ld' action to test linker output.
	(proc check_plugin_api_available): Return true if linker under test
	supports the plugin API.
	* ld-plugin/func.c: New test source file.
	* ld-plugin/main.c: Likewise.
	* ld-plugin/text.c: Likewise.
	* ld-plugin/plugin-1.d: New dump test output pattern script.
	* ld-plugin/plugin-2.d: Likewise.
	* ld-plugin/plugin-3.d: Likewise.
	* ld-plugin/plugin-4.d: Likewise.
	* ld-plugin/plugin-5.d: Likewise.
	* ld-plugin/plugin.exp: New test control script.
---
[PATCH] Implement claim file and all symbols read hooks and add symbols callback.

  ld/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

	Apply LD plugin patch series (part 2/6).
	* ldfile.c (ldfile_try_open_bfd)[ENABLE_PLUGINS]: Don't return early
	during compat checks if they pass, instead offer any successfully
	opened and accepted file to the plugin claim file hooks chain.  Create
	a dummy bfd to accept symbols added by the plugin, if the plugin
	claims the file.
	* ldlang.c (lang_process)[ENABLE_PLUGINS]: Call plugin all symbols
	read hook chain before ldemul_after_open.
	* ldlang.h (struct lang_input_statement_struct): Add new single-bit
	'claimed' flag.
	* plugin.c (IRONLY_SUFFIX): New macro for dummy bfd file suffix.
	(IRONLY_SUFFIX_LEN): Length of the above string.
	(plugin_get_ir_dummy_bfd): New function to create the dummy bfd used
	to store symbols for ir-only files.
	(is_ir_dummy_bfd): New function to check if a bfd is ir-only.
	(asymbol_from_plugin_symbol): New function converts symbol formats.
	(add_symbols): Call it to convert plugin syms to bfd syms and add
	them to the dummy bfd.
	* plugin.h: Add missing include guards.
	(plugin_get_ir_dummy_bfd): Add prototype.
	(is_ir_dummy_bfd): Likewise.
	* testplug.c (TV_MESSAGE): New helper macro.
	(struct claim_file): New struct.
	(claim_file_t): New typedef.
	(tag_names[]): Make static and const.
	(claimfiles_list): New variable.
	(claimfiles_tail_chain_ptr): Likewise.
	(last_claimfile): Likewise.
	(record_claim_file): Record a file to claim on a singly-linked list.
	(parse_symdefstr): Parse an ASCII representation of a symbol from a
	plugin option into the fields of a struct ld_plugin_symbol.
	(record_claimed_file_symbol):  Use it to parse plugin option for
	adding a symbol.
	(parse_option): Parse claim file and add symbol options.
	(dump_tv_tag): Use TV_MESSAGE.
	(onload): Likewise.
	(onclaim_file): Make static.  Use TV_MESSAGE.  Scan list of files to
	claim and claim this file if required, adding any symbols specified.
	(onall_symbols_read): Make static and use TV_MESSAGE.
	(oncleanup): Likewise.

  ld/testsuite/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

	Apply LD plugin patch series (part 2/6).
	* ld-plugin/plugin-3.d: Enable regexes for new functionality.
	* ld-plugin/plugin-5.d: Likewise.
	* ld-plugin/plugin-6.d: New testcase.
	* ld-plugin/plugin-7.d: Likewise.
	* ld-plugin/plugin.exp: Use 'nm' on compiled test objects to determine
	whether symbols in plugin arguments need an underscore prefix.  Add
	new plugin-6.d and plugin-7.d testcases.
---
[PATCH] Implement get symbols callback.

  ld/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

	Apply LD plugin patch series (part 3/6).
	* ldmain.c (notice)[ENABLE_PLUGINS]: Call plugin_notice.
	* plugin.c (non_ironly_hash): Add new bfd hash table.
	(plugin_load_plugins): Exit early if no plugins to load.  If plugins
	do load successfully, set notice_all flag in link info.
	(get_symbols): Implement.
	(plugin_load_plugins): Exit early if no plugins to load, else after
	loading plugins successfully enable notice_all mode.
	(init_non_ironly_hash): Lazily init non_ironly_hash table.
	(plugin_notice): Record symbols referenced from non-IR files in the
	non_ironly_hash.  Suppress tracing, cref generation and nocrossrefs
	tracking for symbols from dummy IR bfds.
	* plugin.h: Fix formatting.
	(plugin_notice): Add prototype.
	* testplug.c (dumpresolutions): New global var.
	(parse_options): Accept "dumpresolutions".
	(onall_symbols_read): Get syms and dump resolutions if it was given.

  ld/testsuite/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

	Apply LD plugin patch series (part 3/6).
	* ld-plugin/plugin-8.d: New testcase.
	* ld-plugin/plugin.exp: Invoke it.
---
[PATCH] Implement add input file, add input lib and set extra lib path callbacks.

  ld/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

	Apply LD plugin patch series (part 4/6).
	* ldlang.c (lang_process)[ENABLE_PLUGINS]: Move invocation of
	plugin_call_all_symbols_read to before setting of gc_sym_list, and
	open any new input files that may have been added during it.
	* ldmain.c (multiple_definition)[ENABLE_PLUGINS]: Call out to
	plugin_multiple_definition and let it have first say over what to do
	with the clashing definitions.
	* plugin.c (no_more_claiming): New boolean variable.
	(plugin_cached_allow_multiple_defs): Likewise.
	(add_input_file): Implement.
	(add_input_library): Likewise.
	(set_extra_library_path): Likewise.
	(plugin_call_claim_file): Don't do anything when no_more_claiming set.
	(plugin_call_all_symbols_read): Set it.  Disable link info
	"allow_multiple_definition" flag, but cache its value.
	(plugin_multiple_definition): New function.
	* plugin.h (plugin_multiple_definition): Add prototype.
	* testplug.c (addfile_enum_t): New enumerated typedef.
	(add_file_t): New struct typedef.
	(addfiles_list): New variable.
	(addfiles_tail_chain_ptr): Likewise.
	(record_add_file): New function.
	(parse_option): Parse "add:", "lib:" and "dir:" options and call it.
	(onall_symbols_read): Iterate the list of new files, libs and dirs,
	adding them.

  ld/testsuite/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

	Apply LD plugin patch series (part 4/6).
	* ld-plugin/plugin-9.d: New testcase.
	* ld-plugin/plugin.exp: Invoke it.
---
[PATCH] Add ELF symbol visibility support to plugin interface.

  ld/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

	Apply LD plugin patch series (part 5/6).
	* plugin.c (asymbol_from_plugin_symbol): If the bfd is an ELF bfd,
	find the elf symbol data and set the visibility in the st_other field.

  ld/testsuite/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

	Apply LD plugin patch series (part 5/6).
	* ld-plugin/plugin-ignore.d: New dump test control script.
	* ld-plugin/plugin-vis-1.d: Likewise.
	* ld-plugin/plugin.exp: Add list of ELF-only tests and run them if
	testing on an ELF target.
---
[PATCH] Add archive support to plugin interface.

  bfd/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

	Apply LD plugin patch series (part 6/6).
	* aoutx.h (aout_link_check_ar_symbols): Take new "subsbfd" reference
	parameter and pass it when invoking add_archive_element callback.
	(aout_link_check_archive_element): Handle substitute bfd if it
	was set during add_archive_element callback in the above.
	* cofflink.c (coff_link_check_ar_symbols): Take new "subsbfd" reference
	parameter and pass it when invoking add_archive_element callback.
	(coff_link_check_archive_element): Handle substitute bfd if it
	was set during add_archive_element callback in the above.
	* ecoff.c (read_ext_syms_and_strs): New function holds symbol-reading
	code factored-out from ecoff_link_check_archive_element.
	(reread_ext_syms_and_strs): Clear old symbols and call it.
	(ecoff_link_check_archive_element):  Use the above.  Handle substitute
	BFD if one is set by add_archive_element callback.
	(ecoff_link_add_archive_symbols): Likewise allow bfd substitution.
	* elflink.c (elf_link_add_archive_symbols): Likewise.
	* linker.c (generic_link_check_archive_element): Likewise.
	* pdp11.c (aout_link_check_ar_symbols): Take new "subsbfd" reference
	parameter and pass it when invoking add_archive_element callback.
	(aout_link_check_archive_element): Handle substitute bfd if it was
	set during add_archive_element callback in the above.
	* vms-alpha.c (alpha_vms_link_add_archive_symbols): Handle substitute
	BFD if one is set by add_archive_element callback.
	* xcofflink.c (xcoff_link_check_dynamic_ar_symbols): Take new "subsbfd"
	reference parameter and pass it when invoking add_archive_element
	callback.
	(xcoff_link_check_ar_symbols): Likewise.
	(xcoff_link_check_archive_element): Handle bfd substitution if it was
	set by callback in the above.

  include/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

	Apply LD plugin patch series (part 6/6).
	* bfdlink.h (struct_bfd_link_callbacks): Document new argument
	to add_archive_element callback used to return a replacement bfd which
	is to be added to the hash table in place of the original element.

  ld/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

	Apply LD plugin patch series (part 6/6).
	* ldlang.c (load_symbols): Handle bfd subsitution when calling the
	add_archive_element callback.
	* ldmain.c (add_archive_element)[ENABLE_PLUGINS]: Offer the archive
	member to the plugins and if claimed set "subsbfd" output parameter to
	point to the dummy IR-only BFD.

  ld/testsuite/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

	Apply LD plugin patch series (part 6/6).
	* ld-plugin/plugin-10.d: New dump test control script.
	* ld-plugin/plugin-11.d: Likewise.
	* ld-plugin/plugin.exp: Run them.
---
2010-10-14 01:31:33 +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
aclocal.m4 bfd/ 2010-05-07 12:28:50 +00:00
aix5ppc-core.c
aix386-core.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
aout0.c
aout32.c
aout64.c
aout-adobe.c
aout-arm.c * aout-arm.c (MY(bfd_reloc_type_lookup)): Use bfd_arch_bits_per_address. 2010-08-25 07:02:40 +00:00
aout-cris.c
aout-ns32k.c * aout-arm.c (MY(bfd_reloc_type_lookup)): Use bfd_arch_bits_per_address. 2010-08-25 07:02:40 +00:00
aout-sparcle.c
aout-target.h 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
aout-tic30.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
aoutf1.h
aoutx.h Applied patch series for LD plugin interface (six parts). 2010-10-14 01:31:33 +00:00
archive64.c * archive64.c (bfd_elf64_archive_write_armap): Fix buffer overrun 2010-06-23 10:21:16 +00:00
archive.c * archive.c (_bfd_archive_bsd44_construct_extended_name_table): 2010-07-22 14:48:54 +00:00
archures.c Add support for v850E2 and v850E2V3 2010-07-23 14:52:54 +00:00
armnetbsd.c
bfd-in2.h * bfd/bfd-in2.h (BFD_RELOC_ARM_HVC): New enum value. 2010-09-23 15:52:19 +00:00
bfd-in.h 2010-04-15 Andrew Haley <aph@redhat.com> 2010-04-21 16:32:31 +00:00
bfd.c 2010-04-01 Tristan Gingold <gingold@adacore.com> 2010-04-01 09:47:14 +00:00
bfd.m4
bfdio.c 2010-06-09 Tristan Gingold <gingold@adacore.com> 2010-06-09 13:28:31 +00:00
bfdwin.c
binary.c
bout.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
cache.c
cf-i386lynx.c
cf-sparclynx.c
ChangeLog Applied patch series for LD plugin interface (six parts). 2010-10-14 01:31:33 +00:00
ChangeLog-0001
ChangeLog-0203
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-9193
ChangeLog-9495
ChangeLog-9697
ChangeLog-9899
cisco-core.c * cisco-core.c (cisco_core_file_pid): Define. 2010-08-30 09:35:25 +00:00
coff64-rs6000.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
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 * aout-arm.c (MY(bfd_reloc_type_lookup)): Use bfd_arch_bits_per_address. 2010-08-25 07:02:40 +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 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +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
coffcode.h 2010-09-22 Kai Tietz <kai.tietz@onevision.com> 2010-09-22 14:19:35 +00:00
coffgen.c PR binutils/11512 2010-04-27 14:42:50 +00:00
cofflink.c Applied patch series for LD plugin interface (six parts). 2010-10-14 01:31:33 +00:00
coffswap.h
compress.c bfd/ChangeLog: 2010-07-03 20:52:24 +00:00
config.bfd Select 32-bit pei for 64-bit pei configurations. 2010-09-02 22:54:44 +00:00
config.in 2010-04-27 Kai Tietz <kai.tietz@onevision.com> 2010-04-27 17:26:09 +00:00
configure Fix unportable shell quoting. 2010-09-27 20:23:01 +00:00
configure.com
configure.host
configure.in remove maxq-coff port 2010-06-29 04:17:34 +00:00
COPYING
corefile.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
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-d10v.c: Make bits_per_address 18 for all arch_info entries. 2010-09-23 11:55:01 +00:00
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-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
cpu-rs6000.c
cpu-rx.c
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 Add support for v850E2 and v850E2V3 2010-07-23 14:52:54 +00:00
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
dwarf2.c PR ld/11817 2010-07-14 22:18:07 +00:00
ecoff.c Applied patch series for LD plugin interface (six parts). 2010-10-14 01:31:33 +00:00
ecofflink.c
ecoffswap.h
elf32-am33lin.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elf32-arc.c
elf32-arm.c * elf32-arm.c (elf32_arm_final_link_relocate) 2010-10-11 07:38:53 +00:00
elf32-avr.c Add target_id to elf_backend_data. 2010-08-25 14:53:45 +00:00
elf32-avr.h
elf32-bfin.c Add target_id to elf_backend_data. 2010-08-25 14:53:45 +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 2010-09-24 Thomas Schwinge <thomas@codesourcery.com> 2010-09-24 12:14:26 +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 * elf32-frv.c (elf32_frv_relocate_section): Set "name" for global syms. 2010-10-11 09:11:34 +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 2010-09-24 Thomas Schwinge <thomas@codesourcery.com> 2010-09-24 12:14:26 +00:00
elf32-hppa.h
elf32-i370.c 2010-09-24 Thomas Schwinge <thomas@codesourcery.com> 2010-09-24 12:14:26 +00:00
elf32-i386.c Clear non_elf on ELF linker defined symbols. 2010-10-01 04:28:04 +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 Add target_id to elf_backend_data. 2010-08-25 14:53:45 +00:00
elf32-m32c.c * elf32-m32c.c (ELF_MAXPAGESIZE): Change page size to 256 bytes. 2010-08-04 03:42:45 +00:00
elf32-m32r.c bfd/ 2010-10-04 14:13:10 +00:00
elf32-m68hc1x.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf32-m68hc1x.h
elf32-m68hc11.c Add target_id to elf_backend_data. 2010-08-25 14:53:45 +00:00
elf32-m68hc12.c Add target_id to elf_backend_data. 2010-08-25 14:53:45 +00:00
elf32-m68k.c 2010-09-24 Thomas Schwinge <thomas@codesourcery.com> 2010-09-24 12:14:26 +00:00
elf32-m88k.c
elf32-mcore.c
elf32-mep.c
elf32-microblaze.c bfd/ 2010-10-04 14:13:10 +00:00
elf32-mips.c Add target_id to elf_backend_data. 2010-08-25 14:53:45 +00:00
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-10-04 14:13:10 +00:00
elf32-ppc.h
elf32-rx.c Fix build with -DDEBUG=7 2010-10-08 14:00:50 +00:00
elf32-s390.c Add target_id to elf_backend_data. 2010-08-25 14:53:45 +00:00
elf32-score7.c 2010-09-24 Thomas Schwinge <thomas@codesourcery.com> 2010-09-24 12:14:26 +00:00
elf32-score.c 2010-09-24 Thomas Schwinge <thomas@codesourcery.com> 2010-09-24 12:14:26 +00:00
elf32-score.h
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-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 2010-09-24 Thomas Schwinge <thomas@codesourcery.com> 2010-09-24 12:14:26 +00:00
elf32-sparc.c Add target_id to elf_backend_data. 2010-08-25 14:53:45 +00:00
elf32-spu.c bfd/ 2010-10-04 14:13:10 +00:00
elf32-spu.h
elf32-tic6x.c bfd/ 2010-10-04 14:13:10 +00:00
elf32-tic6x.h bfd: 2010-06-16 00:36:04 +00:00
elf32-v850.c Add support for v850E2 and v850E2V3 2010-07-23 14:52:54 +00:00
elf32-vax.c 2010-09-24 Thomas Schwinge <thomas@codesourcery.com> 2010-09-24 12:14:26 +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 build with -DDEBUG=7 2010-10-08 14:00:50 +00:00
elf32.c
elf64-alpha.c bfd/ 2010-10-04 14:13:10 +00:00
elf64-gen.c
elf64-hppa.c bfd/ 2010-10-04 14:13:10 +00:00
elf64-hppa.h
elf64-mips.c bfd/ 2010-10-04 14:13:10 +00:00
elf64-mmix.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
elf64-ppc.c bfd/ 2010-10-04 14:13:10 +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 Add target_id to elf_backend_data. 2010-08-25 14:53:45 +00:00
elf64-sh64.c
elf64-sparc.c bfd/ 2010-10-04 14:13:10 +00:00
elf64-x86-64.c Clear non_elf on ELF linker defined symbols. 2010-10-01 04:28:04 +00:00
elf64.c
elf-attrs.c * elf-bfd.h (LEAST_KNOWN_OBJ_ATTRIBUTE): Define. 2010-06-15 23:10:10 +00:00
elf-bfd.h bfd/ 2010-10-04 14:13:10 +00:00
elf-eh-frame.c bfd/ChangeLog 2010-04-09 14:40:18 +00:00
elf-hppa.h * aout-arm.c (MY(bfd_reloc_type_lookup)): Use bfd_arch_bits_per_address. 2010-08-25 07:02:40 +00:00
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 Add target_id to elf_backend_data. 2010-08-25 14:53:45 +00:00
elf-strtab.c
elf-vxworks.c
elf-vxworks.h
elf.c Fix build with -DDEBUG=7 2010-10-08 14:00:50 +00:00
elfcode.h bfd/ 2010-10-04 14:13:10 +00:00
elfcore.h 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
elflink.c Applied patch series for LD plugin interface (six parts). 2010-10-14 01:31:33 +00:00
elfn32-mips.c Add target_id to elf_backend_data. 2010-08-25 14:53:45 +00:00
elfxx-ia64.c bfd/ 2010-10-04 14:13:10 +00:00
elfxx-mips.c bfd/ 2010-10-04 14:13:10 +00:00
elfxx-mips.h Add target_id to elf_backend_data. 2010-08-25 14:53:45 +00:00
elfxx-sparc.c bfd/ 2010-10-04 14:13:10 +00:00
elfxx-sparc.h
elfxx-target.h Add target_id to elf_backend_data. 2010-08-25 14:53:45 +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 fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
hppabsd-core.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
hpux-core.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
i386aout.c
i386bsd.c
i386dynix.c
i386freebsd.c
i386linux.c
i386lynx.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
i386mach3.c
i386msdos.c
i386netbsd.c
i386os9k.c
ieee.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
ihex.c
init.c
irix-core.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
libaout.h
libbfd-in.h 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
libbfd.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
libbfd.h * reloc.c (BFD_RELOC_ARM_HVC): Add. 2010-10-08 22:34:37 +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 Applied patch series for LD plugin interface (six parts). 2010-10-14 01:31:33 +00:00
lynx-core.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
m68k4knetbsd.c
m68klinux.c
m68knetbsd.c
m88kmach3.c
m88kopenbsd.c
mach-o-i386.c
mach-o-target.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
mach-o-x86-64.c
mach-o.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
mach-o.h
MAINTAINERS
Makefile.am Disable -Werror on coff-tic4x.lo and coff-tic54x.lo. 2010-08-12 17:49:42 +00:00
Makefile.in Disable -Werror on coff-tic4x.lo and coff-tic54x.lo. 2010-08-12 17:49:42 +00:00
makefile.vms bfd/ 2010-08-03 14:29:00 +00:00
mep-relocs.pl
merge.c Revert the last checkin on sec_merge_emit. 2010-08-20 22:29:28 +00:00
mipsbsd.c
mmo.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
netbsd-core.c * netbsd-core.c (netbsd_core_core_file_pid): Renamed to ... 2010-09-01 13:51:35 +00:00
netbsd.h
newsos3.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
nlm-target.h
nlm.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 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
pc532-mach.c
pdp11.c Applied patch series for LD plugin interface (six parts). 2010-10-14 01:31:33 +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-09-14 Kai Tietz <kai.tietz@onevision.com> 2010-09-14 20:40:39 +00:00
pef-traceback.h
pef.c
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-10-08 Kai Tietz <kai.tietz@onevision.com> 2010-10-08 15:54:18 +00:00
peicode.h 2010-05-25 Tristan Gingold <gingold@adacore.com> 2010-05-26 07:37:36 +00:00
peXXigen.c 2010-09-22 Kai Tietz <kai.tietz@onevision.com> 2010-09-22 08:01:56 +00:00
plugin.c Handle NULL iostream in bfd_plugin_object_p. 2010-09-15 17:12:59 +00:00
plugin.h
PORTING
ppcboot.c
ptrace-core.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
README
reloc16.c
reloc.c * reloc.c (BFD_RELOC_ARM_HVC): Add. 2010-10-08 22:34:37 +00:00
riscix.c * aout-arm.c (MY(bfd_reloc_type_lookup)): Use bfd_arch_bits_per_address. 2010-08-25 07:02:40 +00:00
rs6000-core.c
sco5-core.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
section.c
simple.c
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
sparclynx.c
sparcnetbsd.c
srec.c
stab-syms.c
stabs.c
stamp-h.in
sunos.c
syms.c
sysdep.h
targets.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
targmatch.sed
tekhex.c
ticoff.h
TODO
trad-core.c 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
vax1knetbsd.c
vaxbsd.c
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-10-13 23:00:05 +00:00
vms-alpha.c Applied patch series for LD plugin interface (six parts). 2010-10-14 01:31:33 +00:00
vms-lib.c 2010-08-03 Tristan Gingold <gingold@adacore.com> 2010-08-03 08:49:01 +00:00
vms-misc.c 2010-08-03 Tristan Gingold <gingold@adacore.com> 2010-08-03 15:18:51 +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 2010-08-18 Pedro Alves <pedro@codesourcery.com> 2010-08-18 12:24:13 +00:00
xcofflink.c Applied patch series for LD plugin interface (six parts). 2010-10-14 01:31:33 +00:00
xsym.c fix set but unused variable warnings 2010-06-27 04:07:55 +00:00
xsym.h
xtensa-isa.c
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.