binutils-gdb/include
H.J. Lu fd91d41947 Check if a symbol is hidden by linker script.
bfd/

2011-09-15  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/12975
	* bfd-in.h (bfd_elf_size_dynamic_sections): Remove pointer
	to struct bfd_elf_version_tree.

	* elflink.c (elf_info_failed): Remove verdefs.
	(_bfd_elf_export_symbol): Updated.
	_bfd_elf_link_assign_sym_version): Likewise.
	(bfd_elf_size_dynamic_sections): Remove pointer to struct
	bfd_elf_version_tree.  Updated.
	(bfd_elf_gc_mark_dynamic_ref_symbol): Check if a symbol is hidden
	by linker script.

	* linker.c (bfd_hide_sym_by_version): New.

	* bfd-in2.h: Regenerated.

include/

2011-09-15  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/12975
	* bfdlink.h (bfd_link_info): Add version_info.

ld/

2011-09-15  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/12975
	* ldlang.c (lang_elf_version_info): Removed.
	(lang_register_vers_node): Replace lang_elf_version_info with
	link_info.version_info.
	(lang_add_vers_depend): Likewise.
	* pe-dll.c (process_def_file_and_drectve): Likewise.
	* emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise.

	* ldlang.h (lang_elf_version_info): Removed.

	* plugin.c  (is_visible_from_outside): Check if symbol is hidden
	by version script.

	* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
	Remove lang_elf_version_info.

ld/testsuite/

2011-09-15  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/12975
	* ld-elf/pr12975.d: New.
	* ld-elf/pr12975.s: Likewise.
	* ld-elf/pr12975.t: Likewise.
2011-09-16 01:15:20 +00:00
..
aout
cgen
coff Fix spelling mistakes. 2011-06-02 13:43:24 +00:00
elf Add R_X86_64_RELATIVE64. 2011-08-12 20:33:34 +00:00
gdb gdb: sim: add style fixes lost between git->cvs 2011-04-15 16:23:19 +00:00
mach-o bfd/ 2011-08-08 10:21:02 +00:00
nlm
opcode gas/ 2011-08-09 15:20:03 +00:00
som
vms
alloca-conf.h
ansidecl.h gdb/ 2011-04-25 18:28:53 +00:00
bfdlink.h Check if a symbol is hidden by linker script. 2011-09-16 01:15:20 +00:00
binary-io.h
bout.h
ChangeLog Check if a symbol is hidden by linker script. 2011-09-16 01:15:20 +00:00
ChangeLog-9103
COPYING
COPYING3
demangle.h merge from gcc 2011-06-13 23:01:48 +00:00
dis-asm.h * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. 2011-06-13 15:18:54 +00:00
dwarf2.h * dwarf2.h (DW_AT_GNU_macros): New. 2011-07-22 20:37:50 +00:00
dyn-string.h
fibheap.h
filenames.h [libiberty/filename_cmp] Darwin has case-insensitive filesystems 2011-07-01 18:24:39 +00:00
floatformat.h
fnmatch.h
fopen-bin.h
fopen-same.h
fopen-vms.h
gdbm.h
getopt.h
hashtab.h
hp-symtab.h
ieee.h
libiberty.h merge from gcc 2011-07-22 14:37:58 +00:00
lto-symtab.h
MAINTAINERS
md5.h
oasys.h
objalloc.h
obstack.h
os9k.h
partition.h
plugin-api.h 2011-07-13 Sriraman Tallam <tmsriram@google.com> 2011-07-14 00:55:18 +00:00
progress.h
safe-ctype.h
sha1.h
simple-object.h
sort.h
splay-tree.h
symcat.h
xregex2.h
xregex.h merge from gcc 2011-07-25 17:11:48 +00:00
xtensa-config.h
xtensa-isa-internal.h
xtensa-isa.h