binutils-gdb/bfd
Nick Clifton ce3c775b8f * Makefile.am: Run "make dep-am".
(AM_CPPFLAGS): New.
        (LIBDL): New.
        (ALL_MACHINES): Add cpu-plugin.lo.
        (ALL_MACHINES_CFILES): Add cpu-plugin.c.
        (BFD32_BACKENDS): Add plugin.lo.
        (BFD32_BACKENDS_CFILES): Add plugin.c.
        (libbfd_la_LIBADD): Add LIBDL
        * archures.c (bfd_architecture): Add bfd_arch_plugin.
        (bfd_plugin_arch): Declare.
        * bfd-in.h (BFD_SUPPORTS_PLUGINS): New.
        * bfd.c (bfd): Add plugin_data.
        * config.bfd: Handle the plugin target.
        * configure.in: Check for --enable-plugins.
        (LT_INIT): Use the dlopen option.
        * cpu-plugin.c: New.
        * plugin.c: New.
        * plugin.h: New.
        * targets.c (plugin_vec): Declare.
        (_bfd_target_vector): Add plugin_vec.
        * Makefile.in: Regenerate.
        * bfd-in2.h: Regenerate.
        * configure: Regenerate.
        * ar.c: Include plugin.h.
        (main): Handle the --plugin option.
        * nm.c: Include plugin.h.
        (OPTION_PLUGIN): New.
        (long_options): Add plugin.
        (main): Handle OPTION_PLUGIN.
        * NEWS: Mention  the new feature.
        * doc/binutils: Documement the new command line options.
        * configure.in: Check for --enable-plugins.
        * configure: Regenerate.
2009-05-26 14:12:03 +00:00
..
doc * Makefile.am: Run "make dep-am". 2009-05-26 14:12:03 +00:00
hosts
po Run "make dep-am" and regenerate 2009-05-22 09:33:16 +00:00
acinclude.m4
aclocal.m4
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 * Makefile.am: Run "make dep-am". 2009-05-26 14:12:03 +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 * bfdio.c (bfd_seek): Formatting. Ensure newly allocated memory 2009-05-24 11:47:27 +00:00
bfdwin.c
binary.c bfd/ 2009-04-16 23:07:00 +00:00
bout.c bfd/ 2009-04-16 23:07:00 +00:00
cache.c
cf-i386lynx.c
cf-sparclynx.c
ChangeLog * Makefile.am: Run "make dep-am". 2009-05-26 14:12:03 +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-04-16 23:07:00 +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 * Makefile.am: Run "make dep-am". 2009-05-26 14:12:03 +00:00
config.in
configure * Makefile.am: Run "make dep-am". 2009-05-26 14:12:03 +00:00
configure.com
configure.host
configure.in * Makefile.am: Run "make dep-am". 2009-05-26 14:12:03 +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 modify .o to .lo here. Output one filename 2009-05-26 03:19:28 +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 PR 9841 2009-02-18 15:28:56 +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
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 include/elf 2009-04-30 15:47:13 +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 new binutils target: moxie 2009-04-16 15:39:48 +00:00
elf32-msp430.c
elf32-mt.c
elf32-openrisc.c
elf32-or32.c
elf32-pj.c
elf32-ppc.c * elf32-ppc.c (is_pic_glink_stub): Delete. 2009-03-21 02:35:27 +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 * elf-bfd.h (struct elf_backend_data 2009-05-21 14:15:50 +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 2009-04-02 Sterling Augustine <sterling@jaw.hq.tensilica.com> 2009-04-03 16:06:40 +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 * elf-bfd.h (struct elf_backend_data 2009-05-21 14:15:50 +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 include/elf 2009-04-30 15:47:13 +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 * elf-bfd.h (struct elf_backend_data 2009-05-21 14:15:50 +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
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 * elflink.c (elf_link_input_bfd): Correct *pindex change in last 2009-05-21 14:32:29 +00:00
elfn32-mips.c
elfxx-ia64.c
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
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 bfd/ 2009-04-16 23:07:00 +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-target.c
mach-o.c bfd/ 2009-04-16 23:07:00 +00:00
mach-o.h
MAINTAINERS
Makefile.am * Makefile.am: Run "make dep-am". 2009-05-26 14:12:03 +00:00
Makefile.in * Makefile.am: Run "make dep-am". 2009-05-26 14:12:03 +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
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 * Makefile.am: Run "make dep-am". 2009-05-26 14:12:03 +00:00
plugin.h * Makefile.am: Run "make dep-am". 2009-05-26 14:12:03 +00:00
PORTING
ppcboot.c bfd/ 2009-04-16 23:07:00 +00:00
ptrace-core.c
README
reloc16.c
reloc.c include/elf/ 2009-03-04 05:50:50 +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 * Makefile.am: Run "make dep-am". 2009-05-26 14:12:03 +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-05-26 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-04-16 23:07:00 +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-04-16 23:07:00 +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.