PING^N: [PATCH] Add --enable-static-pie to build static PIE [BZ #19574]
H.J. Lu
hjl.tools@gmail.com
Fri Nov 3 17:57:00 GMT 2017
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?
Thanks.
--
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: 41742 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20171103/6d4ea541/attachment.bin>
More information about the Libc-alpha
mailing list