]> xenbits.xensource.com Git - qemu-xen.git/commit
tests: tcg: Fix PVH test with binutils 2.36+
authorCole Robinson <crobinso@redhat.com>
Fri, 8 Oct 2021 16:21:01 +0000 (12:21 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 Oct 2021 08:47:49 +0000 (10:47 +0200)
commit8e751e9c38e324737fd3d3aa0562f886313bba3c
tree7d650558721eb10f9c7285e60202ae4249416b75
parentf1279fc15bf4315fb8e103e6eabaee014ce1f914
tests: tcg: Fix PVH test with binutils 2.36+

binutils started adding a .note.gnu.property ELF section which
makes the PVH test fail:

  TEST    hello on x86_64
qemu-system-x86_64: Error loading uncompressed kernel without PVH ELF Note

Discard .note.gnu* while keeping the PVH .note bits intact.

This also strips the build-id note, so drop the related comment.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
Message-Id: <5ab2a54c262c61f64c22dbb49ade3e2db8a740bb.1633708346.git.crobinso@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/tcg/x86_64/system/kernel.ld