summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@st.com>2018-04-30 10:03:42 +0200
committerLaurent Vivier <laurent@vivier.eu>2018-05-03 18:25:29 +0200
commitcf58affecc67e1b22bdbd3dc90e19ad2d4b1ce3d (patch)
tree1488cc7fdd82725dda410598bd1c2ea923ef57d8 /include
parenta99856cd7f30b8c64cfaf97791dc5d462dabad6e (diff)
downloadqemu-cf58affecc67e1b22bdbd3dc90e19ad2d4b1ce3d.tar.gz
linux-user: ARM-FDPIC: Identify ARM FDPIC binaries
Define an ARM-specific version of elf_is_fdpic: FDPIC ELF objects are identified with e_ident[EI_OSABI] == ELFOSABI_ARM_FDPIC. Co-Authored-By: Mickaël Guêné <mickael.guene@st.com> Signed-off-by: Christophe Lyon <christophe.lyon@st.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20180430080404.7323-3-christophe.lyon@st.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include')
-rw-r--r--include/elf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/elf.h b/include/elf.h
index c0dc9bb5fd..934dbbd6b3 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -1483,6 +1483,7 @@ typedef struct elf64_shdr {
#define ELFOSABI_TRU64 10 /* Compaq TRU64 UNIX. */
#define ELFOSABI_MODESTO 11 /* Novell Modesto. */
#define ELFOSABI_OPENBSD 12 /* OpenBSD. */
+#define ELFOSABI_ARM_FDPIC 65 /* ARM FDPIC */
#define ELFOSABI_ARM 97 /* ARM */
#define ELFOSABI_STANDALONE 255 /* Standalone (embedded) application */