aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-05-26 06:09:54 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-05-26 06:12:37 -0700
commita05e3e203954fac0aacfcb647b1f8b52760e6df0 (patch)
tree253ae37f43ad7b4b708955e675a7151412d11c2a /bfd
parent40d22035a7fc239ac1e944b75a2e3ee9029d1b76 (diff)
downloadgdb-a05e3e203954fac0aacfcb647b1f8b52760e6df0.zip
gdb-a05e3e203954fac0aacfcb647b1f8b52760e6df0.tar.gz
gdb-a05e3e203954fac0aacfcb647b1f8b52760e6df0.tar.bz2
tc-score.c: Replace overlapping sprintf with memmove
Fix GCC 10 warning: gas/config/tc-score.c:4575:6: error: ‘sprintf’ argument 3 may overlap destination object ‘keep_data’ [-Werror=restrict] 4575 | sprintf (append_str, "bne %s", keep_data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PR gas/26044 * onfig/tc-score.c (s3_do_macro_bcmp): Replace overlapping sprintf with memmove.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions