From: Daniel Kiper Date: Thu, 16 Feb 2017 17:10:04 +0000 (+0100) Subject: x86: add "w" flag to .init.data section definition X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~2758 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8c935f5ff1cac422b4de21cbab69e13d2ebb25be;p=xen.git x86: add "w" flag to .init.data section definition init.data section is clearly writable, so, add "w" flag to its definition in xen/arch/x86/boot/x86_64.S. Signed-off-by: Daniel Kiper Reviewed-by: Andrew Cooper --- diff --git a/xen/arch/x86/boot/x86_64.S b/xen/arch/x86/boot/x86_64.S index 139b2caef4..4d507fbd96 100644 --- a/xen/arch/x86/boot/x86_64.S +++ b/xen/arch/x86/boot/x86_64.S @@ -186,7 +186,7 @@ GLOBAL(idle_pg_table) GLOBAL(__page_tables_end) /* Init pagetables. Enough page directories to map into the bottom 1GB. */ - .section .init.data, "a", @progbits + .section .init.data, "aw", @progbits .align PAGE_SIZE, 0 GLOBAL(l2_bootmap)