NetBSD/gnu/dist/bfd
kristerw ab2e248758 NetBSD always saves a_midmag as big-endian, but libbfd use the same
endianess as the arch in its internal structures, so we may have to change
the byte order when we write the exec header. The problem is that we need
the little endian version for libbfd to DTRT with the rest of the file.

Solve this by writing the exec header after the rest of the file has been
written.
1998-12-21 03:27:02 +00:00
..
doc
hosts
acconfig.h
aclocal.m4
aix386-core.c
aout0.c
aout32.c
aout64.c
aout-adobe.c
aout-arm.c
aout-encap.c
aout-ns32k.c
aout-sparcle.c
aout-target.h Changes to make strip and objcopy work for a.out 1998-11-21 22:42:32 +00:00
aoutarm32.c Incorporate (machine dependent) code for support of NetBSD/arm32. 1998-05-19 18:53:19 +00:00
aoutf1.h
aoutx.h Infrastructure changes needed by gas a.out support. 1998-09-13 09:30:34 +00:00
archive.c ...And calculate same when building the armap (for ranlib). 1998-05-25 23:36:43 +00:00
archures.c
armnetbsd.c Incorporate (machine dependent) code for support of NetBSD/arm32. 1998-05-19 18:53:19 +00:00
bfd-in2.h Add ARM relocs (and upcoming BFD_PIC) for automatically generating bfd.h. 1998-08-21 21:08:22 +00:00
bfd-in.h Infrastructure changes needed by gas a.out support. 1998-09-13 09:30:34 +00:00
bfd.c
binary.c
bout.c
cache.c
cf-i386lynx.c
cf-m68klynx.c
cf-sparclynx.c
ChangeLog stock binutils-2.8.1 1997-09-24 18:54:18 +00:00
ChangeLog.1
ChangeLog.2
cisco-core.c
coff-a29k.c
coff-alpha.c
coff-apollo.c
coff-arm.c
coff-aux.c
coff-go32.c
coff-h8300.c
coff-h8500.c
coff-i386.c
coff-i860.c
coff-i960.c
coff-m68k.c
coff-m88k.c
coff-mips.c
coff-pmac.c
coff-ppc.c
coff-rs6000.c
coff-sh.c
coff-sparc.c
coff-svm68k.c
coff-u68k.c
coff-w65.c
coff-we32k.c
coff-z8k.c
coffcode.h
coffgen.c
cofflink.c
coffswap.h
config.bfd for sparc-*-netbsd, also enable elf32_sparc & sunos_big. add new target, tentatively named sparc-*-netbsdelf, that uses elf32_sparc as the default target. 1998-12-16 14:31:00 +00:00
config.in
configure add sparc64--netbsd support. enable all sparc targets for sparcnetbsd_vec 1998-11-21 17:51:11 +00:00
configure.bat
configure.com
configure.host Allow mips{eb,el}-*-netbsd* in configuration, setting default accordingly, 1998-07-27 01:44:10 +00:00
configure.in add sparc64--netbsd support. enable all sparc targets for sparcnetbsd_vec 1998-11-21 17:51:11 +00:00
COPYING
corefile.c
cpu-a29k.c
cpu-alpha.c
cpu-arm.c
cpu-d10v.c
cpu-h8300.c
cpu-h8500.c
cpu-hppa.c
cpu-i386.c
cpu-i860.c
cpu-i960.c
cpu-m32r.c
cpu-m68k.c
cpu-m88k.c
cpu-m10200.c
cpu-m10300.c
cpu-mips.c
cpu-ns32k.c
cpu-powerpc.c
cpu-rs6000.c
cpu-sh.c
cpu-sparc.c
cpu-vax.c
cpu-w65.c
cpu-we32k.c
cpu-z8k.c
demo64.c
dep-in.sed
ecoff.c
ecofflink.c
ecoffswap.h
elf32-d10v.c
elf32-gen.c
elf32-hppa.c
elf32-hppa.h
elf32-i386.c
elf32-i860.c
elf32-m32r.c
elf32-m68k.c
elf32-m88k.c
elf32-mips.c Revert previous patch. Replace with patch from Cygnus binutils 1998-11-01 22:01:14 +00:00
elf32-ppc.c
elf32-sh.c
elf32-sparc.c
elf32.c
elf64-alpha.c
elf64-gen.c
elf64-mips.c
elf64-sparc.c
elf64.c
elf-bfd.h
elf-m10200.c
elf-m10300.c
elf.c
elfcode.h
elfcore.h
elflink.c
elflink.h stock binutils-2.8.1 1997-09-24 18:54:18 +00:00
elfxx-target.h
evax-alpha.c
evax-egsd.c
evax-emh.c
evax-etir.c
evax-misc.c
evax.h
filemode.c
format.c
freebsd.h
gen-aout.c
genlink.h
hash.c
host-aout.c
hp300bsd.c
hp300hpux.c
hppa_stubs.h
hppabsd-core.c
hpux-core.c
i386aout.c
i386bsd.c
i386dynix.c
i386freebsd.c
i386linux.c
i386lynx.c
i386mach3.c
i386msdos.c
i386netbsd.c Define DEFAULT_ARCH, DEFAULT_MID for netbsd.h 1997-09-24 18:39:10 +00:00
i386os9k.c
ieee.c
ihex.c
init.c
irix-core.c
libaout.h Teach bfd that NetBSD/vax can have two MIDs. 1998-10-12 01:43:38 +00:00
libbfd-in.h Use a pointer, not an array, for bfd_target_vector, working around our 1998-08-21 02:06:09 +00:00
libbfd.c
libbfd.h Use a pointer, not an array, for bfd_target_vector, working around our 1998-08-21 02:06:09 +00:00
libcoff-in.h
libcoff.h
libecoff.h
libhppa.h
libieee.h
libnlm.h
liboasys.h
linker.c
lynx-core.c
m68k4knetbsd.c Define DEFAULT_ARCH, DEFAULT_MID for netbsd.h 1997-09-24 18:39:10 +00:00
m68klinux.c
m68klynx.c
m68knetbsd.c Define DEFAULT_ARCH, DEFAULT_MID for netbsd.h 1997-09-24 18:39:10 +00:00
m88kmach3.c
makefile.dos
Makefile.in Incorporate (machine dependent) code for support of NetBSD/arm32. 1998-05-19 18:53:19 +00:00
makefile.vms
mipsbsd.c
mpw-config.in
mpw-make.sed
netbsd-core.c Properly error out if we fail to malloc memory for the asection. 1997-12-17 02:26:47 +00:00
netbsd.h NetBSD always saves a_midmag as big-endian, but libbfd use the same 1998-12-21 03:27:02 +00:00
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 Define DEFAULT_ARCH, DEFAULT_MID for netbsd.h 1997-09-24 18:39:10 +00:00
oasys.c
opncls.c
osf-core.c
pc532-mach.c
pe-arm.c
pe-i386.c
pe-ppc.c
pei-arm.c
pei-i386.c
pei-ppc.c
peicode.h
PORTING
ppcboot.c
ptrace-core.c
README
reloc16.c
reloc.c Incorporate (machine dependent) code for support of NetBSD/arm32. 1998-05-19 18:53:19 +00:00
riscix.c
rs6000-core.c
section.c
som.c
som.h
sparclinux.c
sparclynx.c
sparcnetbsd.c Use the correct size for the relocation records. 1998-09-13 09:33:26 +00:00
srec.c
stab-syms.c
stabs.c
sunos.c
syms.c
sysdep.h
targets.c Use a pointer, not an array, for bfd_target_vector, working around our 1998-08-21 02:06:09 +00:00
targmatch.sed stock binutils-2.8.1 1997-09-24 18:54:18 +00:00
tekhex.c
TODO
trad-core.c
vaxnetbsd.c TARGET_PAGE_SIZE should be 4k. 1998-10-18 08:48:59 +00:00
versados.c
VERSION stock binutils-2.8.1 1997-09-24 18:54:18 +00:00
xcofflink.c

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.

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.
  --enable-commonbfdlib
	Build BFD, opcodes, and libiberty as a single 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@prep.ai.mit.edu.

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.