Let runtime_loader ignore RT_RELRO program headers.

* The new libstdc++.so contains program headers of type PT_RELRO (for
  making segments read-only after relocation). While the actual feature
  has not been implemented, the runtime_loader should now silently
  accept (and ignore) those program headers.
This commit is contained in:
Oliver Tappe
2014-08-13 13:32:45 +02:00
parent 220d040227
commit 37f558d5a3
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -141,6 +141,7 @@
#define PT_PHDR 6
#define PT_TLS 7
#define PT_STACK 0x6474e551
#define PT_RELRO 0x6474e552
#define PT_LOPROC 0x70000000
#define PT_HIPROC 0x7fffffff