binutils-gdb/bfd
Hans-Peter Nilsson 4da816844a Define two bfd_targets for absence and presence of leading
underscore on symbols.  Make sure to only link same kind.
	* elf32-cris.c (cris_elf_object_p,
	cris_elf_final_write_processing, cris_elf_print_private_bfd_data,
	cris_elf_merge_private_bfd_data): New.
	(elf_backend_object_p, elf_backend_final_write_processing,
	bfd_elf32_bfd_print_private_bfd_data,
	bfd_elf32_bfd_merge_private_bfd_data): Define.
	<Target vector definition>: Include elf32-target.h twice with
	different macro settings:
	(TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as
	bfd_elf32_us_cris_vec.
	(TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris".
	(elf_symbol_leading_char): First as 0, then '_'.
	(INCLUDED_TARGET_FILE): Define for second include of elf32-target.h.
	* config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs.
	* configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector.
	* configure: Regenerate.
	* targets.c: Declare bfd_elf32_us_cris_vec.
	* po/bfd.pot: Regenerate.
2000-09-29 17:05:22 +00:00
..
doc * som.c: Include alloca-conf.h 2000-09-28 08:08:16 +00:00
hosts
po Define two bfd_targets for absence and presence of leading 2000-09-29 17:05:22 +00:00
acinclude.m4 * acinclude.m4: Include libtool and gettext macros from the 2000-08-31 09:46:11 +00:00
aclocal.m4 Fix buggy macros 2000-09-05 21:32:34 +00:00
aix386-core.c
aout0.c
aout32.c
aout64.c
aout-adobe.c
aout-arm.c
aout-cris.c * aout-cris.c (N_TXTADDR): Define. 2000-09-28 21:58:16 +00:00
aout-encap.c
aout-ns32k.c
aout-sparcle.c
aout-target.h
aout-tic30.c
aoutf1.h
aoutx.h * Makefile.am (ALL_MACHINES): Add cpu-cris.lo. 2000-07-20 16:21:07 +00:00
archive.c 2000-09-08 Kazu Hirata <kazu@hxi.com> 2000-09-08 23:46:41 +00:00
archures.c Add support for the MIPS32 2000-09-14 01:47:38 +00:00
armnetbsd.c
bfd-in2.h add support for embedded relocs in m68k ELF port 2000-09-15 18:52:52 +00:00
bfd-in.h add support for embedded relocs in m68k ELF port 2000-09-15 18:52:52 +00:00
bfd.c Minor formatting fixes. 2000-07-31 18:49:56 +00:00
binary.c
bout.c
cache.c
cf-i386lynx.c
cf-m68klynx.c
cf-sparclynx.c
ChangeLog Define two bfd_targets for absence and presence of leading 2000-09-29 17:05:22 +00:00
ChangeLog-9193
ChangeLog-9495
ChangeLog-9697
cisco-core.c
coff64-rs6000.c
coff-a29k.c
coff-alpha.c
coff-apollo.c
coff-arm.c 2000-09-08 Kazu Hirata <kazu@hxi.com> 2000-09-08 23:46:41 +00:00
coff-aux.c
coff-go32.c
coff-h8300.c Fix formatting. 2000-06-27 01:31:59 +00:00
coff-h8500.c
coff-i386.c Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support 2000-06-19 01:22:44 +00:00
coff-i860.c
coff-i960.c
coff-ia64.c
coff-m68k.c Emit 8 NULs for target section name instead of dumping core when the target 2000-09-10 19:17:08 +00:00
coff-m88k.c
coff-mcore.c Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support 2000-06-19 01:22:44 +00:00
coff-mips.c
coff-pmac.c
coff-ppc.c
coff-rs6000.c * xcofflink.c (xcoff_link_input_bfd): Include the .tocbss 2000-09-06 21:21:51 +00:00
coff-sh.c
coff-sparc.c
coff-stgo32.c
coff-svm68k.c
coff-tic30.c
coff-tic54x.c
coff-tic80.c
coff-u68k.c
coff-w65.c Fix bugs detecting w65 architecture. 2000-08-22 20:11:36 +00:00
coff-we32k.c
coff-z8k.c
coffcode.h Fix bugs detecting w65 architecture. 2000-08-22 20:11:36 +00:00
coffgen.c * bfd-in.h (bfd_family_coff): Define. 2000-06-16 20:35:08 +00:00
cofflink.c Turn a weak symbol into an external symbol for a non-shared, non-relocatable 2000-07-03 18:45:18 +00:00
coffswap.h
config.bfd Define two bfd_targets for absence and presence of leading 2000-09-29 17:05:22 +00:00
config.in Regenerate files using fixed aclocal install. 2000-09-06 00:13:34 +00:00
configure Define two bfd_targets for absence and presence of leading 2000-09-29 17:05:22 +00:00
configure.com
configure.host * configure.host (*-*-aix*): AIX has 'long long' always. 2000-07-25 19:29:42 +00:00
configure.in Define two bfd_targets for absence and presence of leading 2000-09-29 17:05:22 +00:00
COPYING
corefile.c
cpu-a29k.c
cpu-alpha.c
cpu-arc.c
cpu-arm.c
cpu-avr.c Applied Marek Michalkiewicz <marekm@linux.org.pl>'s patch to ehance the AVR port. 2000-06-27 01:45:30 +00:00
cpu-cris.c * Makefile.am (ALL_MACHINES): Add cpu-cris.lo. 2000-07-20 16:21:07 +00:00
cpu-d10v.c
cpu-d30v.c
cpu-fr30.c
cpu-h8300.c Fix formatting. 2000-06-27 01:31:59 +00:00
cpu-h8500.c
cpu-hppa.c
cpu-i370.c
cpu-i386.c
cpu-i860.c 2000-07-22 Jason Eckhardt <jle@cygnus.com> 2000-07-28 21:10:20 +00:00
cpu-i960.c
cpu-ia64-opc.c
cpu-ia64.c
cpu-m32r.c
cpu-m68hc11.c Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support 2000-06-19 01:22:44 +00:00
cpu-m68hc12.c Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support 2000-06-19 01:22:44 +00:00
cpu-m68k.c
cpu-m88k.c
cpu-m10200.c
cpu-m10300.c
cpu-mcore.c
cpu-mips.c Add support for the MIPS32 2000-09-14 01:47:38 +00:00
cpu-ns32k.c * bfd-in.h (bfd_family_coff): Define. 2000-06-16 20:35:08 +00:00
cpu-pj.c
cpu-powerpc.c 2000-09-05 Steven Johnson <sbjohnson@ozemail.com.au> 2000-09-05 19:35:51 +00:00
cpu-rs6000.c * archures.c (enum bfd_architecture): #define constants for 2000-06-16 20:45:33 +00:00
cpu-sh.c
cpu-sparc.c
cpu-tic30.c
cpu-tic54x.c
cpu-tic80.c
cpu-v850.c
cpu-vax.c
cpu-w65.c
cpu-we32k.c
cpu-z8k.c
demo64.c
dep-in.sed
dwarf1.c Ryan Bradetich's warning fixes. 2000-07-10 05:14:13 +00:00
dwarf2.c Find all sections containing debug information and include them in the stash. 2000-09-02 20:21:40 +00:00
ecoff.c
ecofflink.c
ecoffswap.h The MIPS thinks that addresses are signed. Sign extend MIPS ECOFF 2000-07-11 06:37:34 +00:00
efi-app-ia32.c
efi-app-ia64.c
elf32-arc.c
elf32-arm.h (arm_add_to_rel): Fix R_ARM_THM_PC22 relocations. 2000-09-29 13:51:49 +00:00
elf32-avr.c Tidy up formatting. 2000-07-03 22:25:33 +00:00
elf32-cris.c Define two bfd_targets for absence and presence of leading 2000-09-29 17:05:22 +00:00
elf32-d10v.c Update copyright dates for last patch. 2000-06-07 04:08:13 +00:00
elf32-d30v.c Get rid of the -1 dummy valued enum in START_RELOC_NUMBERS. 2000-06-07 03:43:33 +00:00
elf32-fr30.c
elf32-gen.c
elf32-hppa.c .plt stub for lazy linking, --stub-group-size=N ld switch, 2000-09-27 17:30:19 +00:00
elf32-hppa.h .plt stub for lazy linking, --stub-group-size=N ld switch, 2000-09-27 17:30:19 +00:00
elf32-i370.c 2000-07-19 H.J. Lu <hjl@gnu.org> 2000-07-20 03:21:59 +00:00
elf32-i386.c (elf_i386_finish_dynamic_symbol): Remove unnecessary check added 2000-08-27. 2000-09-01 11:17:07 +00:00
elf32-i860.c 2000-09-12 Jason Eckhardt <jle@cygnus.com> 2000-09-12 14:34:59 +00:00
elf32-i960.c
elf32-m32r.c
elf32-m68hc11.c Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support 2000-06-19 01:22:44 +00:00
elf32-m68hc12.c Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support 2000-06-19 01:22:44 +00:00
elf32-m68k.c Change the PLT entry 0 instruction sequence to actually work. 2000-09-19 23:21:36 +00:00
elf32-m88k.c
elf32-mcore.c Minor formatting fixes. 2000-07-31 18:49:56 +00:00
elf32-mips.c Add support for the MIPS32 2000-09-14 01:47:38 +00:00
elf32-pj.c
elf32-ppc.c 2000-07-19 H.J. Lu <hjl@gnu.org> 2000-07-20 03:21:59 +00:00
elf32-sh-lin.c * config.bfd (sh-*-linux*): Added. 2000-09-07 04:23:43 +00:00
elf32-sh.c * elf32-sh.c (sh_elf_relocate_section): Use 2000-09-18 16:19:15 +00:00
elf32-sparc.c Zero out the dynamic allocated content space. Add a comment to remind us that 2000-08-21 23:42:56 +00:00
elf32-v850.c
elf32.c
elf64-alpha.c ld performs LITUSE relocations incorrectly if -relax is specified on the ld 2000-09-15 18:07:28 +00:00
elf64-gen.c
elf64-hppa.c A tiny addition for PCREL12F relocs, and a fix for functions that have 2000-09-05 02:30:24 +00:00
elf64-hppa.h Restore hppa-elf32 to working order. 2000-07-09 07:23:07 +00:00
elf64-ia64.c Add support for IA-64 specific elf header flags. 2000-08-14 20:13:39 +00:00
elf64-mips.c The MIPS thinks that addresses are signed. Sign extend MIPS ECOFF 2000-07-11 06:37:34 +00:00
elf64-sparc.c * elf64-sparc.c (sparc64_elf_relocate_section): Set relocation address 2000-08-16 17:42:21 +00:00
elf64.c
elf-bfd.h 2000-08-22 H.J. Lu <hjl@gnu.org> 2000-08-22 19:33:16 +00:00
elf-hppa.h .plt stub for lazy linking, --stub-group-size=N ld switch, 2000-09-27 17:30:19 +00:00
elf-m10200.c
elf-m10300.c Minor formatting fixes. 2000-07-31 18:49:56 +00:00
elf.c That'll teach me not to type little patches in by hand. Get 2000-09-29 07:14:05 +00:00
elfarm-nabi.c
elfarm-oabi.c
elfcode.h * elfcode.h (elf_object_p): Preserve and clear abfd section 2000-09-27 07:52:24 +00:00
elfcore.h Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support 2000-06-19 01:22:44 +00:00
elflink.c * elflink.c (_bfd_elf_create_got_section): Don't abort(). 2000-08-16 18:02:16 +00:00
elflink.h * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath. 2000-09-29 13:15:03 +00:00
elfxx-target.h 2000-07-01 Koundinya K <kk@ddeorg.soft.net> 2000-07-02 01:17:52 +00:00
epoc-pe-arm.c
epoc-pei-arm.c
format.c Fix formatting 2000-07-20 00:31:39 +00:00
freebsd.h
gen-aout.c
genlink.h
go32stub.h * go32stub.h: Update stub. 2000-06-28 15:55:41 +00:00
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
i386netbsd.c
i386os9k.c
ieee.c Apply Nick Clifton's suggestion. 2000-08-07 19:46:11 +00:00
ihex.c
init.c
irix-core.c
libaout.h * Makefile.am (ALL_MACHINES): Add cpu-cris.lo. 2000-07-20 16:21:07 +00:00
libbfd-in.h Add sequence id field to asection. 2000-07-08 12:08:43 +00:00
libbfd.c Minor formatting fixes. 2000-07-31 18:49:56 +00:00
libbfd.h Regenerate files using fixed aclocal install. 2000-09-06 00:13:34 +00:00
libcoff-in.h * coffcode.h (coff_mkobject_hook): Set xcoff_tdata.xcoff64. 2000-06-16 20:40:50 +00:00
libcoff.h Add sequence id field to asection. 2000-07-08 12:08:43 +00:00
libecoff.h
libhppa.h Restore hppa-elf32 to working order. 2000-07-09 07:23:07 +00:00
libieee.h
libnlm.h
liboasys.h
libpei.h
linker.c
lynx-core.c
m68k4knetbsd.c
m68klinux.c
m68klynx.c
m68knetbsd.c
m88kmach3.c
MAINTAINERS add MAINTAINERS files 2000-07-05 19:28:06 +00:00
Makefile.am * som.c: Include alloca-conf.h 2000-09-28 08:08:16 +00:00
Makefile.in * som.c: Include alloca-conf.h 2000-09-28 08:08:16 +00:00
makefile.vms
mipsbsd.c
mpw-config.in
mpw-make.sed
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
nlm.c
nlmcode.h
nlmswap.h
ns32k.h
ns32knetbsd.c
oasys.c
opncls.c
osf-core.c
pc532-mach.c
pe-arm.c
pe-i386.c
pe-mcore.c
pe-mips.c
pe-ppc.c
pe-sh.c
pei-arm.c
pei-i386.c
pei-mcore.c
pei-mips.c
pei-ppc.c
pei-sh.c
peicode.h * peicode.h (coff_swap_filehdr_in): can't use e_magic because we 2000-06-30 21:54:03 +00:00
peigen.c * peigen.c (_bfd_pei_swap_aouthdr_in): If some DataDirectory 2000-09-26 20:42:29 +00:00
PORTING
ppcboot.c
ptrace-core.c
README
reloc16.c Fix formatting of reloc16.c 2000-07-03 17:49:37 +00:00
reloc.c 2000-09-02 H.J. Lu <hjl@gnu.org> 2000-09-03 02:57:52 +00:00
riscix.c 2000-09-09 Kazu Hirata <kazu@hxi.com> 2000-09-09 20:17:47 +00:00
rs6000-core.c * rs6000-core.c: Wrap definition of `union VmInfo' within #ifdef 2000-06-19 19:33:35 +00:00
sco5-core.c
section.c Handle out of memory situations. 2000-09-20 04:20:26 +00:00
som.c * som.c: Include alloca-conf.h 2000-09-28 08:08:16 +00:00
som.h
sparclinux.c
sparclynx.c
sparcnetbsd.c
srec.c Fix formatting 2000-07-06 23:26:55 +00:00
stab-syms.c
stabs.c
stamp-h.in
sunos.c
syms.c Ryan Bradetich's warning fixes. 2000-07-10 05:14:13 +00:00
sysdep.h Add comment describoing why dgettext() is used in _() macro. 2000-05-31 18:32:07 +00:00
targets.c Define two bfd_targets for absence and presence of leading 2000-09-29 17:05:22 +00:00
targmatch.sed
tekhex.c
TODO
trad-core.c * trad-core.c: From hpux-core.c, include <dirent.h> or 2000-06-01 10:09:30 +00:00
vaxnetbsd.c
versados.c
vms-gsd.c
vms-hdr.c
vms-misc.c 2000-06-14 H.J. Lu <hjl@gnu.org> 2000-06-14 18:10:10 +00:00
vms-tir.c
vms.c
vms.h
xcoff-target.h * bfd-in.h (bfd_family_coff): Define. 2000-06-16 20:35:08 +00:00
xcofflink.c * xcofflink.c (xcoff_link_input_bfd): Include the .tocbss 2000-09-06 21:21:51 +00:00

BFD is a 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-gnu-utils@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.