https://sourceware.org/bugzilla/show_bug.cgi?id=27134
Sergei Trofimovich changed:
What|Removed |Added
Summary|elfutils-git fails tests|elfutils-git fails tests
before the change section_flags_string() ignored unknown section
flags: snprintf() did write numeric value int obuffer, but
"*cp = '\0'" hegated the effect.
The change advances the 'cp' pointer'.
While at it add a '|' separator between known and unknown flags.
Signed-off-by: Sergei Trofimovich
---
src/elflint.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/elflint.c b/src/elflint.c
index b3cbaade..7b7f7937 100644
--- a/src/elflint.c
+++ b/src/elflint.c
@@ -2789,7 +2789,10 @@ section_flags_string (GElf_Word flags, char *buf, size_t
len)
NEWFLAG (OS_N
https://sourceware.org/bugzilla/show_bug.cgi?id=27134
Bug ID: 27134
Summary: elfutils-git fails tests against binutils-git
(GNU_RETAIN section type)
Product: elfutils
Version: unspecified
Status: UNCONFIRMED
Sev