diff options
Diffstat (limited to 'include/linux/elf.h')
| -rw-r--r-- | include/linux/elf.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/linux/elf.h b/include/linux/elf.h index 0cc4d55151b7..ad990c5f63f6 100644 --- a/include/linux/elf.h +++ b/include/linux/elf.h | |||
| @@ -349,7 +349,11 @@ typedef struct elf64_shdr { | |||
| 349 | #define ELF_OSABI ELFOSABI_NONE | 349 | #define ELF_OSABI ELFOSABI_NONE |
| 350 | #endif | 350 | #endif |
| 351 | 351 | ||
| 352 | /* Notes used in ET_CORE */ | 352 | /* |
| 353 | * Notes used in ET_CORE. Architectures export some of the arch register sets | ||
| 354 | * using the corresponding note types via the PTRACE_GETREGSET and | ||
| 355 | * PTRACE_SETREGSET requests. | ||
| 356 | */ | ||
| 353 | #define NT_PRSTATUS 1 | 357 | #define NT_PRSTATUS 1 |
| 354 | #define NT_PRFPREG 2 | 358 | #define NT_PRFPREG 2 |
| 355 | #define NT_PRPSINFO 3 | 359 | #define NT_PRPSINFO 3 |
| @@ -361,7 +365,13 @@ typedef struct elf64_shdr { | |||
| 361 | #define NT_PPC_VSX 0x102 /* PowerPC VSX registers */ | 365 | #define NT_PPC_VSX 0x102 /* PowerPC VSX registers */ |
| 362 | #define NT_386_TLS 0x200 /* i386 TLS slots (struct user_desc) */ | 366 | #define NT_386_TLS 0x200 /* i386 TLS slots (struct user_desc) */ |
| 363 | #define NT_386_IOPERM 0x201 /* x86 io permission bitmap (1=deny) */ | 367 | #define NT_386_IOPERM 0x201 /* x86 io permission bitmap (1=deny) */ |
| 368 | #define NT_X86_XSTATE 0x202 /* x86 extended state using xsave */ | ||
| 364 | #define NT_S390_HIGH_GPRS 0x300 /* s390 upper register halves */ | 369 | #define NT_S390_HIGH_GPRS 0x300 /* s390 upper register halves */ |
| 370 | #define NT_S390_TIMER 0x301 /* s390 timer register */ | ||
| 371 | #define NT_S390_TODCMP 0x302 /* s390 TOD clock comparator register */ | ||
| 372 | #define NT_S390_TODPREG 0x303 /* s390 TOD programmable register */ | ||
| 373 | #define NT_S390_CTRS 0x304 /* s390 control registers */ | ||
| 374 | #define NT_S390_PREFIX 0x305 /* s390 prefix register */ | ||
| 365 | 375 | ||
| 366 | 376 | ||
| 367 | /* Note header in a PT_NOTE section */ | 377 | /* Note header in a PT_NOTE section */ |
