aboutsummaryrefslogtreecommitdiff
path: root/gold/common.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-11-29 20:10:17 +0000
committerIan Lance Taylor <iant@google.com>2007-11-29 20:10:17 +0000
commit27bc2bce094e3a3ef536c5b8c2a38470bd7f3217 (patch)
treed5e89fcd143c9cd693712fb947f7afdf2426adb6 /gold/common.cc
parent6ac84f65c22563675d0c3153db167db8f99df6f9 (diff)
downloadgdb-27bc2bce094e3a3ef536c5b8c2a38470bd7f3217.zip
gdb-27bc2bce094e3a3ef536c5b8c2a38470bd7f3217.tar.gz
gdb-27bc2bce094e3a3ef536c5b8c2a38470bd7f3217.tar.bz2
Clean up setting address and section offset.
Diffstat (limited to 'gold/common.cc')
-rw-r--r--gold/common.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/common.cc b/gold/common.cc
index 3b616b1..652dfa1 100644
--- a/gold/common.cc
+++ b/gold/common.cc
@@ -231,7 +231,7 @@ Symbol_table::do_allocate_commons(const General_options&,
off += ssym->symsize();
}
- poc->set_space_size(off);
+ poc->set_current_data_size(off);
this->commons_.clear();
}