mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
a26c7ec211
Clang generates a warning if the format string of a printf-like function is not a literal ("-Wformat-nonliteral"). On the default configuration, it causes a build failure (unless "--disable-werror" is specified). To avoid warnings on the printf-like wrapper, it requires proper __attribute__((format)) and we have ATTRIBUTE_PRINTF macro for this reason. This commit adds ATTRIBUTE_PRINTF to a printf-like function. |
||
---|---|---|
.. | ||
arch.c | ||
arch.h | ||
ChangeLog-2021 | ||
cpuall.h | ||
cpuv10.c | ||
cpuv10.h | ||
cpuv32.c | ||
cpuv32.h | ||
cris-sim.h | ||
cris-tmpl.c | ||
crisv10f.c | ||
crisv32f.c | ||
decodev10.c | ||
decodev10.h | ||
decodev32.c | ||
decodev32.h | ||
dv-cris_900000xx.c | ||
dv-cris.c | ||
dv-rv.c | ||
local.mk | ||
Makefile.in | ||
mloop.in | ||
modelv10.c | ||
modelv32.c | ||
rvdummy.c | ||
semcrisv10f-switch.c | ||
semcrisv32f-switch.c | ||
sim-if.c | ||
sim-main.h | ||
traps.c |