]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
sim: mcore: replace custom "word" type with int32_t
authorMike Frysinger <vapier@gentoo.org>
Fri, 23 Dec 2022 02:53:51 +0000 (21:53 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 23 Dec 2022 02:55:47 +0000 (21:55 -0500)
commit4c337f2dd3df1f97d9dc17ace5708f5cdc4512dc
tree6c91cd6023e585e830560f323112b2bc68652069
parentbe2e4e65380f625f01648678798aaecf5a66bc48
sim: mcore: replace custom "word" type with int32_t

This is a 32-bit architecture with 32-bit registers, so replace the
custom "word" long int typedef with an explicit int32_t.  This is
a correctness fix since long will be 64-bits on most 64-bit hosts.
sim/mcore/interp.c
sim/mcore/sim-main.h