aboutsummaryrefslogtreecommitdiff
path: root/gold/object.cc
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-09-09 19:57:06 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-09-09 19:57:06 +0000
commit6695e4b3d3e7a3621b006a7571dfdfae8351b970 (patch)
tree24e25255ceebab9eb558303ee0380691a1a3d7c7 /gold/object.cc
parenta2d1e0280113424781f2e50bd2c97cc2ef3d237e (diff)
downloadgdb-6695e4b3d3e7a3621b006a7571dfdfae8351b970.zip
gdb-6695e4b3d3e7a3621b006a7571dfdfae8351b970.tar.gz
gdb-6695e4b3d3e7a3621b006a7571dfdfae8351b970.tar.bz2
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)).
Diffstat (limited to 'gold/object.cc')
-rw-r--r--gold/object.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/object.cc b/gold/object.cc
index 7bd35f3..bde89f6 100644
--- a/gold/object.cc
+++ b/gold/object.cc
@@ -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);