aboutsummaryrefslogtreecommitdiff
path: root/sim/lm32
diff options
context:
space:
mode:
Diffstat (limited to 'sim/lm32')
-rw-r--r--sim/lm32/ChangeLog4
-rw-r--r--sim/lm32/arch.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog
index bc3c5fe..689eb64 100644
--- a/sim/lm32/ChangeLog
+++ b/sim/lm32/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-29 Mike Frysinger <vapier@gentoo.org>
+
+ * arch.c (sim_machs): Mark const.
+
2021-06-28 Mike Frysinger <vapier@gentoo.org>
* cpu.c (lm32bf_record_trace_results): Delete function.
diff --git a/sim/lm32/arch.c b/sim/lm32/arch.c
index e8a826a..72fe4b4 100644
--- a/sim/lm32/arch.c
+++ b/sim/lm32/arch.c
@@ -24,7 +24,7 @@ This file is part of the GNU simulators.
#include "sim-main.h"
#include "bfd.h"
-const SIM_MACH *sim_machs[] =
+const SIM_MACH * const sim_machs[] =
{
#ifdef HAVE_CPU_LM32BF
& lm32_mach,