binutils-gdb/include
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
..
aout Remove a29k support. 2005-08-18 03:51:51 +00:00
coff Define ATTRIBUTE_PACKED and use as necessary. 2006-12-06 14:36:41 +00:00
elf bfd/ 2007-01-08 18:42:37 +00:00
gdb Add changelog entries for copyright updates. 2007-01-10 04:33:06 +00:00
nlm
opcode bfd/ 2007-01-08 18:42:37 +00:00
alloca-conf.h
ansidecl.h merge from gcc 2006-12-06 19:28:41 +00:00
bfdlink.h bfd/ 2007-01-16 14:56:32 +00:00
bin-bugs.h
bout.h
ChangeLog bfd/ 2007-01-16 14:56:32 +00:00
ChangeLog-9103
COPYING
demangle.h merge from gcc 2005-12-11 02:16:09 +00:00
dis-asm.h 2006-10-30 Paul Brook <paul@codesourcery.com> 2006-10-31 20:21:57 +00:00
dyn-string.h
fibheap.h
filenames.h
floatformat.h merge from gcc 2005-10-31 18:01:19 +00:00
fnmatch.h
fopen-bin.h
fopen-same.h
fopen-vms.h
gdbm.h
getopt.h
hashtab.h
hp-symtab.h
ieee.h
libiberty.h include: 2006-11-30 17:36:10 +00:00
MAINTAINERS
md5.h merge from gcc 2006-01-18 21:05:51 +00:00
oasys.h
objalloc.h
obstack.h
os9k.h
partition.h
progress.h
safe-ctype.h
sort.h
splay-tree.h
symcat.h
ternary.h
xregex2.h
xregex.h
xtensa-config.h bfd/ 2006-11-27 20:14:53 +00:00
xtensa-isa-internal.h
xtensa-isa.h * xtensa-isa.h (STATIC_LIBISA): Delete. 2006-11-27 19:23:21 +00:00