diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2017-07-22 01:02:40 -0400 |
---|---|---|
committer | Nicolas Pitre <nicolas.pitre@linaro.org> | 2017-09-10 19:31:46 -0400 |
commit | 50b2b2e691cd4ff30331ba9a6156b29a07b60f90 (patch) | |
tree | a4dbd954ee25911621eb4db7a04bc02dda26d0a1 /arch/arm/include/uapi | |
parent | 5c16595353e0743af99294db48549c3145e3a5ad (diff) | |
download | linux-stable-50b2b2e691cd4ff30331ba9a6156b29a07b60f90.tar.gz linux-stable-50b2b2e691cd4ff30331ba9a6156b29a07b60f90.tar.bz2 linux-stable-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/uapi')
-rw-r--r-- | arch/arm/include/uapi/asm/ptrace.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/uapi/asm/ptrace.h b/arch/arm/include/uapi/asm/ptrace.h index 5af0ed1b825a..3173eb9751fd 100644 --- a/arch/arm/include/uapi/asm/ptrace.h +++ b/arch/arm/include/uapi/asm/ptrace.h @@ -31,6 +31,10 @@ #define PTRACE_SETVFPREGS 28 #define PTRACE_GETHBPREGS 29 #define PTRACE_SETHBPREGS 30 +#define PTRACE_GETFDPIC 31 + +#define PTRACE_GETFDPIC_EXEC 0 +#define PTRACE_GETFDPIC_INTERP 1 /* * PSR bits |