diff options
author | Ian Lance Taylor <iant@google.com> | 2008-02-28 20:35:39 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-02-28 20:35:39 +0000 |
commit | 0dfbdef4c43cfe12bb3e2505ebe5acc651a35c98 (patch) | |
tree | fe965d8393ecdd9c81b7f29ff4ce89fdd79d92c6 /gold/object.cc | |
parent | da769d5629564b82d4eec1b256ffc562d5c01624 (diff) | |
download | gdb-0dfbdef4c43cfe12bb3e2505ebe5acc651a35c98.zip gdb-0dfbdef4c43cfe12bb3e2505ebe5acc651a35c98.tar.gz gdb-0dfbdef4c43cfe12bb3e2505ebe5acc651a35c98.tar.bz2 |
Support -d/--define-common.
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 e444ec1..98bcb62 100644 --- a/gold/object.cc +++ b/gold/object.cc @@ -951,7 +951,7 @@ Sized_relobj<size, big_endian>::do_finalize_local_symbols(unsigned int index, if (shndx >= elfcpp::SHN_LORESERVE) { - if (shndx == elfcpp::SHN_ABS) + if (shndx == elfcpp::SHN_ABS || shndx == elfcpp::SHN_COMMON) lv.set_output_value(lv.input_value()); else { |