x86: move .altinstr_replacement past _einittext
authorJan Beulich <jbeulich@suse.com>
Tue, 15 Jun 2021 13:15:26 +0000 (15:15 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 15 Jun 2021 13:15:26 +0000 (15:15 +0200)
commit93c5f98296fc78de79d621418a1e62fd413e73d1
tree5ab93eb26b2ed3f83693fa427312f8d61102e465
parent6d622f3a96bbd76ce8422c6e3805e6609417ec76
x86: move .altinstr_replacement past _einittext

This section's contents do not represent part of actual hypervisor text,
so shouldn't be included in what is_kernel_inittext() or (while still
booting) is_active_kernel_text() report "true" for. Keep them in
.init.text though, as there's no real reason to have a separate section
for this in the final binary.

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