diff options
author | Ian Lance Taylor <ian@airs.com> | 2008-04-09 00:26:48 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2008-04-09 00:26:48 +0000 |
commit | 2c38906f72b07a9e3b8386d9de8a61b33db04d99 (patch) | |
tree | 2a6adbbd5b22a4cc9eeffb02b04d65b4c3e066b1 /gold/layout.h | |
parent | c9825dba58c3e58303a5a09d368275dd220b7c48 (diff) | |
download | gdb-2c38906f72b07a9e3b8386d9de8a61b33db04d99.zip gdb-2c38906f72b07a9e3b8386d9de8a61b33db04d99.tar.gz gdb-2c38906f72b07a9e3b8386d9de8a61b33db04d99.tar.bz2 |
* layout.h (class Layout): Add added_eh_frame_data_ field.
* layout.cc (Layout::Layout): Initialize new field.
(Layout::layout_eh_frame): Don't add eh_frame_data_ to .eh_frame
output section until we find a section we merged successfully.
* object.cc (Sized_relobj::check_eh_frame_flags): Don't require
that the size be non-zero.
Diffstat (limited to 'gold/layout.h')
-rw-r--r-- | gold/layout.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/layout.h b/gold/layout.h index fe888c7..edf6438 100644 --- a/gold/layout.h +++ b/gold/layout.h @@ -597,6 +597,8 @@ class Layout Output_section* eh_frame_section_; // The exception frame data for eh_frame_section_. Eh_frame* eh_frame_data_; + // Whether we have added eh_frame_data_ to the .eh_frame section. + bool added_eh_frame_data_; // The exception frame header output section if there is one. Output_section* eh_frame_hdr_section_; // The space for the build ID checksum if there is one. |