summaryrefslogtreecommitdiff
path: root/libebl/libebl.h
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2018-11-11 23:50:41 +0100
committerMark Wielaard <mark@klomp.org>2018-11-13 13:40:00 +0100
commit7a3f6fe60b8519b5372f5a5521ccbac59411f33f (patch)
tree48f21c4114d440e49483699a2dda27198b2f76d4 /libebl/libebl.h
parentcff53f1784c9a4344604bedf41b7d499b3eb30d5 (diff)
downloadelfutils-7a3f6fe60b8519b5372f5a5521ccbac59411f33f.tar.gz
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 <mark@klomp.org>
Diffstat (limited to 'libebl/libebl.h')
-rw-r--r--libebl/libebl.h4
1 files changed, 2 insertions, 2 deletions
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,