On 1/8/19 9:25 PM, Will Deacon wrote:
>> An mmap/mprotect flag?
> 
> I'm not aware of any precedent for arch-specific mmap/mprotect flags, but it
> looks like PowerPC adds its own PROT bit for "Strong Access Ordering" so
> something similar might be do-able for GP on arm64.
> 
> However, if we anticipate that pages are either GP or !GP for the lifetime
> of the mapping, I think your suggestions below relating to encoding this in
> the ELF make more sense.

Even if the main usage is via ELF, you need the flag for ld.so to use when
mmap'ing the file.


r~
_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to