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)).
+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)).
+
2010-09-09 Rafael Espindola <espindola@google.com>
* layout.cc (Layout::attach_allocated_section_to_segment): Don't put
{
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);
return -30;
}
-static void * foo_ifunc (void) __asm__ ("foo");
+static void * __attribute__ ((used)) foo_ifunc (void) __asm__ ("foo");
__asm__(".type foo, %gnu_indirect_function");
static void *