OSDN Git Service

tcg: Map code_gen_buffer with PROT_BTI
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 16 Aug 2023 00:53:42 +0000 (17:53 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 16 Sep 2023 14:57:16 +0000 (14:57 +0000)
commita97a83753c90d79ed15a716610af23fabd84aaed
tree579fe6dd989dc562521e56810549c0043b9adff8
parent5826a0dbf097c50c5b6db71054cffed972c7e9e6
tcg: Map code_gen_buffer with PROT_BTI

For linux aarch64 host supporting BTI, map the buffer
to require BTI instructions at branch landing pads.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/region.c