Hi,
 elflint doesn't recognize .rela.eh_frame like it does for other .rela sections.

Signed-off-by: Navin P <navinp0...@gmail.com>
---
 libebl/eblcheckreloctargettype.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libebl/eblcheckreloctargettype.c b/libebl/eblcheckreloctargettype.c
index 068ad8f1..9d814d27 100644
--- a/libebl/eblcheckreloctargettype.c
+++ b/libebl/eblcheckreloctargettype.c
@@ -47,6 +47,7 @@ ebl_check_reloc_target_type (Ebl *ebl, Elf64_Word sh_type)
       case SHT_FINI_ARRAY:
       case SHT_PREINIT_ARRAY:
       case SHT_NOTE:
+      case SHT_X86_64_UNWIND: // required by .rela.eh_frame
  return true;

       default:
-- 
2.25.1

Reply via email to