PING^N: [PATCH] Add --enable-static-pie to build static PIE [BZ #19574]

H.J. Lu hjl.tools@gmail.com
Sun Nov 19 02:40:00 GMT 2017


On Fri, Nov 3, 2017 at 10:57 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Wed, Nov 1, 2017 at 9:06 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
>> On Wed, Nov 1, 2017 at 9:03 AM, Joseph Myers <joseph@codesourcery.com> wrote:
>>> On Wed, 1 Nov 2017, H.J. Lu wrote:
>>>
>>>> _dl_relocate_static_pie.  gPcrt1.o is also added to create static PIE
>>>> with -pg.
>>>
>>> Does that require extra GCC support, or do the specs already in GCC handle
>>> using gPcrt1.o?
>>
>> Yes,  this GCC driver patch:
>>
>> https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00954.html
>>
>> is needed.
>
> Here is the updated patch to rename Pcrt1.o/gPcrt1.o to rcrt1.o/grcrt1.o.
> Any comments or objections?
>

The GCC driver patch has been checked into GCC 8.   Here is the updated
patch for glibc.

Tested with build-many-glibcs.py.    Any objections?


-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-enable-static-pie-configure-option-to-build-stat.patch
Type: text/x-patch
Size: 41739 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20171119/aab66e37/attachment.bin>


More information about the Libc-alpha mailing list