From 3a6b73938429b0f23a9b4b32eb22c43ad15eceb7 Mon Sep 17 00:00:00 2001 From: Christian Helmuth Date: Mon, 26 Nov 2012 11:34:00 +0100 Subject: [PATCH] Add more known segment types for dynamic ELFs These segments are not critical and the commit reduces noise in the log. --- base/src/base/elf/elf_binary.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/src/base/elf/elf_binary.cc b/base/src/base/elf/elf_binary.cc index 56946a48f..7d03ad3cb 100644 --- a/base/src/base/elf/elf_binary.cc +++ b/base/src/base/elf/elf_binary.cc @@ -58,6 +58,8 @@ bool inline Elf_binary::_dynamic_check_compat(unsigned type) case PT_PHDR: case PT_GNU_EH_FRAME: case PT_GNU_STACK: + case PT_GNU_RELRO: + case PT_TLS: case PT_NOTE: return true; default: