summaryrefslogtreecommitdiff
path: root/include/linux/elfcore-compat.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-06-14 16:52:06 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2020-07-27 21:29:22 +0300
commit16aead81018ca404efe9bd928786824e7168151f (patch)
treefac0eb07b60db4dc0f29d4d11b9290cb189bbb84 /include/linux/elfcore-compat.h
parent1e6b57d6421f0343dd11619612e5ff8930cddf38 (diff)
downloadlinux-16aead81018ca404efe9bd928786824e7168151f.tar.xz
take fdpic-related parts of elf_prstatus out
The only architecture where we might end up using both is arm, and there we definitely don't want fdpic-related fields in elf_prstatus - coredump layout of ELF binaries should not depend upon having the kernel built with the support of ELF_FDPIC ones. Just move the fdpic-modified variant into binfmt_elf_fdpic.c (and call it elf_prstatus_fdpic there) [name stolen from nico] Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/elfcore-compat.h')
-rw-r--r--include/linux/elfcore-compat.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/elfcore-compat.h b/include/linux/elfcore-compat.h
index 7a37f4ce9fd2..10485f0c9740 100644
--- a/include/linux/elfcore-compat.h
+++ b/include/linux/elfcore-compat.h
@@ -32,10 +32,6 @@ struct compat_elf_prstatus
struct old_timeval32 pr_cutime;
struct old_timeval32 pr_cstime;
compat_elf_gregset_t pr_reg;
-#ifdef CONFIG_BINFMT_ELF_FDPIC
- compat_ulong_t pr_exec_fdpic_loadmap;
- compat_ulong_t pr_interp_fdpic_loadmap;
-#endif
compat_int_t pr_fpvalid;
};