aboutsummaryrefslogtreecommitdiff
path: root/gas/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-04-23 09:42:44 +0930
committerAlan Modra <amodra@gmail.com>2018-04-23 18:10:41 +0930
commit5a6312e8c015d4a98020038f3b6e144db230f3ca (patch)
treedfb7f8695c3388aad94dec6d7f60ce152c6ba338 /gas/ChangeLog
parent5373441d20b652d5b0332b6cada74524af3ae707 (diff)
downloadgdb-5a6312e8c015d4a98020038f3b6e144db230f3ca.zip
gdb-5a6312e8c015d4a98020038f3b6e144db230f3ca.tar.gz
gdb-5a6312e8c015d4a98020038f3b6e144db230f3ca.tar.bz2
Silence gcc-8 warnings
All of these warnings were false positives. -Wstringop-truncation is particularly annoying when it warns about strncpy used quite correctly. bfd/ * elf-linux-core.h (swap_linux_prpsinfo32_ugid32_out): Disable gcc-8 string truncation warning. (swap_linux_prpsinfo32_ugid16_out): Likewise. (swap_linux_prpsinfo64_ugid32_out): Likewise. (swap_linux_prpsinfo64_ugid16_out): Likewise. * elf.c (elfcore_write_prpsinfo): Likewise. gas/ * stabs.c (generate_asm_file): Use memcpy rather than strncpy. Remove call to strlen inside loop. * config/tc-cr16.c (getreg_image): Warning fix. * config/tc-crx.c (getreg_image): Warning fix.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r--gas/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 21d09f8..ba3d8b5 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,10 @@
+2018-04-23 Alan Modra <amodra@gmail.com>
+
+ * stabs.c (generate_asm_file): Use memcpy rather than strncpy.
+ Remove call to strlen inside loop.
+ * config/tc-cr16.c (getreg_image): Warning fix.
+ * config/tc-crx.c (getreg_image): Warning fix.
+
2018-04-20 Kito Cheng <kito.cheng@gmail.com>
* config/tc-riscv.c (options): Add OPTION_RELAX and