x86: use constant flags for section .init.rodata
authorRoger Pau Monné <roger.pau@citrix.com>
Thu, 27 Aug 2020 07:53:46 +0000 (09:53 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 27 Aug 2020 07:53:46 +0000 (09:53 +0200)
commitd2770047a277ccdc7924fb99d1b051eeb0d5a90f
tree01966c8c8bcd1a5e4eaedff9ca73c8bda8c3d35a
parent8b5b49ceb3d9aaf87776584fdf0926fa6f39eb2d
x86: use constant flags for section .init.rodata

LLVM 11 complains with:

<instantiation>:1:1: error: changed section flags for .init.rodata, expected: 0x2
.pushsection .init.rodata
^
<instantiation>:30:9: note: while in macro instantiation
        entrypoint 0
        ^
entry.S:979:9: note: while in macro instantiation
        .rept 256
        ^

And:

entry.S:1015:9: error: changed section flags for .init.rodata, expected: 0x2
        .section .init.rodata
        ^

Fix it by explicitly using the same flags and type in all the
instances.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/x86_64/entry.S