bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/12880] gold doesn't generate PT_INTERP for .interp section


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gold/12880] gold doesn't generate PT_INTERP for .interp section
Date: Fri, 17 Jun 2011 13:00:41 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12880

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> 2011-06-17 13:00:08 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    address@hidden    2011-06-17 13:00:02

Modified files:
    gold           : ChangeLog layout.h layout.cc script-sections.cc 

Log message:
    PR gold/12880
    * layout.h (class Layout): Add interp_segment_ field.
    * layout.cc (Layout::Layout): Initialize interp_segment_ field.
    (Layout::attach_allocated_section_to_segment): If making shared
    library, put .interp section in PT_INTERP segment.
    (Layout::finalize): Also call create_interp if -dynamic-linker
    option was used.
    (Layout::create_interp): Assert that there is no PT_INTERP
    segment.  If not using a SECTIONS clause, use make_output_section.
    (Layout::make_output_segment): Set interp_segment_ if PT_INTERP.
    * script-sections.cc
    (Script_sections::create_note_and_tls_segments): If making shared
    library, put .interp section in PT_INTERP segment.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/ChangeLog.diff?cvsroot=src&r1=1.757&r2=1.758
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/layout.h.diff?cvsroot=src&r1=1.91&r2=1.92
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/layout.cc.diff?cvsroot=src&r1=1.199&r2=1.200
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/script-sections.cc.diff?cvsroot=src&r1=1.50&r2=1.51

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]