[PATCH] Document that --enable-static-pie implies PIE

H.J. Lu hjl.tools@gmail.com
Tue Dec 19 21:24:00 GMT 2017


On Tue, Dec 19, 2017 at 12:46 PM, Jonathan Nieder <jrnieder@gmail.com> wrote:
> H.J. Lu wrote:
>> On Tue, Dec 19, 2017 at 11:35 AM, Jonathan Nieder <jrnieder@gmail.com> wrote:
>
>>> When the new text says that dynamic PIE is created by default, what does
>>> that mean?  Does it mean that my executables will automatically act as
>>> though I passed -fPIE by default when I link them or that support for
>>> -fPIE will be included in glibc?  If the latter, is it saying that such
>>> support will be included in the glibc distribution by default but that I
>>> can turn it off?  i.e. what is the option to unset this default, or what
>>> would be the option to turn it on if I don't --enable-static-pie?
>>
>> How about
>>
>> This option also implies that glibc programs and tests are created as
>> dynamic position independent executable (PIE) by default.
>
> With s/executable/executables/, LGTM.

This is the patch I am checking in.

>>> Unrelated: while I'm reading this text
>>>
>>>>  Static PIE is similar to static executable,
>>>
>>> This is missing an article.
> [...]
>> Can you submit a separate patch?
>
> Sure thing.  Will try to find time to send one tonight.
>

Thanks.


-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Document-that-enable-static-pie-implies-PIE.patch
Type: text/x-patch
Size: 2119 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20171219/ae4286f0/attachment.bin>


More information about the Libc-alpha mailing list