binutils-gdb/bfd
Richard Sandiford 3df13c4a63 bfd/
* libcoff-in.h (xcoff_tdata): Add a lineno_counts field.
	* libcoff.h: Regenerate.
	* xcofflink.c (xcoff_link_add_symbols): Record per-symbol
	line-number counts in the bfd's lineno_counts field.
	Don't keep per-csect line-number counts.
	(xcoff_sweep): Don't update per-csect line-number counts.
	(bfd_xcoff_size_dynamic_sections): Count the number of line-number
	entries in each output section.
	(xcoff_link_input_bfd): Get the number of line numbers from
	the bfd's lineno_counts field, rather than recalculating it
	from scratch.  Fix the range check when updating C_BINCL and
	C_EINCL symbols.
	(_bfd_xcoff_bfd_final_link): Don't count the output line numbers
	here.  Don't expect csects to have line-number counts.

ld/testsuite/
	* ld-powerpc/aix-lineno-1.s, ld-powerpc/aix-lineno-1.txt,
	ld-powerpc/aix-lineno-1a.dd, ld-powerpc/aix-lineno-1a.nd,
	ld-powerpc/aix-lineno-1b.dd, ld-powerpc/aix-lineno-1b.nd: New tests.
	* ld-powerpc/aix52.exp: Run them.  Copy aix-lineno-1.txt to tmpdir.
2009-03-14 09:32:33 +00:00
..
doc bfd: 2009-02-03 15:54:05 +00:00
hosts bfd/ 2008-11-14 09:57:35 +00:00
po Updated Spanish translations. 2009-03-06 12:14:40 +00:00
acinclude.m4
aclocal.m4
aix5ppc-core.c
aix386-core.c
aout0.c
aout32.c
aout64.c
aout-adobe.c
aout-arm.c
aout-cris.c
aout-ns32k.c
aout-sparcle.c
aout-target.h
aout-tic30.c
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 Add support for Score7 architecture. 2009-03-02 10:33:08 +00:00
armnetbsd.c
bfd-in2.h [bfd/ChangeLog] 2009-03-11 04:36:40 +00:00
bfd-in.h * Add PIC support for CR16 target. 2008-11-27 12:26:49 +00:00
bfd.c [bfd/ChangeLog] 2009-03-11 04:36:40 +00:00
bfd.m4
bfdio.c 2009-02-23 Tristan Gingold <gingold@adacore.com> 2009-02-23 09:28:43 +00:00
bfdwin.c 2008-11-20 Tristan Gingold <gingold@adacore.com> 2008-11-20 09:49:00 +00:00
binary.c
bout.c
cache.c * cache.c (cache_bread): Cast void * pointer before performing 2008-10-30 09:05:32 +00:00
cf-i386lynx.c
cf-sparclynx.c
ChangeLog bfd/ 2009-03-14 09:32:33 +00:00
ChangeLog-0001
ChangeLog-0203
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008 bfd/ 2009-01-02 16:48:11 +00:00
ChangeLog-9193
ChangeLog-9495
ChangeLog-9697
ChangeLog-9899
cisco-core.c
coff64-rs6000.c include/coff/ 2009-03-14 09:17:32 +00:00
coff-alpha.c bfd/ChangeLog 2009-02-18 18:23:08 +00:00
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-ia64.c
coff-m68k.c
coff-m88k.c
coff-maxq.c
coff-mcore.c
coff-mips.c bfd/ChangeLog 2009-02-18 18:23:08 +00:00
coff-or32.c
coff-pmac.c
coff-ppc.c 2009-01-03 H.J. Lu <hongjiu.lu@intel.com> 2009-01-03 16:19:52 +00:00
coff-rs6000.c include/coff/ 2009-03-14 09:17:32 +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
coff-z8k.c
coff-z80.c Fix copy-paste bug that caused z80-objdump to issue warnings about stabs debugging symbols rather than to show them. 2008-12-29 17:06:46 +00:00
coffcode.h PR gas/7059 2009-02-18 18:38:06 +00:00
coffgen.c bfd/ChangeLog 2009-02-18 18:23:08 +00:00
cofflink.c binutils/ 2008-10-09 09:00:08 +00:00
coffswap.h
compress.c
config.bfd bfd/ 2009-03-14 09:11:38 +00:00
config.in * configure, config.in: Rebuild. 2008-11-06 14:10:46 +00:00
configure bfd/ 2009-03-14 09:11:38 +00:00
configure.com bfd/ 2008-11-14 09:57:35 +00:00
configure.host
configure.in bfd/ 2009-03-14 09:11:38 +00:00
COPYING
corefile.c
cpu-alpha.c
cpu-arc.c
cpu-arm.c
cpu-avr.c 2008-12-09 Tristan Gingold <gingold@adacore.com> 2008-12-09 09:51:08 +00:00
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
cpu-i860.c
cpu-i960.c
cpu-ia64-opc.c
cpu-ia64.c
cpu-ip2k.c
cpu-iq2000.c
cpu-lm32.c Add LM32 port. 2008-12-23 19:10:25 +00:00
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
cpu-mips.c bfd: 2009-02-03 18:16:04 +00:00
cpu-mmix.c
cpu-msp430.c
cpu-mt.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-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
dwarf1.c
dwarf2.c 2009-03-12 Andrew Stubbs <ams@codesourcery.com> 2009-03-12 10:57:18 +00:00
ecoff.c include/elf/ 2009-03-04 05:50:50 +00:00
ecofflink.c
ecoffswap.h
efi-app-ia32.c bfd/ChangeLog 2009-02-18 18:23:08 +00:00
efi-app-ia64.c bfd/ChangeLog 2009-02-18 18:23:08 +00:00
efi-app-x86_64.c bfd/ChangeLog 2009-02-18 18:23:08 +00:00
efi-bsdrv-ia32.c bfd/ChangeLog 2009-02-18 18:23:08 +00:00
efi-bsdrv-ia64.c bfd/ChangeLog 2009-02-18 18:23:08 +00:00
efi-bsdrv-x86_64.c bfd/ChangeLog 2009-02-18 18:23:08 +00:00
efi-rtdrv-ia32.c bfd/ChangeLog 2009-02-18 18:23:08 +00:00
efi-rtdrv-ia64.c bfd/ChangeLog 2009-02-18 18:23:08 +00:00
efi-rtdrv-x86_64.c bfd/ChangeLog 2009-02-18 18:23:08 +00:00
elf32-am33lin.c
elf32-arc.c
elf32-arm.c PR 9934 2009-03-13 11:34:43 +00:00
elf32-avr.c PR 9841 2009-02-18 15:28:56 +00:00
elf32-avr.h
elf32-bfin.c * elflink.c (is_reloc_section): New function. Returns true if the 2008-11-25 13:03:56 +00:00
elf32-cr16.c * Add PIC support for CR16 target. 2008-11-27 12:26:49 +00:00
elf32-cr16c.c
elf32-cris.c * elf32-cris.c (cris_elf_relocate_section): Use elf_hash_table 2009-01-27 22:28:22 +00:00
elf32-crx.c
elf32-d10v.c
elf32-d30v.c
elf32-dlx.c
elf32-fr30.c
elf32-frv.c
elf32-gen.c
elf32-h8300.c
elf32-hppa.c * elf32-hppa.c (hppa32_elf_local_refcounts): New function. 2009-03-01 18:15:53 +00:00
elf32-hppa.h
elf32-i370.c * elflink.c (is_reloc_section): New function. Returns true if the 2008-11-25 13:03:56 +00:00
elf32-i386.c 2009-03-12 H.J. Lu <hongjiu.lu@intel.com> 2009-03-12 17:13:41 +00:00
elf32-i860.c
elf32-i960.c
elf32-ip2k.c
elf32-iq2000.c
elf32-lm32.c Add LM32 port. 2008-12-23 19:10:25 +00:00
elf32-m32c.c
elf32-m32r.c * elflink.c (is_reloc_section): New function. Returns true if the 2008-11-25 13:03:56 +00:00
elf32-m68hc1x.c
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 * elf32-mep.c (config_names): Regenerate configuration. 2009-02-03 02:15:57 +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-msp430.c
elf32-mt.c
elf32-openrisc.c
elf32-or32.c
elf32-pj.c
elf32-ppc.c include/elf/ 2009-03-04 05:50:50 +00:00
elf32-ppc.h
elf32-s390.c * elflink.c (is_reloc_section): New function. Returns true if the 2008-11-25 13:03:56 +00:00
elf32-score7.c Add support for Score7 architecture. 2009-03-02 10:33:08 +00:00
elf32-score.c Add support for Score7 architecture. 2009-03-02 10:33:08 +00:00
elf32-score.h Add support for Score7 architecture. 2009-03-02 10:33:08 +00:00
elf32-sh64-com.c
elf32-sh64.c
elf32-sh64.h
elf32-sh-relocs.h
elf32-sh-symbian.c * elf64-ppc.c (ppc64_elf_process_dot_syms): Renamed from 2008-10-20 11:05:47 +00:00
elf32-sh.c * elflink.c (is_reloc_section): New function. Returns true if the 2008-11-25 13:03:56 +00:00
elf32-sparc.c
elf32-spu.c * elf32-spu.c (find_function_stack_adjust): Handle sf instruction 2009-03-11 00:18:02 +00:00
elf32-spu.h bfd/ 2009-01-21 02:27:13 +00:00
elf32-v850.c * elflink.c (is_reloc_section): New function. Returns true if the 2008-11-25 13:03:56 +00:00
elf32-vax.c * elflink.c (is_reloc_section): New function. Returns true if the 2008-11-25 13:03:56 +00:00
elf32-xc16x.c
elf32-xstormy16.c
elf32-xtensa.c 2009-02-24 Sterling Augustine <sterling@tensilica.com> 2009-02-24 22:51:10 +00:00
elf32.c
elf64-alpha.c * elflink.c (is_reloc_section): New function. Returns true if the 2008-11-25 13:03:56 +00:00
elf64-gen.c
elf64-hppa.c * elf_hppa_add_symbol_hook (elf_hppa_add_symbol_hook): Move to 2009-03-01 17:08:54 +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
elf64-ppc.c include/elf/ 2009-03-04 05:50:50 +00:00
elf64-ppc.h
elf64-s390.c 2008-12-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2008-12-04 08:43:26 +00:00
elf64-sh64.c * elflink.c (is_reloc_section): New function. Returns true if the 2008-11-25 13:03:56 +00:00
elf64-sparc.c
elf64-x86-64.c 2009-03-12 H.J. Lu <hongjiu.lu@intel.com> 2009-03-12 17:13:41 +00:00
elf64.c
elf-attrs.c 2009-01-29 Daniel Jacobowitz <dan@codesourcery.com> 2009-01-29 16:35:03 +00:00
elf-bfd.h PR 9934 2009-03-13 11:34:43 +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 * elflink.c (is_reloc_section): New function. Returns true if the 2008-11-25 13:03:56 +00:00
elf-strtab.c
elf-vxworks.c
elf-vxworks.h
elf.c bfd/ 2009-03-13 13:39:57 +00:00
elfcode.h Remove STT_IFUNC support. 2008-12-23 09:01:51 +00:00
elfcore.h
elflink.c PR 9934 2009-03-13 11:34:43 +00:00
elfn32-mips.c
elfxx-ia64.c * include/elf/ia64.h (SHT_IA_64_VMS_DISPLAY_NAME_INFO, 2009-01-15 12:42:52 +00:00
elfxx-mips.c * elfxx-mips.c (_bfd_mips_elf_section_processing): Remove special 2009-02-06 14:11:00 +00:00
elfxx-mips.h
elfxx-sparc.c * elflink.c (is_reloc_section): New function. Returns true if the 2008-11-25 13:03:56 +00:00
elfxx-sparc.h
elfxx-target.h 2009-01-19 Andrew Stubbs <ams@codesourcery.com> 2009-01-19 12:14:05 +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 * hpux-core.c: Don't include sys/file.h. 2008-11-29 00:26:39 +00:00
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
libbfd.c
libbfd.h include/elf/ 2009-03-04 05:50:50 +00:00
libcoff-in.h bfd/ 2009-03-14 09:32:33 +00:00
libcoff.h bfd/ 2009-03-14 09:32:33 +00:00
libecoff.h bfd/ChangeLog 2009-02-18 18:23:08 +00:00
libhppa.h
libieee.h
libnlm.h
liboasys.h
libpei.h
libxcoff.h bfd/ChangeLog 2009-02-18 18:23:08 +00:00
linker.c
lynx-core.c
m68k4knetbsd.c
m68klinux.c
m68knetbsd.c
m88kmach3.c
m88kopenbsd.c
mach-o-target.c 2008-11-06 Tristan Gingold <gingold@adacore.com> 2008-11-06 13:03:43 +00:00
mach-o.c * mach-o.c (bfd_mach_o_archive_p): Restrict the number of 2009-01-27 16:37:10 +00:00
mach-o.h 2008-12-23 Tristan Gingold <gingold@adacore.com> 2008-12-23 11:32:45 +00:00
MAINTAINERS
Makefile.am make dep-am and regen 2009-03-03 02:41:14 +00:00
Makefile.in make dep-am and regen 2009-03-03 02:41:14 +00:00
makefile.vms 2009-02-23 Tristan Gingold <gingold@adacore.com> 2009-02-23 09:28:43 +00:00
mep-relocs.pl
merge.c
mipsbsd.c
mmo.c
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
pdp11.c PR 9695 2009-01-19 06:11:22 +00:00
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 2008-12-09 18:59:54 +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-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-02-18 18:23:08 +00:00
peicode.h
peXXigen.c PR 9923 2009-03-05 01:04:56 +00:00
PORTING
ppcboot.c
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 include/elf/ 2009-03-04 05:50:50 +00:00
simple.c
som.c PR binutils/9921 2009-03-07 23:38:13 +00:00
som.h
sparclinux.c
sparclynx.c
sparcnetbsd.c
srec.c
stab-syms.c
stabs.c
stamp-h.in
sunos.c
syms.c PR 9735 2009-01-13 23:44:45 +00:00
sysdep.h
targets.c * include/elf/ia64.h (SHT_IA_64_VMS_DISPLAY_NAME_INFO, 2009-01-15 12:42:52 +00:00
targmatch.sed
tekhex.c
ticoff.h bfd/ChangeLog 2009-02-18 18:23:08 +00:00
TODO
trad-core.c
vax1knetbsd.c
vaxbsd.c
vaxnetbsd.c
versados.c
version.h daily update 2009-03-14 00:00:09 +00:00
vms-gsd.c 2009-02-23 Tristan Gingold <gingold@adacore.com> 2009-02-23 09:28:43 +00:00
vms-hdr.c 2009-02-23 Tristan Gingold <gingold@adacore.com> 2009-02-23 09:28:43 +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 2009-02-23 Tristan Gingold <gingold@adacore.com> 2009-02-23 09:28:43 +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 * include/elf/ia64.h (SHT_IA_64_VMS_DISPLAY_NAME_INFO, 2009-01-15 12:42:52 +00:00
warning.m4
xcoff-target.h
xcofflink.c bfd/ 2009-03-14 09:32:33 +00:00
xsym.c
xsym.h
xtensa-isa.c 2008-11-21 Sterling Augustine <sterling@tensilica.com> 2008-11-21 22:13:32 +00:00
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.