]> xenbits.xensource.com Git - xen.git/commit
xen/link: Move .data.rel.ro sections into .rodata for final link
authorDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 25 Jul 2017 09:21:37 +0000 (10:21 +0100)
committerWei Liu <wei.liu2@citrix.com>
Tue, 25 Jul 2017 09:22:36 +0000 (10:22 +0100)
commit33a0b4fe90f1ef1a104dd454c931bb46d417ffca
tree04c494d2edf5de5ff27f6c8f20ad02ab25c4904a
parent26ee0ecdeea1fe67c5c56edd01ef3ffd6729f6be
xen/link: Move .data.rel.ro sections into .rodata for final link

This includes stuff like the hypercall tables which we really kind of want
to be read-only. And they were going into .data.read-mostly.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Julien Grall <julien.grall@arm.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/arm/xen.lds.S
xen/arch/x86/xen.lds.S