git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
powerpc: Update for VSX core file and ptrace
[pandora-kernel.git]
/
include
/
linux
/
elf.h
diff --git
a/include/linux/elf.h
b/include/linux/elf.h
index
576e83b
..
edc3dac
100644
(file)
--- a/
include/linux/elf.h
+++ b/
include/linux/elf.h
@@
-3,7
+3,9
@@
#include <linux/types.h>
#include <linux/elf-em.h>
#include <linux/types.h>
#include <linux/elf-em.h>
+#ifdef __KERNEL__
#include <asm/elf.h>
#include <asm/elf.h>
+#endif
struct file;
struct file;
@@
-206,7
+208,7
@@
typedef struct elf32_hdr{
} Elf32_Ehdr;
typedef struct elf64_hdr {
} Elf32_Ehdr;
typedef struct elf64_hdr {
- unsigned char e_ident[
16];
/* ELF "magic number" */
+ unsigned char e_ident[
EI_NIDENT];
/* ELF "magic number" */
Elf64_Half e_type;
Elf64_Half e_machine;
Elf64_Word e_version;
Elf64_Half e_type;
Elf64_Half e_machine;
Elf64_Word e_version;
@@
-355,6
+357,9
@@
typedef struct elf64_shdr {
#define NT_AUXV 6
#define NT_PRXFPREG 0x46e62b7f /* copied from gdb5.1/include/elf/common.h */
#define NT_PPC_VMX 0x100 /* PowerPC Altivec/VMX registers */
#define NT_AUXV 6
#define NT_PRXFPREG 0x46e62b7f /* copied from gdb5.1/include/elf/common.h */
#define NT_PPC_VMX 0x100 /* PowerPC Altivec/VMX registers */
+#define NT_PPC_SPE 0x101 /* PowerPC SPE/EVR registers */
+#define NT_PPC_VSX 0x102 /* PowerPC VSX registers */
+#define NT_386_TLS 0x200 /* i386 TLS slots (struct user_desc) */
/* Note header in a PT_NOTE section */
/* Note header in a PT_NOTE section */