summaryrefslogtreecommitdiff
path: root/platform/sysroot/usr/include/linux/elf-fdpic.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/sysroot/usr/include/linux/elf-fdpic.h')
-rw-r--r--platform/sysroot/usr/include/linux/elf-fdpic.h35
1 files changed, 17 insertions, 18 deletions
diff --git a/platform/sysroot/usr/include/linux/elf-fdpic.h b/platform/sysroot/usr/include/linux/elf-fdpic.h
index 4e81292b0..8f8274f3f 100644
--- a/platform/sysroot/usr/include/linux/elf-fdpic.h
+++ b/platform/sysroot/usr/include/linux/elf-fdpic.h
@@ -1,21 +1,9 @@
-/****************************************************************************
- ****************************************************************************
- ***
- *** This header was automatically generated from a Linux kernel header
- *** of the same name, to make information necessary for userspace to
- *** call into the kernel available to libc. It contains only constants,
- *** structures, and macros generated from the original header, and thus,
- *** contains no copyrightable information.
- ***
- *** To edit the content of this header, modify the corresponding
- *** source file (e.g. under external/kernel-headers/original/) then
- *** run bionic/libc/kernel/tools/update_all.py
- ***
- *** Any manual change here will be lost the next time this script will
- *** be run. You've been warned!
- ***
- ****************************************************************************
- ****************************************************************************/
+/*
+ * This file is auto-generated. Modifications will be lost.
+ *
+ * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
+ * for more information.
+ */
#ifndef _UAPI_LINUX_ELF_FDPIC_H
#define _UAPI_LINUX_ELF_FDPIC_H
#include <linux/elf.h>
@@ -31,4 +19,15 @@ struct elf32_fdpic_loadmap {
struct elf32_fdpic_loadseg segs[];
};
#define ELF32_FDPIC_LOADMAP_VERSION 0x0000
+struct elf64_fdpic_loadseg {
+ Elf64_Addr addr;
+ Elf64_Addr p_vaddr;
+ Elf64_Word p_memsz;
+};
+struct elf64_fdpic_loadmap {
+ Elf64_Half version;
+ Elf64_Half nsegs;
+ struct elf64_fdpic_loadseg segs[];
+};
+#define ELF64_FDPIC_LOADMAP_VERSION 0x0000
#endif