[Bug libelf/27134] elfutils-git fails tests against gcc-git (GNU_RETAIN section type)

2020-12-31 Thread slyfox at inbox dot ru via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27134 Sergei Trofimovich changed: What|Removed |Added Summary|elfutils-git fails tests|elfutils-git fails tests

[PATCH] src/elflint.c: fix printing of unknown flags

2020-12-31 Thread Sergei Trofimovich via Elfutils-devel
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

[PATCH] src/elflint.c: add debug print for GNU_RETAIN and others

2020-12-31 Thread Sergei Trofimovich via Elfutils-devel
--- 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

[Bug libelf/27134] New: elfutils-git fails tests against binutils-git (GNU_RETAIN section type)

2020-12-31 Thread slyfox at inbox dot ru via Elfutils-devel
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