aboutsummaryrefslogtreecommitdiff
path: root/gold/object.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-02-28 20:35:39 +0000
committerIan Lance Taylor <iant@google.com>2008-02-28 20:35:39 +0000
commit0dfbdef4c43cfe12bb3e2505ebe5acc651a35c98 (patch)
treefe965d8393ecdd9c81b7f29ff4ce89fdd79d92c6 /gold/object.cc
parentda769d5629564b82d4eec1b256ffc562d5c01624 (diff)
downloadgdb-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.cc2
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
{