binutils-gdb/ld/emultempl
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
..
aix.em 2011-04-20 Tristan Gingold <gingold@adacore.com> 2011-04-20 13:43:24 +00:00
alphaelf.em
armcoff.em
armelf.em * bfd/bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype. 2011-08-09 13:10:44 +00:00
astring.sed
avrelf.em
beos.em
bfin.em
cr16elf.em
crxelf.em
elf32.em Check if a symbol is hidden by linker script. 2011-09-16 01:15:20 +00:00
elf-generic.em
genelf.em
generic.em 2011-05-04 Tristan Gingold <gingold@adacore.com> 2011-05-04 08:31:04 +00:00
gld960.em
gld960c.em
hppaelf.em
ia64elf.em
irix.em
linux.em
lnk960.em
m68hc1xelf.em
m68kcoff.em
m68kelf.em
mipsecoff.em
mipself.em PR ld/12845 2011-06-09 10:36:20 +00:00
mmix-elfnmmo.em
mmixelf.em
mmo.em
needrelax.em
netbsd.em
ostring.sed
pe.em * ldlang.c (sort_def_symbol, lang_one_common): Don't handle 2011-06-13 00:59:43 +00:00
pep.em * ldlang.c (sort_def_symbol, lang_one_common): Don't handle 2011-06-13 00:59:43 +00:00
ppc32elf.em bfd/ 2011-07-26 01:57:18 +00:00
ppc64elf.em bfd/ 2011-07-26 01:57:18 +00:00
README
rxelf.em PR ld/12759 2011-05-17 16:02:31 +00:00
scoreelf.em
sh64elf.em
solaris2.em Check if a symbol is hidden by linker script. 2011-09-16 01:15:20 +00:00
spu_icache.o_c
spu_icache.S
spu_ovl.o_c
spu_ovl.S
spuelf.em
sunos.em
tic6xdsbt.em ld/ 2011-05-13 18:15:33 +00:00
ticoff.em
vanilla.em
vms.em 2011-05-04 Tristan Gingold <gingold@adacore.com> 2011-05-04 08:31:04 +00:00
vxworks.em
xtensaelf.em
z80.em

The files in this directory are sourced by genscripts.sh, after
setting some variables to substitute in, to produce
C source files that contain jump tables for each emulation.