[PATCH] D28272: ELF: Reserve space for copy relocations of read-only symbols in relro.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 6 11:18:39 PST 2017


Peter Collingbourne <peter at pcc.me.uk> writes:
>>
>> Why was it necessary to move TLS? Was there any problem with keeping it
>> at the start of the RW PT_LOAD?
>>
>
> All TLS sections are RELRO (see
> http://llvm-cs.pcc.me.uk/tools/lld/ELF/Writer.cpp#487) so they need to be
> kept contiguous with the other RELRO sections.

Yes, sorry, just remembered that.

LGTM.

Cheers,
Rafael


More information about the llvm-commits mailing list