PR gold/12629
authorIan Lance Taylor <ian@airs.com>
Thu, 30 Jun 2011 00:50:13 +0000 (00:50 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 30 Jun 2011 00:50:13 +0000 (00:50 +0000)
commit14788a3f86c56a4da38d8655b61e599a6dce7c12
tree4e9de7fbfc578ff236481be4fceca8c387d02bba
parentb9c00dd73c6e56ec55a1b563b0f7a6d94da5f58f
PR gold/12629
* object.cc (Sized_relobj_file::layout_section): Change shdr
parameter to be const.
(Sized_relobj_file::layout_eh_frame_section): New function, broken
out of do_layout.
(Sized_relobj_file::do_layout): Defer .eh_frame sections if
appropriate.  Call layout_eh_frame_section.
(Sized_relobj_file::do_layout_deferred_sections): Handle .eh_frame
sections.
* object.h (class Sized_relobj_file): Update declarations.
gold/ChangeLog
gold/object.cc
gold/object.h