Re: [PATCH 14/21] x86/xen: Support objtool vmlinux.o validation in xen-head.S

From: Jürgen Groß
Date: Fri Jan 15 2021 - 00:18:56 EST


On 14.01.21 20:40, Josh Poimboeuf wrote:
The Xen hypercall page is filled with zeros, causing objtool to fall
through all the empty hypercall functions until it reaches a real
function, resulting in a stack state mismatch.

The build-time contents of the hypercall page don't matter, since it
gets mapped to the hypervisor.

This sentence is technically wrong: the contents don't matter, as the
page will be rewritten by the hypervisor.


Juergen

Attachment: OpenPGP_0xB0DE9DD628BF132F.asc
Description: application/pgp-keys

Attachment: OpenPGP_signature
Description: OpenPGP digital signature