aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/main.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-29 21:45:13 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-29 22:33:04 -0400
commitf8261de1b22cc1a72ae18a2300df8b2cf7f027db (patch)
tree1067347704463f1dc68bb72f3a351e8b4c1b522c /sim/ppc/main.c
parent7f6fa743740e63fa7ecfd35845853ec6814d0500 (diff)
downloadfsf-binutils-gdb-f8261de1b22cc1a72ae18a2300df8b2cf7f027db.zip
fsf-binutils-gdb-f8261de1b22cc1a72ae18a2300df8b2cf7f027db.tar.gz
fsf-binutils-gdb-f8261de1b22cc1a72ae18a2300df8b2cf7f027db.tar.bz2
sim: ppc: fix printf warnings
This code hits some format-zero-length warnings, so hack the code like we did in the common layers.
Diffstat (limited to 'sim/ppc/main.c')
-rw-r--r--sim/ppc/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/ppc/main.c b/sim/ppc/main.c
index 0c1a070..2d4d7e4 100644
--- a/sim/ppc/main.c
+++ b/sim/ppc/main.c
@@ -214,6 +214,8 @@ sim_io_flush_stdoutput(void)
}
}
+/* Glue to use sim-fpu module. */
+
void
sim_io_error (SIM_DESC sd, const char *msg, ...)
{