Why is _dl_relocate_static_pie linked into crt1.o?

Carlos O'Donell carlos@redhat.com
Thu Jul 5 14:01:00 GMT 2018


On 07/05/2018 09:57 AM, Florian Weimer wrote:
> On 07/05/2018 03:55 PM, Carlos O'Donell wrote:
>> Florian's question was "Why is?" and we've answered that.
>> 
>> Do we need to do anything else?
> 
> I need to fix this because _dl_relocate_static_pie is not built with
> stack protector and thus violates our compiler flag policy.

Is it possible to build elf/dl-reloc-static-pie.c with stack protector?
 
> It does not matter that the function is empty.  Each function we need
> to whitelist in some way is additional overhead.

Sure, I agree with this sentiment.

-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list