1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef _ASM_X86_ELF_H 20 #define _ASM_X86_ELF_H 21 #include <asm/ptrace.h> 22 #include <asm/user.h> 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 #include <asm/auxvec.h> 25 typedef unsigned long elf_greg_t; 26 #define ELF_NGREG (sizeof (struct user_regs_struct) / sizeof(elf_greg_t)) 27 typedef elf_greg_t elf_gregset_t[ELF_NGREG]; 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 typedef struct user_i387_struct elf_fpregset_t; 30 typedef struct user_fxsr_struct elf_fpxregset_t; 31 #define R_386_NONE 0 32 #define R_386_32 1 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 #define R_386_PC32 2 35 #define R_386_GOT32 3 36 #define R_386_PLT32 4 37 #define R_386_COPY 5 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 #define R_386_GLOB_DAT 6 40 #define R_386_JMP_SLOT 7 41 #define R_386_RELATIVE 8 42 #define R_386_GOTOFF 9 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 #define R_386_GOTPC 10 45 #define R_386_NUM 11 46 #define ELF_CLASS ELFCLASS32 47 #define ELF_DATA ELFDATA2LSB 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 #define ELF_ARCH EM_386 50 #endif 51