binutils-gdb/ld/testsuite/ld-elf
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
..
begin.c bfd/ 2006-07-12 15:45:33 +00:00
binutils.exp bfd/ 2006-08-17 02:04:53 +00:00
commonpage1.d include/elf/ 2006-06-01 05:40:24 +00:00
del.cc bfd/ 2007-01-16 14:56:32 +00:00
dl1.c bfd/ 2006-09-07 17:16:34 +00:00
dl1.list bfd/ 2006-09-07 17:16:34 +00:00
dl1.out bfd/ 2006-09-07 17:16:34 +00:00
dl1main.c bfd/ 2006-09-07 17:16:34 +00:00
dl2.c bfd/ 2006-09-07 17:16:34 +00:00
dl2.list bfd/ 2006-09-07 17:16:34 +00:00
dl2a.out bfd/ 2006-09-07 17:16:34 +00:00
dl2b.out bfd/ 2006-09-07 17:16:34 +00:00
dl2main.c bfd/ 2006-09-07 17:16:34 +00:00
dl2xxx.c bfd/ 2006-09-07 17:16:34 +00:00
dl2xxx.list bfd/ 2006-09-07 17:16:34 +00:00
dl3.cc bfd/ 2006-09-07 17:16:34 +00:00
dl3.list bfd/ 2006-09-07 17:16:34 +00:00
dl3a.out bfd/ 2006-09-07 17:16:34 +00:00
dl3b.out bfd/ 2006-09-07 17:16:34 +00:00
dl3header.h bfd/ 2006-09-07 17:16:34 +00:00
dl3main.cc bfd/ 2006-09-07 17:16:34 +00:00
dl4.c 2006-10-18 H.J. Lu <hongjiu.lu@intel.com> 2006-10-18 16:23:24 +00:00
dl4.list 2006-10-18 H.J. Lu <hongjiu.lu@intel.com> 2006-10-18 16:23:24 +00:00
dl4a.out 2006-10-18 H.J. Lu <hongjiu.lu@intel.com> 2006-10-18 16:23:24 +00:00
dl4b.out 2006-10-18 H.J. Lu <hongjiu.lu@intel.com> 2006-10-18 16:23:24 +00:00
dl4main.c 2006-10-18 H.J. Lu <hongjiu.lu@intel.com> 2006-10-18 16:23:24 +00:00
dl4xxx.c 2006-10-18 H.J. Lu <hongjiu.lu@intel.com> 2006-10-18 16:23:24 +00:00
dl4xxx.list 2006-10-18 H.J. Lu <hongjiu.lu@intel.com> 2006-10-18 16:23:24 +00:00
dl5.cc bfd/ 2007-01-16 14:56:32 +00:00
dl5.out bfd/ 2007-01-16 14:56:32 +00:00
dummy.c bfd/ 2006-10-19 02:40:14 +00:00
dwarf1.c bfd/ 2006-10-19 02:40:14 +00:00
dwarf1.h bfd/ 2006-10-19 02:40:14 +00:00
dwarf1.out bfd/ 2006-10-19 02:40:14 +00:00
dwarf1main.c bfd/ 2006-10-19 02:40:14 +00:00
dwarf.exp bfd/ 2006-10-19 02:40:14 +00:00
eh1.d bfd/ 2006-06-20 02:22:16 +00:00
eh1.s 2006-05-23 H.J. Lu <hongjiu.lu@intel.com> 2006-05-24 02:39:16 +00:00
eh1a.s 2006-05-23 H.J. Lu <hongjiu.lu@intel.com> 2006-05-24 02:39:16 +00:00
eh2.d bfd/ 2006-06-20 02:22:16 +00:00
eh2a.s 2006-05-23 H.J. Lu <hongjiu.lu@intel.com> 2006-05-24 02:39:16 +00:00
eh3.d bfd/ 2006-06-20 02:22:16 +00:00
eh3.s 2006-05-23 H.J. Lu <hongjiu.lu@intel.com> 2006-05-24 02:39:16 +00:00
eh3a.s 2006-05-23 H.J. Lu <hongjiu.lu@intel.com> 2006-05-24 02:39:16 +00:00
eh4.d * elf-bfd.h (struct eh_cie_fde): Add set_loc pointer. 2006-10-03 13:15:39 +00:00
eh4.s * elf-bfd.h (struct eh_cie_fde): Add set_loc pointer. 2006-10-03 13:15:39 +00:00
eh4a.s * elf-bfd.h (struct eh_cie_fde): Add set_loc pointer. 2006-10-03 13:15:39 +00:00
eh5.d * elf-eh-frame.c (struct cie): New type. 2006-11-21 11:25:17 +00:00
eh5.s * elf-eh-frame.c (struct cie): New type. 2006-11-21 11:25:17 +00:00
eh5a.s * elf-eh-frame.c (struct cie): New type. 2006-11-21 11:25:17 +00:00
eh5b.s * elf-eh-frame.c (struct cie): New type. 2006-11-21 11:25:17 +00:00
eh-frame-hdr.d bfd/ 2006-12-04 08:57:09 +00:00
eh-frame-hdr.s bfd/ 2006-12-04 08:57:09 +00:00
elf.exp
empty2.d
empty2.s
empty.d
empty.s
end.c bfd/ 2006-07-12 15:45:33 +00:00
endhidden.c bfd/ 2006-07-12 15:45:33 +00:00
endprotected.c bfd/ 2006-07-12 15:45:33 +00:00
exclude1.s
exclude2.s
exclude.exp
fini.c
fini.out
foo.c bfd/ 2006-07-12 15:45:33 +00:00
foo.map bfd/ 2006-07-12 15:45:33 +00:00
frame.exp
frame.s
group1.d
group1a.s
group1b.s
group2.d
group3a.d bfd/ 2006-12-07 13:32:02 +00:00
group3a.s bfd/ 2006-12-07 13:32:02 +00:00
group3b.d bfd/ 2006-12-07 13:32:02 +00:00
group3b.s bfd/ 2006-12-07 13:32:02 +00:00
group.ld ld/ 2006-11-08 11:29:16 +00:00
hash.d 2006-09-15 H.J. Lu <hongjiu.lu@intel.com> 2006-09-15 14:55:42 +00:00
header.d * ld-elf/header.d: Allow arbitrary lines between "Program Header" 2007-01-12 01:57:28 +00:00
header.s bfd/ 2007-01-11 12:23:53 +00:00
header.t bfd/ 2007-01-11 12:23:53 +00:00
hidden.out bfd/ 2006-07-12 15:45:33 +00:00
init.c
init.out
loadaddr1.d 2006-09-15 H.J. Lu <hongjiu.lu@intel.com> 2006-09-15 14:48:46 +00:00
loadaddr1.t 2006-08-23 H.J. Lu <hongjiu.lu@intel.com> 2006-08-23 14:45:30 +00:00
loadaddr2.d 2006-09-15 H.J. Lu <hongjiu.lu@intel.com> 2006-09-15 14:48:46 +00:00
loadaddr2.t 2006-08-23 H.J. Lu <hongjiu.lu@intel.com> 2006-08-23 14:45:30 +00:00
loadaddr3.t New tests. 2006-08-29 01:24:17 +00:00
loadaddr3a.d 2006-09-15 H.J. Lu <hongjiu.lu@intel.com> 2006-09-15 14:48:46 +00:00
loadaddr3b.d 2006-09-15 H.J. Lu <hongjiu.lu@intel.com> 2006-09-15 14:48:46 +00:00
loadaddr.s 2006-09-15 H.J. Lu <hongjiu.lu@intel.com> 2006-09-15 14:48:46 +00:00
main.c bfd/ 2006-07-12 15:45:33 +00:00
maxpage1.d include/elf/ 2006-06-01 05:40:24 +00:00
maxpage1.s include/elf/ 2006-06-01 05:40:24 +00:00
maxpage2.d include/elf/ 2006-06-01 05:40:24 +00:00
merge2.d
merge2.s
merge.d Add support for Score target. 2006-09-16 23:51:50 +00:00
merge.ld
merge.s
new.cc bfd/ 2007-01-16 14:56:32 +00:00
noload-1.d ld/ 2006-08-01 17:50:52 +00:00
noload-1.s ld/ 2006-08-01 17:50:52 +00:00
noload-1.t ld/ 2006-08-01 17:50:52 +00:00
normal.out bfd/ 2006-07-12 15:45:33 +00:00
orphan2.d bfd/ 2006-10-17 13:41:49 +00:00
orphan2.s
orphan.d bfd/ 2006-10-17 13:41:49 +00:00
orphan.ld * ld-elf/orphan.ld: Add placement for MIPS .reginfo section. 2006-05-16 13:58:51 +00:00
orphan.s
overlay.d 2006-08-23 H.J. Lu <hongjiu.lu@intel.com> 2006-08-23 14:43:56 +00:00
overlay.s 2006-08-23 H.J. Lu <hongjiu.lu@intel.com> 2006-08-23 14:43:56 +00:00
overlay.t 2006-08-23 H.J. Lu <hongjiu.lu@intel.com> 2006-08-23 14:43:56 +00:00
preinit.c
preinit.out
sec64k.exp New Cell SPU port. 2006-10-25 06:49:21 +00:00
shared.exp bfd/ 2007-01-16 14:56:32 +00:00
stab.d 2006-05-14 H.J. Lu <hongjiu.lu@intel.com> 2006-05-15 00:48:44 +00:00
start.s * ld-elf/sec64k.exp: Add "main" symbol. Use dc.a for addresses. 2006-06-05 12:53:50 +00:00
symbol1ref.s 2006-11-06 Vladimir Prus <vladimir@codesourcery.com> 2006-11-06 12:15:35 +00:00
symbol1w.s
symbol2ref.s * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): 2006-11-06 10:39:17 +00:00
symbol2w.s 2006-11-07 Vladimir Prus <vladimir@codesourcery.com> 2006-11-08 10:21:12 +00:00
table.s
tbss1.s include/elf/ 2006-06-01 05:40:24 +00:00
tbss2.s include/elf/ 2006-06-01 05:40:24 +00:00
tbss.s
tdata1.s include/elf/ 2006-06-01 05:40:24 +00:00
tdata2.s include/elf/ 2006-06-01 05:40:24 +00:00
tls_common.exp * ld-elf/tls_common.exp: Match 32-bit output. 2006-06-21 05:36:17 +00:00
tls_common.s * elflink.c (elf_link_add_object_symbols): Don't create .tcommon 2006-06-20 16:36:18 +00:00
unknown2.d
unknown2.s
unknown.d
warn1.d
warn2.d * ld-elf/warn2.d: Match regex also for the second segment. 2006-11-23 16:50:39 +00:00
wrap1.c bfd/ 2006-12-29 17:56:32 +00:00
wrap1.out bfd/ 2006-12-29 17:56:32 +00:00
wrap1a.c bfd/ 2006-12-29 17:56:32 +00:00
wrap1b.c bfd/ 2006-12-29 17:56:32 +00:00
wrap.exp bfd/ 2006-12-29 17:56:32 +00:00