]> xenbits.xensource.com Git - xtf.git/commit
build: Make head.S invariant to link order
authorAndrew Cooper <andrew.cooper3@citrix.com>
Sat, 5 Feb 2022 17:28:16 +0000 (17:28 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 7 Feb 2022 11:25:56 +0000 (11:25 +0000)
commitbc0abf2a5498d4691538bf34496ca0f0f189951b
tree1d6c82776445e66ca3ce616357e73658211fa5ac
parent4c6f24edd6b14450f90e51ccea70c9f9a848aba9
build: Make head.S invariant to link order

Introduce .text.head, ensure it is linked first, and use it in
{hvm,pv}/head.S.  This removes the need for head-$(env).o to be linked first,
removing all head special casing in the build system.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
arch/x86/hvm/head.S
arch/x86/link.lds.S
arch/x86/pv/head.S
build/common.mk
build/files.mk