bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/14675] No eh_frame info registered in exception_static_test


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gold/14675] No eh_frame info registered in exception_static_test
Date: Sat, 20 Dec 2014 13:53:56 +0000

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 <address@hidden>
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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]