https://sourceware.org/bugzilla/show_bug.cgi?id=14675
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gdb and binutils". The branch, hjl/pr14675 has been created at 4a5d5d94ca76cbf730d7f0379601e75f9469670e (commit) - Log ----------------------------------------------------------------- https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4a5d5d94ca76cbf730d7f0379601e75f9469670e commit 4a5d5d94ca76cbf730d7f0379601e75f9469670e Author: H.J. Lu <hjl.to...@gmail.com> Date: Sat Dec 20 05:45:51 2014 -0800 Treat .eh_frame section before crtbegin as normal input Force the exception frame section from input files before the crtbegin file to be handled as an ordinary input section if we aren't creating the exception frame header. If we don't do this, we won't correctly handle the special marker symbol in the exception frame section in the crtbegin file. PR gold/14675 * ehframe.cc (Eh_frame::add_ehframe_input_section): Force the exception frame section from input files before the crtbegin file to be handled as an ordinary input section if we aren't creating the exception frame header. (Eh_frame::add_ehframe_input_section<32, false>): Updated. (Eh_frame::add_ehframe_input_section<32, true>): Likewise. (Eh_frame::add_ehframe_input_section<64, false>): Likewise. (Eh_frame::add_ehframe_input_section<64, true>): Likewise. * ehframe.h (Eh_frame::add_ehframe_input_section): Add a bool parameter to indicate if the crtbegin file has been processed. * layout.cc (Layout::Layout): Initialize seen_crtbegin_. (Layout::layout_eh_frame): Pass this->seen_crtbegin_ to Eh_frame::add_ehframe_input_section. (Layout::make_eh_frame_section): Set this->seen_crtbegin_ to true when processing the crtbegin file. * layout.h (Layout): Add a seen_crtbegin_ field. ----------------------------------------------------------------------- -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils