Support building gold with gcc 4.2/4.3.

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

	PR gold/11996
	* object.cc (Sized_relobj::do_finalize_local_symbols): Remove
	"This::" to work around a bug in gcc 4.2.

	* testsuite/ifuncmain7.c (foo_ifunc): Add __attribute__ ((used)).
This commit is contained in:
H.J. Lu 2010-09-09 19:57:06 +00:00
parent a2d1e02801
commit 6695e4b3d3
3 changed files with 10 additions and 2 deletions

View file

@ -2074,7 +2074,7 @@ Sized_relobj<size, big_endian>::do_finalize_local_symbols(unsigned int index,
{
Symbol_value<size>* lv = &this->local_values_[i];
This::Compute_final_local_value_status cflv_status =
Compute_final_local_value_status cflv_status =
this->compute_final_local_value_internal(i, lv, lv, relocatable,
out_sections, out_offsets,
symtab);