aboutsummaryrefslogtreecommitdiff
path: root/sim/sh/ChangeLog
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-28 14:09:11 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-28 17:45:30 -0400
commited4d32c28adc5f00ee9bc0e4ac785eeff5e1dc74 (patch)
treee1c9528e7a707c4953bbe311ca33e4c26de9390f /sim/sh/ChangeLog
parent6d89786cb31dcf9b1a4e5b6c7b88c15102e9381a (diff)
downloadfsf-binutils-gdb-ed4d32c28adc5f00ee9bc0e4ac785eeff5e1dc74.zip
fsf-binutils-gdb-ed4d32c28adc5f00ee9bc0e4ac785eeff5e1dc74.tar.gz
fsf-binutils-gdb-ed4d32c28adc5f00ee9bc0e4ac785eeff5e1dc74.tar.bz2
sim: sh: clean up gencode
The build line was missing the normal BUILD_xxx flags. Once we added that, we get warnings that weren't shown before. As we fix those, we notice that the -d option segfaults because it tries to write readonly memory. Fix that too as part of the const/prototype clean up.
Diffstat (limited to 'sim/sh/ChangeLog')
-rw-r--r--sim/sh/ChangeLog22
1 files changed, 22 insertions, 0 deletions
diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog
index 810049e..3e0fff1 100644
--- a/sim/sh/ChangeLog
+++ b/sim/sh/ChangeLog
@@ -1,5 +1,27 @@
2015-03-28 Mike Frysinger <vapier@gentoo.org>
+ * Makefile.in (gencode): Add $(BUILD_CFLAGS), $(BUILD_LDFLAGS),
+ and $(WARN_CFLAGS).
+ * gencode.c: Include ctype.h, stdlib.h, string.h, and unistd.h.
+ (struct op): Mark members const.
+ (tab): Mark static.
+ (nibble_type_list): Mark const.
+ (arg_type_list): Mark const.
+ (make_enum_list): Delete unused func.
+ (qfunc, expand_opcode, dumptable, expand_ppi_code): Convert old
+ style prototype and mark args const.
+ (sorttab, gengastab, conflict_warn, filltable, expand_ppi_movxy,
+ gensim, ppi_filltable): Convert old style prototype.
+ (gensim_caselist): Convert old style prototype. Mark local
+ variables s and r const.
+ (gendefines): Convert old style prototype. Mark s const. Move
+ tolower call into printf statement.
+ (ppi_gensim): Convert old style prototype. Mark local variable
+ s const.
+ (main): Convert old style prototype. Change printf %d to %zu.
+
+2015-03-28 Mike Frysinger <vapier@gentoo.org>
+
* config.in, configure: Regenerate.
* configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT,