diff options
Diffstat (limited to 'gold/output.cc')
-rw-r--r-- | gold/output.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/output.cc b/gold/output.cc index a8f03e7..4b34b8b 100644 --- a/gold/output.cc +++ b/gold/output.cc @@ -1560,6 +1560,8 @@ Output_data_dynamic::Dynamic_entry::write( case DYNAMIC_SECTION_SIZE: val = this->u_.od->data_size(); + if (this->od2 != NULL) + val += this->od2->data_size(); break; case DYNAMIC_SYMBOL: |