diff options
author | Ian Lance Taylor <iant@google.com> | 2008-03-13 20:58:11 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-03-13 20:58:11 +0000 |
commit | 1d6531cfad3c386b17a44432c8d915f0147cb716 (patch) | |
tree | aa06d3c971f940021205489831c611ed26d4db71 /gold/ehframe.h | |
parent | 018f1beaa07e1ea906fde814c0f3b45b2a6f21f4 (diff) | |
download | gdb-1d6531cfad3c386b17a44432c8d915f0147cb716.zip gdb-1d6531cfad3c386b17a44432c8d915f0147cb716.tar.gz gdb-1d6531cfad3c386b17a44432c8d915f0147cb716.tar.bz2 |
Don't crash if we change the address of the .eh_frame section after we
find its size.
Diffstat (limited to 'gold/ehframe.h')
-rw-r--r-- | gold/ehframe.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/ehframe.h b/gold/ehframe.h index cf3b738..8ff456b 100644 --- a/gold/ehframe.h +++ b/gold/ehframe.h @@ -427,6 +427,11 @@ class Eh_frame : public Output_section_data Unmergeable_cie_offsets unmergeable_cie_offsets_; // A mapping from input sections to the output section. Merge_map merge_map_; + // Whether we have created the mappings to the output section. + bool mappings_are_done_; + // The final data size. This is only set if mappings_are_done_ is + // true. + section_size_type final_data_size_; }; } // End namespace gold. |