target/mips: Constify host_to_mips_errno[]
commitdae7324b97ebe2c4012f299f0b6ec48ac8c1e74d
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 11 May 2021 10:18:06 +0000 (11 12:18 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 24 Jun 2021 14:48:08 +0000 (24 16:48 +0200)
treed84f7f8597816f99210a9f927dbca96a78ebc663
parente5e6f00c3154055dba99eb3b789c38dc70578111
target/mips: Constify host_to_mips_errno[]

Keep host_to_mips_errno[] in .rodata by marking the array const.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210617174323.2900831-9-f4bug@amsat.org>
target/mips/tcg/sysemu/mips-semi.c