]> xenbits.xensource.com Git - xen.git/commitdiff
x86: add "w" flag to .init.data section definition
authorDaniel Kiper <daniel.kiper@oracle.com>
Thu, 16 Feb 2017 17:10:04 +0000 (18:10 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 16 Feb 2017 17:10:04 +0000 (18:10 +0100)
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 <daniel.kiper@oracle.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/boot/x86_64.S

index 139b2caef4b69d77462af9957de67494a0feb0a9..4d507fbd960af4740c79056cde809cdec857a709 100644 (file)
@@ -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)