old-cross-binutils/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 Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
cgen * basic-modes.h (MAKEDI): New macro. 2010-01-06 05:25:24 +00:00
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 Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
opcode gas/ 2011-08-09 15:20:03 +00:00
som include/som: 2010-06-10 08:31:20 +00:00
vms 2010-05-27 Tristan Gingold <gingold@adacore.com> 2010-05-27 10:37:23 +00:00
alloca-conf.h * alloca-conf.h: Clarify comment. 2009-11-18 11:57:44 +00:00
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 * binary-io.h: New file, imported from gnulib, but don't 2008-08-25 04:36:03 +00:00
bout.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
ChangeLog Check if a symbol is hidden by linker script. 2011-09-16 01:15:20 +00:00
ChangeLog-9103 Sync include/ChangeLog-9103 from GCC to fix invalid UTF-8. 2009-08-16 12:06:21 +00:00
COPYING Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
COPYING3 * COPYING3: New file. Contains version 3 of the GNU General Public License. 2007-07-17 13:50:23 +00:00
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 merge from gcc 2009-06-01 19:40:44 +00:00
fibheap.h merge from gcc 2009-06-01 19:40:44 +00:00
filenames.h [libiberty/filename_cmp] Darwin has case-insensitive filesystems 2011-07-01 18:24:39 +00:00
floatformat.h merge from gcc 2011-01-03 21:05:58 +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
fopen-same.h
fopen-vms.h 2009-05-25 Tristan Gingold <gingold@adacore.com> 2009-05-25 13:04:40 +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 2010-06-10 18:30:24 +00:00
hp-symtab.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +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 2011-07-22 14:37:58 +00:00
lto-symtab.h merge from gcc 2009-10-07 02:57:27 +00:00
MAINTAINERS
md5.h Bring patch correction over from gcc repository. 2008-03-25 00:21:18 +00:00
oasys.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
objalloc.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
obstack.h * obstack.h (obstack_finish <!__GNUC__>): Cast result to void *. 2008-10-20 23:03:31 +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
plugin-api.h 2011-07-13 Sriraman Tallam <tmsriram@google.com> 2011-07-14 00:55:18 +00:00
progress.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
safe-ctype.h * safe-ctype.h: Add #include of ctype.h before redefining 2008-07-07 17:09:31 +00:00
sha1.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
simple-object.h merge from gcc 2010-11-17 02:03:43 +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 merge from gcc 2010-06-10 18:30:24 +00:00
symcat.h * symcat.h (CONCAT5, CONCAT6, XCONCAT5, XCONCAT6): Define. 2010-03-23 15:58:51 +00:00
xregex.h merge from gcc 2011-07-25 17:11:48 +00:00
xregex2.h merge from gcc 2005-07-12 10:35:00 +00:00
xtensa-config.h merge from gcc 2011-01-03 21:05:58 +00:00
xtensa-isa-internal.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
xtensa-isa.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00