This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why is _dl_relocate_static_pie linked into crt1.o?


On 07/05/2018 04:01 PM, Carlos O'Donell wrote:
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?

Note that this is about the stub function in csu/, the function in elf/ is only used for static PIE and cannot be compiled with stack protector. Based on what I can see, moving it or removing it looks equally difficult.

(Build flag policy for static linking is still quite far away at this point and not an immediate concern of mine.)

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]