diff options
Diffstat (limited to 'gold/object.cc')
-rw-r--r-- | gold/object.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/object.cc b/gold/object.cc index 88b6028..c3c9c7bcf 100644 --- a/gold/object.cc +++ b/gold/object.cc @@ -1554,7 +1554,7 @@ Sized_relobj<size, big_endian>::do_finalize_local_symbols(unsigned int index, if (!is_ordinary) { - if (shndx == elfcpp::SHN_ABS || shndx == elfcpp::SHN_COMMON) + if (shndx == elfcpp::SHN_ABS || Symbol::is_common_shndx(shndx)) lv.set_output_value(lv.input_value()); else { |