diff options
author | Mark Wielaard <mark@klomp.org> | 2018-11-11 23:50:41 +0100 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2018-11-13 13:40:00 +0100 |
commit | 7a3f6fe60b8519b5372f5a5521ccbac59411f33f (patch) | |
tree | 48f21c4114d440e49483699a2dda27198b2f76d4 /libebl/libebl.h | |
parent | cff53f1784c9a4344604bedf41b7d499b3eb30d5 (diff) | |
download | elfutils-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.h | 4 |
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, |