x86: work around build issue with GNU ld 2.37
authorJan Beulich <jbeulich@suse.com>
Thu, 22 Jul 2021 09:20:38 +0000 (11:20 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 27 Jul 2021 14:03:29 +0000 (15:03 +0100)
commit58ad654ebce7ccb272a3f4f3482c03aaad850d31
tree8d5a903a16a9361d959415c875353ee90ef8b723
parent0cdb4a5802bad51aa89f6b1f10014dd21c37228b
x86: work around build issue with GNU ld 2.37

I suspect it is commit 40726f16a8d7 ("ld script expression parsing")
which broke the hypervisor build, by no longer accepting section names
with a dash in them inside ADDR() (and perhaps other script directives
expecting just a section name, not an expression): .note.gnu.build-id
is such a section.

Quoting all section names passed to ADDR() via DECL_SECTION() works
around the regression.

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