linux-user/syscall: Constify bitmask_transtbl fcntl/mmap flags_tlb[]
commit180d4ef3ad08f2f5073184e1fa763c230fe4750f
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 17 May 2021 05:52:43 +0000 (17 07:52 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Sat, 5 Jun 2021 19:13:29 +0000 (5 21:13 +0200)
tree31558ddb80f4db14e4e6cdf7b945a8dcca1b6e07
parent585190902a3baae3a1609c30a9e485ec072dd72f
linux-user/syscall: Constify bitmask_transtbl fcntl/mmap flags_tlb[]

Keep bitmask_transtbl in .rodata by marking the arrays const.

Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210517055243.830491-1-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/syscall.c