aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/ld-decode.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-10-31 20:40:01 -0400
committerMike Frysinger <vapier@gentoo.org>2021-10-31 22:34:02 -0400
commitfc3579da2ea6b2db27ac3003f818abd7786b9b30 (patch)
tree2b6847277de08e6096435b14dec4ea565cb21fbb /sim/ppc/ld-decode.c
parente7360783aebee8e64402eac7a12163c0d2bb15b6 (diff)
downloadfsf-binutils-gdb-fc3579da2ea6b2db27ac3003f818abd7786b9b30.zip
fsf-binutils-gdb-fc3579da2ea6b2db27ac3003f818abd7786b9b30.tar.gz
fsf-binutils-gdb-fc3579da2ea6b2db27ac3003f818abd7786b9b30.tar.bz2
sim: ppc: constify strings in igen tooling
Diffstat (limited to 'sim/ppc/ld-decode.c')
-rw-r--r--sim/ppc/ld-decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ppc/ld-decode.c b/sim/ppc/ld-decode.c
index cee006f..68d9f5f 100644
--- a/sim/ppc/ld-decode.c
+++ b/sim/ppc/ld-decode.c
@@ -70,7 +70,7 @@ force_decode_gen_type(const char *type)
decode_table *
-load_decode_table(char *file_name,
+load_decode_table(const char *file_name,
int hi_bit_nr)
{
table *file = table_open(file_name, nr_decode_fields, 0);