libc/include
H.J. Lu 33d9aaee5b 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:31 +00:00
..
aout Remove a29k support. 2005-08-18 03:49:39 +00:00
coff Cleanup of pseudo-ops for constants and new def24,def32 pseudo-ops on z80 2006-02-05 11:57:34 +00:00
elf include/ 2006-07-10 21:40:24 +00:00
gdb ChangeLog: 2005-07-14 22:52:16 +00:00
nlm Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
opcode 2006-07-14 H.J. Lu <hongjiu.lu@intel.com> 2006-07-14 16:15:27 +00:00
COPYING Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
ChangeLog bfd/ 2006-09-07 17:16:31 +00:00
ChangeLog-9103 merge from gcc 2005-04-14 02:22:07 +00:00
MAINTAINERS add MAINTAINERS files 2000-07-05 19:28:05 +00:00
alloca-conf.h Add alloca-conf.h from libiberty. 2000-09-28 08:00:54 +00:00
ansidecl.h merge from gcc 2005-07-03 19:16:16 +00:00
bfdlink.h bfd/ 2006-09-07 17:16:31 +00:00
bin-bugs.h 2004-07-23 H.J. Lu <hongjiu.lu@intel.com> 2004-07-23 15:40:19 +00:00
bout.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
demangle.h merge from gcc 2005-12-11 02:16:04 +00:00
dis-asm.h Add support for the Infineon XC16X. 2006-02-17 14:36:26 +00:00
dyn-string.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
fibheap.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
filenames.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
floatformat.h merge from gcc 2005-10-31 18:01:16 +00:00
fnmatch.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
fopen-bin.h 19990502 sourceware import 1999-05-03 07:29:06 +00:00
fopen-same.h 19990502 sourceware import 1999-05-03 07:29:06 +00:00
fopen-vms.h 19990502 sourceware import 1999-05-03 07:29:06 +00:00
gdbm.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
getopt.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
hashtab.h merge from gcc 2005-06-30 23:02:54 +00:00
hp-symtab.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
ieee.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
libiberty.h merge from gcc 2006-06-01 14:57:47 +00:00
md5.h merge from gcc 2006-01-18 21:05:51 +00:00
oasys.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
objalloc.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
obstack.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
os9k.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
partition.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
progress.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
safe-ctype.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
sort.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
splay-tree.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
symcat.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
ternary.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
xregex.h merge from gcc 2001-08-02 23:27:47 +00:00
xregex2.h merge from gcc 2005-07-12 10:34:51 +00:00
xtensa-config.h * xtensa-config.h (XCHAL_HAVE_MUL32_HIGH): Define. 2006-01-09 23:47:37 +00:00
xtensa-isa-internal.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
xtensa-isa.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00