diff options
Diffstat (limited to 'include/elf')
-rw-r--r-- | include/elf/common.h | 1 | ||||
-rw-r--r-- | include/elf/x86-64.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/elf/common.h b/include/elf/common.h index 5573fca76..db92ff6a8 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -290,6 +290,7 @@ #define PT_HIPROC 0x7FFFFFFF /* Processor-specific */ #define PT_GNU_EH_FRAME (PT_LOOS + 0x474e550) /* Frame unwind information */ +#define PT_SUNW_EH_FRAME PT_GNU_EH_FRAME /* Solaris uses the same value */ #define PT_GNU_STACK (PT_LOOS + 0x474e551) /* Stack flags */ #define PT_GNU_RELRO (PT_LOOS + 0x474e552) /* Read-only after relocation */ diff --git a/include/elf/x86-64.h b/include/elf/x86-64.h index 7e9100dba..2252bd0d1 100644 --- a/include/elf/x86-64.h +++ b/include/elf/x86-64.h @@ -53,4 +53,8 @@ START_RELOC_NUMBERS (elf_x86_64_reloc_type) RELOC_NUMBER (R_X86_64_GNU_VTENTRY, 251) /* GNU C++ hack */ END_RELOC_NUMBERS (R_X86_64_max) +/* Processor specific section types. */ + +#define SHT_X86_64_UNWIND 0x70000001 /* unwind information */ + #endif |