sim: model: constify sim_machs storage
authorMike Frysinger <vapier@gentoo.org>
Sun, 27 Jun 2021 05:26:30 +0000 (01:26 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 30 Jun 2021 00:08:10 +0000 (20:08 -0400)
commitba9666525f68ab75a7176bd02b7e8d0dc8c644b7
tree603fa4516138f61109686c9c35d73d4b6dbeb563
parentaa2e84dee612c8fe1d8249891a9f8fea1e4be492
sim: model: constify sim_machs storage

The array of pointers is never modified, so mark it const so it ends
up in the read-only data section.
21 files changed:
sim/bfin/ChangeLog
sim/bfin/machs.c
sim/bpf/ChangeLog
sim/bpf/arch.c
sim/common/ChangeLog
sim/common/sim-model.c
sim/common/sim-model.h
sim/cris/ChangeLog
sim/cris/arch.c
sim/frv/ChangeLog
sim/frv/arch.c
sim/iq2000/ChangeLog
sim/iq2000/arch.c
sim/lm32/ChangeLog
sim/lm32/arch.c
sim/m32r/ChangeLog
sim/m32r/arch.c
sim/or1k/ChangeLog
sim/or1k/arch.c
sim/riscv/ChangeLog
sim/riscv/machs.c