x86/EFI: warn about r/o sections requiring relocations
authorJan Beulich <jbeulich@suse.com>
Mon, 28 Aug 2017 08:50:29 +0000 (10:50 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 28 Aug 2017 08:50:29 +0000 (10:50 +0200)
commit1308f0170c1f1353b6cb8ec04a580bf374ddccb3
tree466c78231de578ee59c665e8a2b0f7d2bb1a2dda
parent4f88c4870861259edb1a507ddcb26d4201b0562d
x86/EFI: warn about r/o sections requiring relocations

EFI implementations may write-protect r/o sections, but we need to
apply relocations. Eliminate the one present case of a r/o section
with relocations (.init.text, which is now being combined with
.init.data into just .init).

Also correct a few other format strings (to account for the possibly
missing NUL in section names) in mkreloc.c.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/efi/mkreloc.c
xen/arch/x86/xen.lds.S