x86: use constant flags for section .init.rodata
authorRoger Pau Monné <roger.pau@citrix.com>
Fri, 11 Sep 2020 12:08:37 +0000 (14:08 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 11 Sep 2020 12:08:37 +0000 (14:08 +0200)
commit80dec06f6a5f4e56ef1f26087282402c21708ebf
treec85e988f0878f8312d3ff3add7a9d8d89de54f0f
parent5482c2887d89bf742fd982b8c47510617a5096ef
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>
master commit: d2770047a277ccdc7924fb99d1b051eeb0d5a90f
master date: 2020-08-27 09:53:46 +0200
xen/arch/x86/x86_64/entry.S