xen/arm32: avoid .rodata to be marked as executable
authorJan Beulich <jbeulich@suse.com>
Fri, 11 Jun 2021 09:19:15 +0000 (11:19 +0200)
committerJulien Grall <jgrall@amazon.com>
Mon, 14 Jun 2021 13:14:11 +0000 (14:14 +0100)
commit163f47c14737cfa9dfb3240deea356b08caf7614
treecd37a3c7d8d805bccd65961cffa53f7e0df122db
parentf7079d7ef69f6bf38d6ec3bda294ed5eabcf98ba
xen/arm32: avoid .rodata to be marked as executable

The section .proc.info lives in .rodata as it doesn't contain any
executable code. However, the section is still marked as executable
as the consequence .rodata will also be marked executable.

Xen doesn't use the ELF permissions to decide the page-table mapping
permission. However, this will confuse disassemblers.

'#execinstr' is now removed on all the pushsection dealing with
.proc.info

Signed-off-by: Jan Beulich <jbeulich@suse.com>
[julieng: Rework the commit message]
Acked-by: Julien Grall <jgrall@amazon.com>
xen/arch/arm/arm32/proc-v7.S