public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* Subject: [PATCH] Make elflint and libebl understand .rela.eh_frame like other section type
@ 2020-11-13 14:47 Navin P
  2020-11-17 14:14 ` Mark Wielaard
  0 siblings, 1 reply; 4+ messages in thread
From: Navin P @ 2020-11-13 14:47 UTC (permalink / raw)
  To: elfutils-devel

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

Signed-off-by: Navin P <navinp0304@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-11-18 10:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-13 14:47 Subject: [PATCH] Make elflint and libebl understand .rela.eh_frame like other section type Navin P
2020-11-17 14:14 ` Mark Wielaard
2020-11-18  4:38   ` Navin P
2020-11-18 10:44     ` Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).