diff options
author | Christophe Lyon <christophe.lyon@st.com> | 2018-07-04 17:55:15 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbrodkorb@conet.de> | 2018-08-10 16:01:21 +0200 |
commit | 57436cad9cc452eeeeafe007705daa9752835b14 (patch) | |
tree | 2a0f9ea119453a6c64f5f085d96dfdb41cd6de82 /libc/sysdeps/linux/sh/bits/mathdef.h | |
parent | 685a704f0265ef4e35300310c8f3d03f9fea3fbe (diff) |
rtld: Do not protect RELRO segments when we don't use an MMU.
Without MMU, we cannot mark memory regions as read-only.
* ldso/ldso/dl-elf.c (_dl_protect_relro): Do nothing if
__ARCH_USE_MMU__ is defined.
Signed-off-by: Christophe Lyon <christophe.lyon@st.com>
Diffstat (limited to 'libc/sysdeps/linux/sh/bits/mathdef.h')
0 files changed, 0 insertions, 0 deletions