summaryrefslogtreecommitdiff
path: root/arch/nds32/include/uapi/asm/auxvec.h
diff options
context:
space:
mode:
authorGreentime Hu <greentime@andestech.com>2017-10-25 05:31:28 +0300
committerGreentime Hu <greentime@andestech.com>2018-02-22 05:44:33 +0300
commit3172c605eb3b611f118ff08e60b50e08bfdcc2a6 (patch)
tree74e312fde9f74382524e987a9bcb9eb0fab18fe1 /arch/nds32/include/uapi/asm/auxvec.h
parent80081b33910f417310921430dbfb5c8bf20e86aa (diff)
downloadlinux-3172c605eb3b611f118ff08e60b50e08bfdcc2a6.tar.xz
nds32: ELF definitions
This patch adds definitions for the ELF format, relocation types, vdso locations and EXEC_PAGESIZE. Signed-off-by: Vincent Chen <vincentc@andestech.com> Signed-off-by: Greentime Hu <greentime@andestech.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/nds32/include/uapi/asm/auxvec.h')
-rw-r--r--arch/nds32/include/uapi/asm/auxvec.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/nds32/include/uapi/asm/auxvec.h b/arch/nds32/include/uapi/asm/auxvec.h
new file mode 100644
index 000000000000..56043ce4972f
--- /dev/null
+++ b/arch/nds32/include/uapi/asm/auxvec.h
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0
+// Copyright (C) 2005-2017 Andes Technology Corporation
+
+#ifndef __ASM_AUXVEC_H
+#define __ASM_AUXVEC_H
+
+/* VDSO location */
+#define AT_SYSINFO_EHDR 33
+
+#define AT_VECTOR_SIZE_ARCH 1
+
+#endif