diff options
Diffstat (limited to 'gold/x86_64.cc')
-rw-r--r-- | gold/x86_64.cc | 4 |
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)) |