diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2017-07-22 07:02:40 +0200 |
---|---|---|
committer | Nicolas Pitre <nicolas.pitre@linaro.org> | 2017-09-11 01:31:46 +0200 |
commit | 50b2b2e691cd4ff30331ba9a6156b29a07b60f90 (patch) | |
tree | a4dbd954ee25911621eb4db7a04bc02dda26d0a1 /arch/arm/include/asm/mmu.h | |
parent | ARM: signal handling support for FDPIC_FUNCPTRS functions (diff) | |
download | linux-50b2b2e691cd4ff30331ba9a6156b29a07b60f90.tar.xz linux-50b2b2e691cd4ff30331ba9a6156b29a07b60f90.zip |
ARM: add ELF_FDPIC support
This includes the necessary code to recognise the FDPIC format on ARM
and the ptrace command definitions used by the common ptrace code.
Based on patches originally from Mickael Guene <mickael.guene@st.com>.
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Mickael GUENE <mickael.guene@st.com>
Tested-by: Vincent Abriou <vincent.abriou@st.com>
Tested-by: Andras Szemzo <szemzo.andras@gmail.com>
Diffstat (limited to 'arch/arm/include/asm/mmu.h')
-rw-r--r-- | arch/arm/include/asm/mmu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mmu.h b/arch/arm/include/asm/mmu.h index a5b47421059d..e0eb16680a5b 100644 --- a/arch/arm/include/asm/mmu.h +++ b/arch/arm/include/asm/mmu.h @@ -33,6 +33,10 @@ typedef struct { */ typedef struct { unsigned long end_brk; +#ifdef CONFIG_BINFMT_ELF_FDPIC + unsigned long exec_fdpic_loadmap; + unsigned long interp_fdpic_loadmap; +#endif } mm_context_t; #endif |