* layout.h (class Layout): Add added_eh_frame_data_ field.
authorIan Lance Taylor <ian@airs.com>
Wed, 9 Apr 2008 00:26:48 +0000 (00:26 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 9 Apr 2008 00:26:48 +0000 (00:26 +0000)
commit2c38906f72b07a9e3b8386d9de8a61b33db04d99
tree2a6adbbd5b22a4cc9eeffb02b04d65b4c3e066b1
parentc9825dba58c3e58303a5a09d368275dd220b7c48
* 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.
gold/ChangeLog
gold/layout.cc
gold/layout.h
gold/object.cc