aboutsummaryrefslogtreecommitdiff
path: root/gprof/cg_arcs.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-15 00:41:22 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-16 01:55:31 -0400
commit6828a30253e55983b887dcd8f947a4d771aff82b (patch)
tree0babfc0996ef0012f3fa30da3afe71add3580146 /gprof/cg_arcs.h
parentdf32b446c3f54ed1cc9d4435740bffb42993090c (diff)
downloadbinutils-6828a30253e55983b887dcd8f947a4d771aff82b.zip
binutils-6828a30253e55983b887dcd8f947a4d771aff82b.tar.gz
binutils-6828a30253e55983b887dcd8f947a4d771aff82b.tar.bz2
sim: mips: rework dynamic printf logic to avoid compiler warnings
The compiler doesn't like passing non-constant strings to printf functions, so tweak the code to always pass one in. This code is a little more verbose, but it's probably the same performance. The macro usage is a bit ugly, but maybe less than copying & pasting the extended conditional format logic.
Diffstat (limited to 'gprof/cg_arcs.h')
0 files changed, 0 insertions, 0 deletions