Alan Modra 74541ad4c0 bfd/
* elf-bfd.h (struct elf_link_hash_table): Reorder.  Add
	text_index_section and data_index_section.
	(struct elf_backend_data): Add elf_backend_init_index_section.
	(_bfd_elf_init_1_index_section): Declare.
	(_bfd_elf_init_2_index_sections): Declare.
	* elfxx-target.h (elf_backend_init_index_section): Define.
	(elfNN_bed): Init new field.
	* elflink.c (_bfd_elf_link_omit_section_dynsym): Keep first tls
	section and text_index_section plus data_index_section.
	(_bfd_elf_link_renumber_dynsyms): Clear dynindx on omitted sections.
	(_bfd_elf_init_1_index_section): New function.
	(_bfd_elf_init_2_index_sections): New function.
	(bfd_elf_size_dynsym_hash_dynstr): Call elf_backend_init_index_section.
	(elf_link_input_bfd): When emitting relocs, use text_index_section
	and data_index_section for removed sections.
	* elf-m10300.c (elf_backend_omit_section_dynsym): Define.
	* elf32-i386.c: Likewise.
	* elf32-m32r.c: Likewise.
	* elf32-sh.c: Likewise.
	* elf32-xstormy16.c: Likewise.
	* elf32-xtensa.c: Likewise.
	* elf64-alpha.c: Likewise.
	* elf64-hppa.c: Likewise.
	* elf64-mmix.c: Likewise.
	* elf64-sh64.c: Likewise.
	* elfxx-ia64.c: Likewise.
	* elf32-arm.c (elf32_arm_final_link_relocate): Use text_index_section
	and data_index_section sym for relocs against sections with no dynamic
	section sym.
	(elf_backend_init_index_section): Define.
	* elf32-cris.c: Similarly.
	* elf32-hppa.c: Similarly.
	* elf32-i370.c: Similarly.
	* elf32-m68k.c: Similarly.
	* elf32-mips.c: Similarly.
	* elf32-ppc.c: Similarly.
	* elf32-s390.c: Similarly.
	* elf32-sparc.c: Similarly.
	* elf32-vax.c: Similarly.
	* elf64-mips.c: Similarly.
	* elf64-ppc.c: Similarly.
	* elf64-s390.c: Similarly.
	* elf64-sparc.c: Similarly.
	* elf64-x86-64.c: Similarly.
	* elfn32-mips.c: Similarly.
	* elfxx-mips.c: Similarly.
	* elfxx-sparc.c: Similarly.
	* linker.c (fix_syms): Base symbols in removed sections on
	previous section in preference to using absolute section.

ld/
	* ldlang.c (strip_excluded_output_sections): Do strip sections
	that define syms, but don't ignore them.
	* ld.texinfo (Output Section Discarding): Revise.
	* emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
	finish_default.

ld/testsuite/
	Update for section sym changes.
2006-10-17 13:41:49 +00:00
..
2006-07-24 13:49:50 +00:00
2006-09-29 08:05:35 +00:00
2006-06-19 13:17:44 +00:00
2005-05-23 17:44:55 +00:00
2005-05-23 17:44:55 +00:00
2006-06-19 13:17:44 +00:00
2006-09-26 12:04:45 +00:00
2006-09-28 12:59:25 +00:00
2006-09-28 12:59:25 +00:00
2005-11-03 16:06:11 +00:00
2006-06-19 13:17:44 +00:00
2006-06-19 13:17:44 +00:00
2005-11-03 16:06:11 +00:00
2006-10-17 13:41:49 +00:00
2006-06-19 13:17:44 +00:00
2005-07-14 07:48:28 +00:00
bfd
2006-08-21 08:12:46 +00:00
2006-06-19 13:17:44 +00:00
2006-05-03 14:26:41 +00:00
2006-09-20 11:35:11 +00:00
2006-09-20 11:35:11 +00:00
2006-06-19 13:17:44 +00:00
2006-09-17 14:38:51 +00:00
2006-09-20 11:35:11 +00:00
2006-06-05 12:28:18 +00:00
2006-09-20 11:35:11 +00:00
2005-12-27 04:19:15 +00:00
2006-09-26 12:04:45 +00:00
2006-05-24 07:36:12 +00:00
2005-09-30 15:36:41 +00:00
2006-02-23 21:36:18 +00:00
2005-07-14 22:52:28 +00:00
2006-07-12 12:47:00 +00:00
2005-12-16 10:23:12 +00:00
2006-09-16 23:51:50 +00:00
2005-06-03 10:14:29 +00:00
2006-10-17 13:41:49 +00:00
2006-05-24 07:36:12 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2005-12-08 11:41:12 +00:00
2006-10-17 13:41:49 +00:00
2006-08-04 13:13:56 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2005-06-07 12:12:11 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2006-05-24 11:05:42 +00:00
2006-10-17 13:41:49 +00:00
2006-03-16 12:20:16 +00:00
2006-08-04 13:13:56 +00:00
2006-03-02 08:57:00 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2006-10-17 13:41:49 +00:00
2006-04-05 12:41:59 +00:00
2006-10-17 13:41:49 +00:00
2006-06-19 13:17:44 +00:00
2006-06-19 13:17:44 +00:00
2006-06-19 13:17:44 +00:00
2006-06-19 13:17:44 +00:00
2006-06-19 13:17:44 +00:00
2005-11-24 06:02:08 +00:00
2006-09-16 23:51:50 +00:00
2006-06-19 13:17:44 +00:00
2006-06-19 13:17:44 +00:00
2006-06-19 13:17:44 +00:00
2006-09-20 11:35:11 +00:00
2006-10-17 13:41:49 +00:00
2006-06-19 13:17:44 +00:00
2006-09-20 11:35:11 +00:00
2006-09-20 11:35:11 +00:00
2006-03-16 12:20:16 +00:00
2005-08-18 03:51:51 +00:00
2006-05-02 01:41:20 +00:00
2005-05-23 17:44:55 +00:00
2006-09-28 12:59:25 +00:00
2006-06-19 13:17:44 +00:00
2006-06-19 13:17:44 +00:00
bfd
2006-08-21 08:12:46 +00:00
bfd
2006-08-21 08:12:46 +00:00
2006-09-29 03:33:56 +00:00
2006-09-20 11:35:11 +00:00
bfd
2006-08-21 08:12:46 +00:00
bfd
2006-08-21 08:12:46 +00:00
2006-09-29 03:33:56 +00:00
2006-09-20 11:35:11 +00:00
2006-09-20 11:35:11 +00:00
2006-09-20 11:35:11 +00:00
2006-06-19 13:17:44 +00:00
2006-09-16 23:51:50 +00:00
2006-05-03 14:26:41 +00:00
2005-06-03 09:52:50 +00:00
2005-08-18 03:51:51 +00:00
2006-06-19 13:17:44 +00:00
2006-09-20 11:35:11 +00:00
2006-06-19 13:17:44 +00:00
2006-06-19 13:17:44 +00:00
2006-10-16 23:59:13 +00:00
2006-06-19 13:17:44 +00:00
2006-04-19 02:06:15 +00:00
2006-06-19 13:17:44 +00:00
2006-06-19 13:17:44 +00:00
2006-06-19 13:17:44 +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.