]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libasm: Fix one GCC7 -Wformat-truncation=2 warning.
authorMark Wielaard <mark@klomp.org>
Sun, 12 Feb 2017 20:51:34 +0000 (21:51 +0100)
committerMark Wielaard <mark@klomp.org>
Fri, 24 Mar 2017 16:45:53 +0000 (17:45 +0100)
commit93c51144c3f664d4e9709da75a1d0fa00ea0fe95
tree1841bc458a9c5becfd32a4c071a65904722103af
parentb1042ce216eaef96099f263fb81141dbdec004fd
libasm: Fix one GCC7 -Wformat-truncation=2 warning.

Make sure that if we have really lots of labels the tempsym doesn't get
truncated because it is too small to hold the whole name.

This doesn't enable -Wformat-truncation=2 or fix other "issues" pointed
out by enabling this warning because there are currently some issues
with it. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79448

Signed-off-by: Mark Wielaard <mark@klomp.org>
libasm/ChangeLog
libasm/asm_newsym.c