Re: [PATCH] elf: Support multiple PT_GNU_RELRO segments

Florian Weimer <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha
Message-ID <[email protected]>
* Adhemerval Zanella Netto:

> One possibility is to create the tests (ET_EXEC/ET_DYN) with some extra dummy
> DT_NEEDED tags by linking with -Wl,--as-needed and some libraries, and then 
> post-processing it and replace it with PT_GNU_RELRO tags.

I don't see how this would work.  We can try to create extra PT_NOTE
segments (perhaps by varying alignment?), and turn those into
PT_GNU_RELRO via post-processing.

Thanks,
Florian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.