aboutsummaryrefslogtreecommitdiff
path: root/gold/x86_64.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-02-29 19:19:17 +0000
committerIan Lance Taylor <iant@google.com>2008-02-29 19:19:17 +0000
commit7d1a9ebbf2b6018657e88172df4356ad4733b9c6 (patch)
tree684a7533508954f514333d59e7aac505a7764b9f /gold/x86_64.cc
parentc24d74257b6b46bc55be02dd1760658f842a3872 (diff)
downloadgdb-7d1a9ebbf2b6018657e88172df4356ad4733b9c6.zip
gdb-7d1a9ebbf2b6018657e88172df4356ad4733b9c6.tar.gz
gdb-7d1a9ebbf2b6018657e88172df4356ad4733b9c6.tar.bz2
Remove gcc 3.2 compatibility hacks.
Diffstat (limited to 'gold/x86_64.cc')
-rw-r--r--gold/x86_64.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/gold/x86_64.cc b/gold/x86_64.cc
index 257be65..584303d 100644
--- a/gold/x86_64.cc
+++ b/gold/x86_64.cc
@@ -683,9 +683,7 @@ Target_x86_64::copy_reloc(const General_options* options,
Symbol* gsym,
const elfcpp::Rela<64, false>& rela)
{
- Sized_symbol<64>* ssym;
- ssym = symtab->get_sized_symbol SELECT_SIZE_NAME(64) (gsym
- SELECT_SIZE(64));
+ Sized_symbol<64>* ssym = symtab->get_sized_symbol<64>(gsym);
if (!Copy_relocs<64, false>::need_copy_reloc(options, object,
data_shndx, ssym))