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: ian at airs dot com
Subject: [Bug gold/12880] gold doesn't generate PT_INTERP for .interp section
Date: Fri, 17 Jun 2011 13:04:38 +0000

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

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Ian Lance Taylor <ian at airs dot com> 2011-06-17 13:04:37 
UTC ---
I fixed gold so that when creating a shared library.  1) If the
--dynamic-linker option is used, gold will put the argument into a .interp
section and put that section into a PT_INTERP segment.  2) Otherwise, if there
is a .interp section, gold will put that section into a PT_INTERP segment.

This is not precisely how GNU ld behaves, as GNU ld behaves oddly when you both
use a --dynamic-linker option and you have a .interp section.  It appears to
keep the contents of the .interp section but to set the length to that of the
--dynamic-linker option.

-- 
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]