1 /* 2 * This header was generated from the Linux kernel headers by update_headers.py, 3 * to provide necessary information from kernel to userspace, such as constants, 4 * structures, and macros, and thus, contains no copyrightable information. 5 */ 6 #ifndef _UAPI_LINUX_ELF_FDPIC_H 7 #define _UAPI_LINUX_ELF_FDPIC_H 8 #include <linux/elf.h> 9 #define PT_GNU_STACK (PT_LOOS + 0x474e551) 10 struct elf32_fdpic_loadseg { 11 Elf32_Addr addr; 12 Elf32_Addr p_vaddr; 13 Elf32_Word p_memsz; 14 }; 15 struct elf32_fdpic_loadmap { 16 Elf32_Half version; 17 Elf32_Half nsegs; 18 struct elf32_fdpic_loadseg segs[]; 19 }; 20 #define ELF32_FDPIC_LOADMAP_VERSION 0x0000 21 #endif 22