binutils-gdb/ld/testsuite
H.J. Lu 40b36307e3 bfd/
2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/3831
	* elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an
	argument, Elf_Internal_Sym *.

	* elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data
	symbol dynamic if info->dynamic_data is TRUE.
	(bfd_elf_record_link_assignment): Updated call to
	bfd_elf_record_link_assignment.
	(_bfd_elf_merge_symbol): Likewise.  Always call
	bfd_elf_link_mark_dynamic_symbol.

include/

2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/3831
	* bfdlink.h (bfd_link_info): Rename dynamic to dynamic_list.
	Add dynamic and dynamic_data.

ld/

2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/3831
	* NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
	--dynamic-list-cpp-new.

	* ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
	and --dynamic-list-cpp-new.

	* ldlang.c (lang_append_dynamic_list_cpp_new): New.
	(lang_process): Change link_info.dynamic to
	link_info.dynamic_list.
	(lang_append_dynamic_list): Likewise.
	* ldmain.c (main): Likewise.  Initialize link_info.dynamic and
	link_info.dynamic_data to FALSE.

	* ldlang.h (lang_append_dynamic_list_cpp_new): New.

	* lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
	OPTION_DYNAMIC_LIST_CPP_NEW.
	(ld_options): Add entries for -Bsymbolic-functions,
	--dynamic-list-data and --dynamic-list-cpp-new.  Make
	-Bsymbolic-functions an alias of --dynamic-list-data.
	(parse_args): Change link_info.dynamic to link_info.dynamic_list.
	Set link_info.dynamic to TRUE for --dynamic-list and
	--dynamic-list-cpp-typeinfo.  Handle --dynamic-list-data and
	--dynamic-list-cpp-new.

ld/testsuite/

2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/3831
	* ld-elf/del.cc: New.
	* ld-elf/dl5.cc: Likewise.
	* ld-elf/dl5.out: Likewise.
	* ld-elf/new.cc: Likewise.

	* ld-elf/shared.exp: Add tests for --dynamic-list-data and
	 --dynamic-list-cpp-new.
2007-01-16 14:56:32 +00:00
..
config
ld-alpha * ld-alpha/tlspic.rd: Update for unused section removal. 2006-12-05 02:40:57 +00:00
ld-arm opcodes/ 2006-11-22 17:45:57 +00:00
ld-auto-import
ld-bootstrap Add x86_64-mingw64 target 2006-09-20 11:35:11 +00:00
ld-cdtest
ld-checks
ld-cris * ld-cris/ldsym1.d: Adjust for semi-recent ld changes. 2006-11-05 19:15:32 +00:00
ld-crx
ld-cygwin
ld-d10v
ld-discard bfd/ 2006-11-03 00:58:10 +00:00
ld-elf bfd/ 2007-01-16 14:56:32 +00:00
ld-elfcomm * ld-elfcomm/elfcomm.exp: Enable the alignment test for 2006-09-18 14:41:10 +00:00
ld-elfvers
ld-elfvsb * ld-elfvsb/sh1.c (overriddenvar, shlib_overriddencall2, 2006-12-05 01:29:58 +00:00
ld-elfweak
ld-fastcall Renamed target x86_64-*-mingw64 to x86_64-*-mingw*. 2007-01-08 17:21:50 +00:00
ld-frv * ld-alpha/tlspic.rd: Update for unused section removal. 2006-12-05 02:40:57 +00:00
ld-h8300
ld-i386 bfd/ 2006-10-17 13:41:49 +00:00
ld-ia64 bfd/ 2006-12-04 08:57:09 +00:00
ld-linkonce
ld-m68hc11
ld-m68k * ld-m68k/plt1-68020.d: Fix patterns to match also for 64-bit 2006-09-21 09:41:34 +00:00
ld-maxq
ld-mips-elf [ bfd/ChangeLog ] 2006-11-02 15:20:31 +00:00
ld-mmix bfd/ 2006-10-17 13:41:49 +00:00
ld-pe Renamed target x86_64-*-mingw64 to x86_64-*-mingw*. 2007-01-08 17:21:50 +00:00
ld-pie
ld-powerpc * ld-powerpc/plt1.s: New. 2006-10-24 13:29:37 +00:00
ld-s390 bfd/ 2006-10-17 13:41:49 +00:00
ld-scripts Renamed target x86_64-*-mingw64 to x86_64-*-mingw*. 2007-01-08 17:21:50 +00:00
ld-selective
ld-sh * ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, 2006-10-30 00:48:03 +00:00
ld-shared
ld-sparc bfd/ 2006-10-17 13:41:49 +00:00
ld-spu New Cell SPU port. 2006-10-25 06:49:21 +00:00
ld-srec Add support for Score target. 2006-09-16 23:51:50 +00:00
ld-undefined
ld-v850
ld-versados
ld-x86-64 bfd/ 2006-10-17 13:41:49 +00:00
ld-xc16x
ld-xstormy16
ld-xtensa
lib 2006-12-13 Dave Brolley <brolley@redhat.com> 2006-12-13 16:38:37 +00:00
ChangeLog bfd/ 2007-01-16 14:56:32 +00:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006 Move 2006 ChangeLog entries to ChangeLog-2006. 2007-01-09 17:30:59 +00:00
ChangeLog-9303