Skip to content
Snippets Groups Projects
Commit 3027b313 authored by Avi Kivity's avatar Avi Kivity
Browse files

elf: support PT_PHDR

parent 9f8c65d5
No related branches found
No related tags found
No related merge requests found
...@@ -140,6 +140,7 @@ namespace elf { ...@@ -140,6 +140,7 @@ namespace elf {
break; break;
case PT_INTERP: case PT_INTERP:
case PT_NOTE: case PT_NOTE:
case PT_PHDR:
case PT_GNU_STACK: case PT_GNU_STACK:
case PT_GNU_RELRO: case PT_GNU_RELRO:
break; break;
......
...@@ -79,6 +79,7 @@ namespace elf { ...@@ -79,6 +79,7 @@ namespace elf {
PT_DYNAMIC = 2, // Dynamic linking tables PT_DYNAMIC = 2, // Dynamic linking tables
PT_INTERP = 3, // Program interpreter path name PT_INTERP = 3, // Program interpreter path name
PT_NOTE = 4, // Note sections PT_NOTE = 4, // Note sections
PT_PHDR = 6, // program header
PT_TLS = 7, // Thread local storage initial segment PT_TLS = 7, // Thread local storage initial segment
PT_GNU_EH_FRAME = 0x6474e550, // Exception handling records PT_GNU_EH_FRAME = 0x6474e550, // Exception handling records
PT_GNU_STACK = 0x6474e551, // Stack permissions record PT_GNU_STACK = 0x6474e551, // Stack permissions record
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment