binutils-gdb/bfd
Richard Sandiford 23cc69b663 bfd/
* elfxx-mips.c (mips_got_info): Add a "reloc_only_gotno" field.
	(mips_elf_got_section): Delete.
	(mips_elf_sort_hash_table): Use g->reloc_only_gotno to decide
	how many reloc-only entries there are.
	(mips_elf_count_got_symbols): Adjust g->reloc_only_gotno as
	well as g->global_gotno.
	(mips_elf_make_got_per_bfd): Initialize reloc_only_gotno.
	(mips_elf_multi_got): Likewise.  Use gg->reloc_only_gotno
	rather than gg->assigned_gotno to store the number of
	reloc-only GOT entries.
	(mips_elf_create_got_section): Remove the MAYBE_EXCLUDE parameter.
	Initialize reloc_only_gotno.
	(mips_elf_calculate_relocation): Check htab->got_info instead of
	dynobj when deciding whether to call mips_elf_adjust_gp,
	(_bfd_mips_elf_create_dynamic_sections): Adjust the call
	to mips_elf_create_got_section.
	(mips_elf_record_relocs): Likewise.  Remove redundant
	"dynobj == NULL" code.  Do not use mips_elf_create_got_section
	or mips_elf_record_global_got_symbol for R_MIPS_32, R_MIPS_REL32
	and R_MIPS_64; limit global_got_area to GGA_RELOC_ONLY instead.
	(_bfd_mips_elf_finish_dynamic_symbol): Use htab->sgot instead
	of mips_elf_got_section.
	(_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
	(_bfd_mips_elf_finish_dynamic_sections): Likewise.
	Move the initial assignment of G to the block that uses it;
	it is used for an unrelated purpose later.

ld/testsuite/
	* ld-mips-elf/tls-hidden4.got, ld-mips-elf/tls-hidden4.r: We have
	removed an unused GOT entry that was allocated for the R_MIPS_32
	relocation against "undef", so adjust addresses down by 4 bytes.
	* ld-mips-elf/got-dump-1.d, ld-mips-elf/got-dump-2.d: We have
	changed the order of the GOT entries so that reloc-only ones
	come last.  "undef" is only referred to by dynamic relocations,
	so it now comes after "glob".
	* ld-mips-elf/mips16-pic-2.dd, ld-mips-elf/mips16-pic-2.gd,
	ld-mips-elf/mips16-pic-2.nd, ld-mips-elf/mips16-pic-2.rd: We have
	removed two unused local GOT entries that were originally created
	as global entries for the hidden symbols "used2" and "used3".
	"used4" and "used5" are only referred to by relocations, so they
	now come after "used6" and "used7".
2008-08-07 20:01:14 +00:00
..
doc bfd/ 2008-07-10 01:32:23 +00:00
hosts
po Set LC_ALL=C rather than unsetting LC_COLLATE for sort. 2008-08-04 06:55:33 +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
archive64.c
archive.c
archures.c
armnetbsd.c
bfd-in2.h bfd/ 2008-08-06 19:44:47 +00:00
bfd-in.h bfd/ 2008-07-28 04:07:32 +00:00
bfd.c * bfd.c (bfd_demangle): Always trim off bfd_get_symbol_leading_char. 2008-07-07 11:48:27 +00:00
bfd.m4
bfdio.c
bfdwin.c
binary.c
bout.c
cache.c
cf-i386lynx.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
cf-sparclynx.c
ChangeLog bfd/ 2008-08-07 20:01:14 +00:00
ChangeLog-0001
ChangeLog-0203
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-9193
ChangeLog-9495
ChangeLog-9697
ChangeLog-9899
cisco-core.c
coff64-rs6000.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-alpha.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-apollo.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-arm.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-aux.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-go32.c
coff-h8300.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-h8500.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-i386.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-i860.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-i960.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-ia64.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-m68k.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-m88k.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-maxq.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-mcore.c
coff-mips.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-or32.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-pmac.c
coff-ppc.c Silence gcc printf warnings 2008-07-30 04:34:58 +00:00
coff-rs6000.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-sh.c * coff-sh.c (bfd_pe_print_pdata): Define to NULL for non 2008-07-21 14:09:57 +00:00
coff-sparc.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-stgo32.c
coff-svm68k.c
coff-tic4x.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-tic30.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-tic54x.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-tic80.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-u68k.c
coff-w65.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-we32k.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-x86_64.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-z8k.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-z80.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coffcode.h * coffcode.h (coff_slurp_line_table): bfd_alloc lineno_cache first 2008-08-05 03:03:46 +00:00
coffgen.c Silence gcc printf warnings 2008-07-30 04:34:58 +00:00
cofflink.c
coffswap.h
compress.c bfd/ 2008-07-10 01:32:23 +00:00
config.bfd
config.in bfd/ 2008-07-10 01:32:23 +00:00
configure bfd/ 2008-07-10 01:32:23 +00:00
configure.com
configure.host
configure.in bfd/ 2008-07-10 01:32:23 +00:00
COPYING
corefile.c
cpu-alpha.c
cpu-arc.c
cpu-arm.c
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
cpu-i860.c
cpu-i960.c
cpu-ia64-opc.c
cpu-ia64.c
cpu-ip2k.c
cpu-iq2000.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
cpu-mips.c
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
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 2008-07-13 Craig Silverstein <csilvers@google.com> 2008-07-14 00:10:09 +00:00
ecoff.c Silence gcc printf warnings 2008-07-30 04:34:58 +00:00
ecofflink.c Silence gcc printf warnings 2008-07-30 04:34:58 +00:00
ecoffswap.h
efi-app-ia32.c
efi-app-ia64.c
efi-app-x86_64.c
efi-bsdrv-ia32.c
efi-bsdrv-ia64.c
efi-bsdrv-x86_64.c
efi-rtdrv-ia32.c
efi-rtdrv-ia64.c
efi-rtdrv-x86_64.c
elf32-am33lin.c
elf32-arc.c
elf32-arm.c * elf32-arm.c (arm_map_one_stub): Declare variables at beginning 2008-07-28 06:46:31 +00:00
elf32-avr.c * elf32-arm.c (arm_map_one_stub): Declare variables at beginning 2008-07-28 06:46:31 +00:00
elf32-avr.h
elf32-bfin.c * elf32-bfin.c (bfin_check_relocs, bfin_relocate_section, 2008-07-16 15:27:05 +00:00
elf32-cr16.c elf32-cr16.c (ELF_MACHINE_ALT1): Define to EM_CR16_OLD. 2008-06-18 11:08:19 +00:00
elf32-cr16c.c
elf32-cris.c
elf32-crx.c
elf32-d10v.c
elf32-d30v.c
elf32-dlx.c
elf32-fr30.c
elf32-frv.c Silence gcc printf warnings 2008-07-30 04:34:58 +00:00
elf32-gen.c
elf32-h8300.c
elf32-hppa.c
elf32-hppa.h
elf32-i370.c
elf32-i386.c bfd/ChangeLog: 2008-07-28 18:07:05 +00:00
elf32-i860.c
elf32-i960.c
elf32-ip2k.c
elf32-iq2000.c Silence gcc printf warnings 2008-07-30 04:34:58 +00:00
elf32-m32c.c Silence gcc printf warnings 2008-07-30 04:34:58 +00:00
elf32-m32r.c
elf32-m68hc1x.c
elf32-m68hc1x.h
elf32-m68hc11.c
elf32-m68hc12.c
elf32-m68k.c * elf32-m68k.c (elf_m68k_relocate_section): Don't ignore existing 2008-06-29 12:56:41 +00:00
elf32-m88k.c
elf32-mcore.c
elf32-mep.c Silence gcc printf warnings 2008-07-30 04:34:58 +00:00
elf32-mips.c bfd/ 2008-08-07 19:57:28 +00:00
elf32-msp430.c
elf32-mt.c Silence gcc printf warnings 2008-07-30 04:34:58 +00:00
elf32-openrisc.c
elf32-or32.c
elf32-pj.c
elf32-ppc.c * elf32-ppc.c (ppc_elf_relax_section): Clear R_PPC_PLTREL24 addend. 2008-08-06 07:29:31 +00:00
elf32-ppc.h
elf32-s390.c
elf32-score.c
elf32-sh64-com.c
elf32-sh64.c
elf32-sh64.h
elf32-sh-relocs.h
elf32-sh-symbian.c Silence gcc printf warnings 2008-07-30 04:34:58 +00:00
elf32-sh.c
elf32-sparc.c
elf32-spu.c * elf32-spu.c (spu_elf_auto_overlay): Use the maximum possible 2008-08-04 13:01:42 +00:00
elf32-spu.h bfd/ 2008-06-16 16:16:31 +00:00
elf32-v850.c
elf32-vax.c
elf32-xc16x.c
elf32-xstormy16.c
elf32-xtensa.c bfd/ 2008-05-07 23:13:09 +00:00
elf32.c
elf64-alpha.c
elf64-gen.c
elf64-hppa.c Silence gcc printf warnings 2008-07-30 04:34:58 +00:00
elf64-hppa.h
elf64-mips.c bfd/ 2008-08-07 19:57:28 +00:00
elf64-mmix.c
elf64-ppc.c bfd/ 2008-06-30 20:51:58 +00:00
elf64-ppc.h
elf64-s390.c
elf64-sh64.c
elf64-sparc.c
elf64-x86-64.c bfd/ChangeLog: 2008-07-28 18:07:05 +00:00
elf64.c
elf-attrs.c
elf-bfd.h * bfd/elf-bfd.h: Declare elfcore_write_ppc_vsx. 2008-07-21 05:33:37 +00:00
elf-eh-frame.c * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Drop 2008-07-21 07:49:58 +00:00
elf-hppa.h
elf-m10200.c
elf-m10300.c * elf-m10300.c (mn10300_elf_final_link_relocate): Correct overflow 2008-07-15 18:48:07 +00:00
elf-strtab.c
elf-vxworks.c
elf-vxworks.h
elf.c * elf.c (rewrite_elf_program_header): Don't wrap p_paddr to 2008-08-01 06:39:04 +00:00
elfcode.h * elfcore.h (elf_core_file_p): Ensure we have a backend match 2008-08-01 12:21:28 +00:00
elfcore.h * elfcore.h (elf_core_file_p): Ensure we have a backend match 2008-08-01 12:21:28 +00:00
elflink.c 2008-07-22 Simon Baldwin <simonb@google.com> 2008-07-22 04:58:33 +00:00
elfn32-mips.c bfd/ 2008-08-07 19:57:28 +00:00
elfxx-ia64.c
elfxx-mips.c bfd/ 2008-08-07 20:01:14 +00:00
elfxx-mips.h bfd/ 2008-08-07 19:57:28 +00:00
elfxx-sparc.c
elfxx-sparc.h
elfxx-target.h
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
i386netbsd.c
i386os9k.c
ieee.c
ihex.c
init.c
irix-core.c
libaout.h
libbfd-in.h
libbfd.c
libbfd.h bfd/ 2008-08-06 19:44:47 +00:00
libcoff-in.h * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
libcoff.h Silence gcc printf warnings 2008-07-30 04:34:58 +00:00
libecoff.h
libhppa.h
libieee.h
libnlm.h
liboasys.h
libpei.h * coff-sh.c (bfd_pe_print_pdata): Define to NULL for non 2008-07-21 14:09:57 +00:00
libxcoff.h
linker.c
lynx-core.c
m68k4knetbsd.c
m68klinux.c
m68knetbsd.c
m88kmach3.c
m88kopenbsd.c
mach-o-target.c
mach-o.c Silence gcc printf warnings 2008-07-30 04:34:58 +00:00
mach-o.h
MAINTAINERS
Makefile.am Set LC_ALL=C rather than unsetting LC_COLLATE for sort. 2008-08-04 06:55:33 +00:00
Makefile.in Set LC_ALL=C rather than unsetting LC_COLLATE for sort. 2008-08-04 06:55:33 +00:00
makefile.vms
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
pe-arm-wince.c * coff-sh.c (bfd_pe_print_pdata): Define to NULL for non 2008-07-21 14:09:57 +00:00
pe-arm.c
pe-i386.c
pe-mcore.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
pe-mips.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
pe-ppc.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
pe-sh.c
pe-x86_64.c
pef-traceback.h
pef.c Silence gcc printf warnings 2008-07-30 04:34:58 +00:00
pef.h
pei-arm-wince.c
pei-arm.c
pei-i386.c
pei-mcore.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
pei-mips.c
pei-ppc.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
pei-sh.c
pei-x86_64.c
peicode.h
peXXigen.c Silence gcc printf warnings 2008-07-30 04:34:58 +00:00
PORTING
ppcboot.c Silence gcc printf warnings 2008-07-30 04:34:58 +00:00
ptrace-core.c
README
reloc16.c
reloc.c bfd/ 2008-08-06 19:44:47 +00:00
riscix.c
rs6000-core.c
sco5-core.c
section.c
simple.c
som.c
som.h
sparclinux.c
sparclynx.c
sparcnetbsd.c
srec.c
stab-syms.c
stabs.c
stamp-h.in
sunos.c
syms.c bfd/ 2008-06-30 20:51:58 +00:00
sysdep.h
targets.c
targmatch.sed
tekhex.c
ticoff.h
TODO
trad-core.c
vax1knetbsd.c
vaxbsd.c
vaxnetbsd.c
versados.c
version.h daily update 2008-08-07 00:00:05 +00:00
vms-gsd.c
vms-hdr.c
vms-misc.c Silence gcc printf warnings 2008-07-30 04:34:58 +00:00
vms-tir.c
vms.c
vms.h
warning.m4
xcoff-target.h
xcofflink.c
xsym.c Silence gcc printf warnings 2008-07-30 04:34:58 +00:00
xsym.h
xtensa-isa.c
xtensa-modules.c

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.