ELF: Ignore PT_EH_FRAME and PT_STACK.

This allows Clang builds (linked with our cross binutils) to
at least start runtime_loader and then try to load launch_daemon.
That fails with an infinite loop somewhere...
This commit is contained in:
Augustin Cavalier
2018-11-24 21:08:31 -05:00
parent aa0836519a
commit ef593f61a2
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -322,6 +322,7 @@ typedef struct {
#define PT_SHLIB 5
#define PT_PHDR 6
#define PT_TLS 7
#define PT_EH_FRAME 0x6474e550
#define PT_STACK 0x6474e551
#define PT_RELRO 0x6474e552