binutils-gdb/bfd
Klee Dienes 93509525ce 2002-11-16 Klee Dienes <kdienes@apple.com>
* Makefile.am (BFD32_LIBS): Add bfdwin.lo, bfdio.lo.
	(BFD32_LIBS_CFILES): Add bfdwin.c, bfdio.c.
	(BFD_H_FILES): Add bfdwin.c, bfdio.c.
	(LIBBFD_H_FILES): Add bfdwin.c, bfdio.c.
	Add dependencies for bfdwin.c, bfdio.c.
	* bfd.c: Remove bfd_get_mtime, bfd_get_size.
	* libbfd.c: Remove real_read, bfd_bread, _bfd_window_internal,
	bfd_init_window, bfd_free_window, bfd_get_file_window, bfd_bwrite,
	bfd_tell, bfd_flush, bfd_stat, bfd_seek.
	* bfdio.c: New file.  Contains real_read, bfd_bread, bfd_write,
	bfd_tell, bfd_flush, bfd_stat, bfd_seek, bfd_ge_mtime,
	bfd_get_size (moved from libbfd.c and bfd.c).
	* bfdwin.c New file.  Contains _bfd_window_internal,
	bfd_init_window, bfd_free_window, bfd_get_file_window (moved from
	libbfd.c and bfd.c).
	* po/SRC-POTFILES.in: Regenerate.
	* po/bfd.pot: Regenerate.
	* libbfd.h: Regenerate.
	* bfd-in2.h: Regenerate.
	* aclocal.m4: Regenerate.
	* Makefile.in: Regenerate.
	* configure: Regenerate.

2002-11-16  Klee Dienes  <kdienes@apple.com>

	* Makefile.am (DOCFILES): Add bfdwin.texi, bfdio.texi.
	(PROTOS): Add bfdio.p, bfdwin.p.
	(SRCDOC): Add bfdio.c, bfdwin.c.
	(SRCPROT): Add bfdio.c, bfdwin.c.
	(SRCIPROT): Add bfdio.c, bfdwin.c.
	(LIBBFD_H_DEP): Add bfdio.c, bfdwin.c.
	(BFD_H_DEP): Add bfdio.c, bfdwin.c.
	Add rules for bfdio.texi, bfdwin.text.
	* bfd.texinfo: Include bfdio.texi.
2002-11-18 16:37:54 +00:00
..
doc 2002-11-16 Klee Dienes <kdienes@apple.com> 2002-11-18 16:37:54 +00:00
hosts
po Add new/updated Danish translations 2002-11-12 10:08:25 +00:00
acinclude.m4
aclocal.m4 2002-11-16 Klee Dienes <kdienes@apple.com> 2002-11-18 16:37:54 +00:00
aix5ppc-core.c
aix386-core.c
aout0.c
aout32.c
aout64.c
aout-adobe.c
aout-arm.c
aout-cris.c
aout-encap.c
aout-ns32k.c
aout-sparcle.c
aout-target.h
aout-tic30.c
aoutf1.h
aoutx.h * aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to 2002-10-25 02:45:54 +00:00
archive64.c
archive.c * aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to 2002-10-25 02:45:54 +00:00
archures.c Add support for PEF, Mach-O, xSYM 2002-11-06 13:26:29 +00:00
armnetbsd.c
bfd-in2.h 2002-11-16 Klee Dienes <kdienes@apple.com> 2002-11-18 16:37:54 +00:00
bfd-in.h * aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to 2002-10-25 02:45:54 +00:00
bfd.c 2002-11-16 Klee Dienes <kdienes@apple.com> 2002-11-18 16:37:54 +00:00
bfdio.c 2002-11-16 Klee Dienes <kdienes@apple.com> 2002-11-18 16:37:54 +00:00
bfdwin.c 2002-11-16 Klee Dienes <kdienes@apple.com> 2002-11-18 16:37:54 +00:00
binary.c * aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to 2002-10-25 02:45:54 +00:00
bout.c
cache.c
cf-i386lynx.c
cf-m68klynx.c
cf-sparclynx.c
ChangeLog 2002-11-16 Klee Dienes <kdienes@apple.com> 2002-11-18 16:37:54 +00:00
ChangeLog-0001
ChangeLog-9193
ChangeLog-9495
ChangeLog-9697
ChangeLog-9899
cisco-core.c
coff64-rs6000.c
coff-a29k.c
coff-alpha.c
coff-apollo.c
coff-arm.c Fix numerous occurrences of 2002-10-11 08:33:11 +00:00
coff-aux.c
coff-go32.c
coff-h8300.c Fix h8300 relaxation. 2002-11-15 11:18:49 +00:00
coff-h8500.c
coff-i386.c
coff-i860.c
coff-i960.c
coff-ia64.c
coff-m68k.c
coff-m88k.c
coff-mcore.c
coff-mips.c
coff-or32.c
coff-pmac.c
coff-ppc.c
coff-rs6000.c
coff-sh.c
coff-sparc.c
coff-stgo32.c (stub_bytes): Mark as const. 2002-11-06 17:12:05 +00:00
coff-svm68k.c
coff-tic4x.c * coff-tic4x.c (tic4x_howto_table): Formatting fixup 2002-11-14 11:02:30 +00:00
coff-tic30.c
coff-tic54x.c
coff-tic80.c
coff-u68k.c
coff-w65.c
coff-we32k.c
coff-z8k.c
coffcode.h * coffcode.h: Remove extraneous '\'. 2002-10-30 15:50:17 +00:00
coffgen.c Files missed in previous commit. 2002-10-25 03:19:29 +00:00
cofflink.c Don't mark relocations in excluded sections. 2002-10-07 16:27:39 +00:00
coffswap.h
config.bfd * config.bfd: Add entries for powerpc-*-darwin and cousins. 2002-11-13 01:45:42 +00:00
config.in 2002-11-16 Klee Dienes <kdienes@apple.com> 2002-11-18 16:37:54 +00:00
configure 2002-11-16 Klee Dienes <kdienes@apple.com> 2002-11-18 16:37:54 +00:00
configure.com
configure.host
configure.in 2002-11-16 Klee Dienes <kdienes@apple.com> 2002-11-18 16:37:54 +00:00
COPYING
corefile.c
cpu-a29k.c
cpu-alpha.c
cpu-arc.c
cpu-arm.c
cpu-avr.c
cpu-cris.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
cpu-i860.c
cpu-i960.c
cpu-ia64-opc.c
cpu-ia64.c
cpu-ip2k.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-mips.c [include/elf] 2002-09-30 11:53:56 +00:00
cpu-mmix.c
cpu-ns32k.c
cpu-openrisc.c
cpu-or32.c
cpu-pdp11.c
cpu-pj.c
cpu-powerpc.c
cpu-rs6000.c
cpu-s390.c
cpu-sh.c
cpu-sparc.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-xstormy16.c
cpu-z8k.c
demo64.c
dep-in.sed
dwarf1.c
dwarf2.c * dwarf2.c: Revert last change. 2002-11-07 22:19:59 +00:00
ecoff.c Fix numerous occurrences of 2002-10-11 08:33:11 +00:00
ecofflink.c
ecoffswap.h
efi-app-ia32.c
efi-app-ia64.c
elf32-arc.c * elfxx-target.h (USE_REL): Don't define as 1. 2002-10-17 02:59:15 +00:00
elf32-arm.h * elf32-arm.h (elf32_arm_size_dynamic_sections): Don't strip output 2002-11-09 00:52:27 +00:00
elf32-avr.c
elf32-cris.c * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOT, 2002-11-07 13:28:04 +00:00
elf32-d10v.c * elfxx-target.h (USE_REL): Don't define as 1. 2002-10-17 02:59:15 +00:00
elf32-d30v.c
elf32-dlx.c
elf32-fr30.c
elf32-frv.c
elf32-gen.c
elf32-h8300.c Fix h8300 relaxation. 2002-11-15 11:18:49 +00:00
elf32-hppa.c
elf32-hppa.h
elf32-i370.c
elf32-i386.c * Makefile.am: Remove entries for elf32-qnx.[ch]. 2002-11-06 11:38:35 +00:00
elf32-i860.c
elf32-i960.c
elf32-ip2k.c * elf32-ip2k.c (ELF_MACHINE_ALT1): Define alternate machine code 2002-10-17 18:27:01 +00:00
elf32-m32r.c * elfxx-target.h (USE_REL): Don't define as 1. 2002-10-17 02:59:15 +00:00
elf32-m68hc11.c * elfxx-target.h (USE_REL): Don't define as 1. 2002-10-17 02:59:15 +00:00
elf32-m68hc12.c * elfxx-target.h (USE_REL): Don't define as 1. 2002-10-17 02:59:15 +00:00
elf32-m68k.c
elf32-m88k.c
elf32-mcore.c
elf32-mips.c
elf32-openrisc.c
elf32-or32.c * elfxx-target.h (USE_REL): Don't define as 1. 2002-10-17 02:59:15 +00:00
elf32-pj.c
elf32-ppc.c * Makefile.am: Remove entries for elf32-qnx.[ch]. 2002-11-06 11:38:35 +00:00
elf32-s390.c
elf32-sh64-com.c * elf32-sh64-com.c (sh64_address_in_cranges): Use 2002-11-04 00:02:13 +00:00
elf32-sh64.c * Makefile.am (BFD32_BACKENDS): Remove elfarmqnx-nabi.lo, 2002-10-16 08:39:38 +00:00
elf32-sh.c * Makefile.am: Remove entries for elf32-qnx.[ch]. 2002-11-06 11:38:35 +00:00
elf32-sparc.c * elf32-sparc.c (elf32_sparc_relocate_section): Put R_SPARC_RELATIVE 2002-09-24 15:54:22 +00:00
elf32-v850.c * elf32-v850.c (v850_elf_relax_delete_bytes): Correct parameters 2002-11-03 10:43:44 +00:00
elf32-vax.c * elf32-vax.c (elf_vax_size_dynamic_section): Don't strip 2002-09-28 23:15:50 +00:00
elf32-xstormy16.c
elf32.c
elf64-alpha.c * elf64-alpha.c (elf64_alpha_check_relocs): Only put maybe_dynamic 2002-10-23 20:21:21 +00:00
elf64-gen.c
elf64-hppa.c Force DT_FLAGS to always be set. Required by HPUX 11.00 patch PHSS_26559. 2002-10-23 12:34:57 +00:00
elf64-hppa.h
elf64-mips.c * elf64-mips.c (mips_elf64_slurp_one_reloc_table): Generate 2002-11-06 21:56:05 +00:00
elf64-mmix.c * elf64-mmix.c (_bfd_mmix_finalize_linker_allocated_gregs): 2002-11-14 01:32:28 +00:00
elf64-ppc.c * elflink.h (elf_link_add_object_symbols): Optimize stabs for 2002-11-12 07:55:43 +00:00
elf64-ppc.h * elflink.h (elf_link_add_object_symbols): Optimize stabs for 2002-11-12 07:55:43 +00:00
elf64-s390.c
elf64-sh64.c Add some string section merging support. 2002-10-25 18:55:22 +00:00
elf64-sparc.c * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't zero 2002-11-12 06:21:05 +00:00
elf64-x86-64.c bfd/ 2002-10-01 09:15:34 +00:00
elf64.c
elf-bfd.h * elf-bfd.h (struct cie_header): Move from elf_eh-frame.c. 2002-11-12 07:35:26 +00:00
elf-eh-frame.c * elf-bfd.h (struct cie_header): Move from elf_eh-frame.c. 2002-11-12 07:35:26 +00:00
elf-hppa.h
elf-m10200.c
elf-m10300.c
elf-strtab.c
elf.c * elf-bfd.h (struct cie_header): Move from elf_eh-frame.c. 2002-11-12 07:35:26 +00:00
elfarm-nabi.c * Makefile.am: Remove entries for elf32-qnx.[ch]. 2002-11-06 11:38:35 +00:00
elfarm-oabi.c
elfcode.h 2002-11-13 H.J. Lu <hjl@gnu.org> 2002-11-12 22:49:45 +00:00
elfcore.h Missed commit in last change. 2002-11-12 23:25:42 +00:00
elflink.c Fix numerous occurrences of 2002-10-11 08:33:11 +00:00
elflink.h * elflink.h (elf_link_add_object_symbols): Optimize stabs for 2002-11-12 07:55:43 +00:00
elfn32-mips.c
elfxx-ia64.c * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't zero 2002-11-12 06:21:05 +00:00
elfxx-mips.c * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Don't move 2002-10-22 22:17:11 +00:00
elfxx-mips.h
elfxx-target.h * Makefile.am: Remove entries for elf32-qnx.[ch]. 2002-11-06 11:38:35 +00:00
epoc-pe-arm.c
epoc-pei-arm.c
format.c * config.bfd (sh-*-linux*): Use bfd_elf*_sh64*lin_vec as sh64 2002-11-05 01:18:56 +00:00
freebsd.h
gen-aout.c * aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to 2002-10-25 02:45:54 +00:00
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
i386netbsd.c
i386os9k.c
ieee.c
ihex.c
init.c
irix-core.c
libaout.h
libbfd-in.h * config.bfd (sh-*-linux*): Use bfd_elf*_sh64*lin_vec as sh64 2002-11-05 01:18:56 +00:00
libbfd.c 2002-11-16 Klee Dienes <kdienes@apple.com> 2002-11-18 16:37:54 +00:00
libbfd.h 2002-11-16 Klee Dienes <kdienes@apple.com> 2002-11-18 16:37:54 +00:00
libcoff-in.h
libcoff.h * aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to 2002-10-25 02:45:54 +00:00
libecoff.h
libhppa.h
libieee.h
libnlm.h
liboasys.h
libpei.h
libxcoff.h
linker.c * aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to 2002-10-25 02:45:54 +00:00
lynx-core.c
m68k4knetbsd.c
m68klinux.c
m68klynx.c
m68knetbsd.c
m88kmach3.c
mach-o-target.c Add support for PEF, Mach-O, xSYM 2002-11-06 13:26:29 +00:00
mach-o.c * bfd.c (struct bfd_preserve): New. 2002-11-12 15:44:24 +00:00
mach-o.h * bfd.c (struct bfd_preserve): New. 2002-11-12 15:44:24 +00:00
MAINTAINERS
Makefile.am 2002-11-16 Klee Dienes <kdienes@apple.com> 2002-11-18 16:37:54 +00:00
Makefile.in 2002-11-16 Klee Dienes <kdienes@apple.com> 2002-11-18 16:37:54 +00:00
makefile.vms
merge.c * aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to 2002-10-25 02:45:54 +00:00
mipsbsd.c
mmo.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 * opncls.c: Formatting. 2002-10-06 09:03:06 +00:00
osf-core.c
pc532-mach.c
pdp11.c
pe-arm.c
pe-i386.c
pe-mcore.c
pe-mips.c
pe-ppc.c
pe-sh.c
pef-traceback.h Add support for PEF, Mach-O, xSYM 2002-11-06 13:26:29 +00:00
pef.c 2002-11-15 Klee Dienes <kdienes@apple.com> 2002-11-15 08:38:38 +00:00
pef.h * bfd.c (struct bfd_preserve): New. 2002-11-12 15:44:24 +00:00
pei-arm.c
pei-i386.c
pei-mcore.c
pei-mips.c
pei-ppc.c
pei-sh.c
peicode.h
peXXigen.c
PORTING
ppcboot.c
ptrace-core.c
README
reloc16.c * coff-h8300.c: Fix formatting. 2002-11-11 05:05:22 +00:00
reloc.c Use bfd_simple_get_relocated_section_contents() instead of bfd_get_section_contents(). 2002-11-07 14:36:31 +00:00
riscix.c
rs6000-core.c
sco5-core.c
section.c * aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to 2002-10-25 02:45:54 +00:00
simple.c Use bfd_simple_get_relocated_section_contents() instead of bfd_get_section_contents(). 2002-11-07 14:36:31 +00:00
som.c
som.h
sparclinux.c
sparclynx.c
sparcnetbsd.c
srec.c * aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to 2002-10-25 02:45:54 +00:00
stab-syms.c
stabs.c * aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to 2002-10-25 02:45:54 +00:00
stamp-h.in
sunos.c
syms.c * aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to 2002-10-25 02:45:54 +00:00
sysdep.h
targets.c * bfd.c (struct bfd_preserve): New. 2002-11-12 15:44:24 +00:00
targmatch.sed
tekhex.c
ticoff.h
TODO
trad-core.c
vax1knetbsd.c
vaxbsd.c
vaxnetbsd.c
versados.c
version.h daily update 2002-11-17 23:00:03 +00:00
vms-gsd.c * vms-gsd.c (_bfd_vms_write_gsd): Check that symbol->udata.p is 2002-11-05 01:08:18 +00:00
vms-hdr.c * Makefile.am: Run "make dep-am". 2002-10-14 12:06:04 +00:00
vms-misc.c
vms-tir.c
vms.c * vms.c (vms_object_p): Restore the start address when returning 2002-11-04 21:44:36 +00:00
vms.h
xcoff-target.h
xcofflink.c Fix numerous occurrences of 2002-10-11 08:33:11 +00:00
xsym.c * bfd.c (struct bfd_preserve): New. 2002-11-12 15:44:24 +00:00
xsym.h * bfd.c (struct bfd_preserve): New. 2002-11-12 15:44:24 +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.