From 7a3f6fe60b8519b5372f5a5521ccbac59411f33f Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Sun, 11 Nov 2018 23:50:41 +0100 Subject: Recognize NT_VERSION notes. NT_VERSION notes are emitted by the gas .version directive. They have an empty description and (ab)use the owner name to store the version data string. Signed-off-by: Mark Wielaard --- libebl/libebl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libebl/libebl.h') diff --git a/libebl/libebl.h b/libebl/libebl.h index a34fe48d..58306547 100644 --- a/libebl/libebl.h +++ b/libebl/libebl.h @@ -175,8 +175,8 @@ extern const char *ebl_core_note_type_name (Ebl *ebl, uint32_t type, char *buf, /* Return name of the note section type for an object file. */ extern const char *ebl_object_note_type_name (Ebl *ebl, const char *name, - uint32_t type, char *buf, - size_t len); + uint32_t type, GElf_Word descsz, + char *buf, size_t len); /* Print information about object note if available. */ extern void ebl_object_note (Ebl *ebl, const char *name, uint32_t type, -- cgit v1.2.3