x86: move both exception tables into .rodata
authorJan Beulich <jbeulich@suse.com>
Tue, 15 Mar 2016 11:21:38 +0000 (12:21 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 15 Mar 2016 11:21:38 +0000 (12:21 +0100)
commit79713ed0a94cb5fa01b994645a31c4960a6c483e
treed539955710019d41adae27e500ee3c68da66fec7
parent0b8a17244475855dc3f32c29500f56c449de8013
x86: move both exception tables into .rodata

While they are being written during early boot (when sorting them),
that writing takes place before we actually start fiddling with page
table permissions, so these tables can benefit from getting write
protected just like ordinary r/o data does (for now only when using
2M mappings).

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