H.J. Lu 55255daec3 bfd/
2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>

	* elf-bfd.h (elf_link_hash_entry): Add a dynamic field.
	(bfd_elf_link_mark_dynamic_symbol): New.
	(SYMBOLIC_BIND): New.

	* elf32-i386.c (elf_i386_check_relocs): Replace info->symbolic
	with SYMBOLIC_BIND (info, h).
	(elf_i386_relocate_section): Likewise.
	* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
	(elf64_x86_64_relocate_section): Likewise.
	* elfxx-ia64.c (elfNN_ia64_check_relocs): Likewise.

	* elflink.c (bfd_elf_link_mark_dynamic_symbol): New.
	(bfd_elf_record_link_assignment): Call
	bfd_elf_link_mark_dynamic_symbol on new entry.
	(_bfd_elf_merge_symbol): Likewise.
	(_bfd_elf_export_symbol): Return if the symbol isn't exported.
	(_bfd_elf_fix_symbol_flags): Replace info->symbolic with
	SYMBOLIC_BIND (info, h).
	(_bfd_elf_dynamic_symbol_p): Likewise.
	(_bfd_elf_symbol_refs_local_p): Likewise.
	(bfd_elf_size_dynamic_sections): Updated.

include/

2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>

	* bfdlink.h (bfd_elf_dynamic_list): New.
	(bfd_link_info): Add a dynamic field.

ld/

2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>

	* Makefile.am (CXX): Set to g++.
	(CXX_FOR_TARGET): Likewise.
	* Makefile.in: Regenerated.

	* NEWS: Mention --dynamic-list.

	* ld.texinfo: Document --dynamic-list.

	* ldgram.y: Support dynamic list.

	* ldlang.c (lang_process): Call lang_finalize_version_expr_head
	on link_info.dynamic if needed.
	(lang_append_dynamic_list): New.
	(lang_append_dynamic_list_cpp_typeinfo): New.
	* ldlang.h (lang_append_dynamic_list): Likewise.
	* ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise.

	* ldlex.h (input_enum): Add input_dynamic_list.
	* ldlex.l: Handle it.

	* ldmain.c (main): Initialize link_info.dynamic.

	* lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and
	OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
	(ld_options): Add entries for OPTION_DYNAMIC_LIST and
	OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
	(parse_args): Handle OPTION_DYNAMIC_LIST and
	OPTION_DYNAMIC_LIST_CPP_TYPEINFO.

ld/testsuite/

2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>

	* ld-elf/dl1.c: New file.
	* ld-elf/dl1.list: Likewise.
	* ld-elf/dl1.out: Likewise.
	* ld-elf/dl1main.c: Likewise.
	* ld-elf/dl2.c: Likewise.
	* ld-elf/dl2.list: Likewise.
	* ld-elf/dl2a.out: Likewise.
	* ld-elf/dl2b.out: Likewise.
	* ld-elf/dl2main.c: Likewise.
	* ld-elf/dl2xxx.c: Likewise.
	* ld-elf/dl2xxx.list: Likewise.
	* ld-elf/dl3.cc: Likewise.
	* ld-elf/dl3.list: Likewise.
	* ld-elf/dl3a.out: Likewise.
	* ld-elf/dl3b.out: Likewise.
	* ld-elf/dl3header.h: Likewise.
	* ld-elf/dl3main.cc: Likewise.

	* ld-elf/shared.exp: Updated.

	* lib/ld-lib.exp (run_ld_link_exec_tests): Take an optional
	argument for source language. Use CC/CXX for link, depending
	on source language.
	(run_cc_link_tests): Likewise.
2006-09-07 17:16:34 +00:00
..
2006-07-24 13:49:50 +00:00
2006-06-07 15:38:01 +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-05-24 07:36:12 +00:00
2006-07-19 01:50:23 +00:00
2006-07-19 01:50:23 +00:00
bfd
2006-08-21 08:12:46 +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-09-07 17:16:34 +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-03-16 12:20:16 +00:00
2006-06-19 13:17:44 +00:00
2006-05-03 14:26:41 +00:00
2006-06-19 13:17:44 +00:00
2006-07-05 10:21:39 +00:00
bfd
2006-08-21 08:12:46 +00:00
2006-06-05 12:28:18 +00:00
bfd
2006-08-21 08:12:46 +00:00
bfd
2006-08-21 08:12:46 +00:00
2005-12-27 04:19:15 +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
2005-06-03 10:14:29 +00:00
2006-06-19 13:17:44 +00:00
2006-09-04 07:11:11 +00:00
2006-05-24 07:36:12 +00:00
2006-05-24 07:36:12 +00:00
2006-03-16 12:20:16 +00:00
2006-05-24 11:05:42 +00:00
2006-06-20 02:22:16 +00:00
2006-09-07 17:16:34 +00:00
2006-03-16 12:20:16 +00:00
2006-03-16 12:20:16 +00:00
2006-06-14 08:27:41 +00:00
2005-12-08 11:41:12 +00:00
2006-06-23 02:58:01 +00:00
2006-05-30 16:45:32 +00:00
2006-08-04 13:13:56 +00:00
2006-05-30 16:45:32 +00:00
2006-05-02 01:41:20 +00:00
2006-03-16 12:20:16 +00:00
2006-08-25 00:08:55 +00:00
2006-06-23 02:58:01 +00:00
2006-06-20 02:22:16 +00:00
2006-05-03 14:26:41 +00:00
2005-06-07 12:12:11 +00:00
2006-06-23 02:58:01 +00:00
2006-03-16 12:20:16 +00:00
2006-05-30 16:45:32 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-06-20 02:22:16 +00:00
2006-05-24 11:05:42 +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-08-17 02:04:53 +00:00
2006-05-24 07:36:12 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-06-23 02:58:01 +00:00
2006-04-05 12:41:59 +00:00
2006-07-10 21:40:25 +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
2006-06-19 13:17:44 +00:00
2005-11-24 06:02:08 +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-03-16 12:20:16 +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-03-16 12:20:16 +00:00
2005-08-18 03:51:51 +00:00
2006-06-19 13:17:44 +00:00
2006-05-02 01:41:20 +00:00
2005-05-23 17:44:55 +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-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-07-24 16:51:26 +00:00
2006-06-19 13:17:44 +00:00
2006-05-03 14:26:41 +00:00
2005-06-03 09:52:50 +00:00
2006-06-19 13:17:44 +00:00
2005-08-18 03:51:51 +00:00
2006-06-19 13:17:44 +00:00
bfd
2006-08-21 08:12:46 +00:00
2006-06-19 13:17:44 +00:00
2006-06-19 13:17:44 +00:00
2006-09-06 23:59:54 +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.