commit | 372b41d3cef5bfe706eb5a1a027aa87a5a5cb0e3 | [log] [tgz] |
---|---|---|
author | Sergei Trofimovich <slyfox@gentoo.org> | Thu Dec 31 12:11:42 2020 +0000 |
committer | Mark Wielaard <mark@klomp.org> | Mon Jan 11 23:31:44 2021 +0100 |
tree | dac1372deab3734684f82d8decc71b7d8ed8ceab | |
parent | 2ad0758fddf1289077c43bbb125d0cd80c55aa72 [diff] |
src/elflint.c: fix printing of unknown flags before the change section_flags_string() ignored unknown section flags: snprintf() did write numeric value into buffer, but "*cp = '\0'" negated the effect. The change advances the 'cp' pointer'. While at it add a '|' separator between known and unknown flags. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>