xen/arm: unbreak arm64 build for older toolchains
authorStefano Stabellini <sstabellini@kernel.org>
Wed, 7 Aug 2019 16:49:15 +0000 (09:49 -0700)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 7 Aug 2019 16:55:51 +0000 (09:55 -0700)
commit2c19c7e8bb40c910c0105a08c0e56edd2ea0e5ed
treea5e079e71b083b9d86357045a708ecc01e997208
parent70f9dff51ee873cf65246d3e95b27e2e92ca137b
xen/arm: unbreak arm64 build for older toolchains

Commit 4941bfb "xen/arm64: macros: Introduce an assembly macro to alias
x30" moved

  lr      .req    x30

to macros.h. A later patch (1396dab "xen/arm64: head: Don't clobber
x30/lr in the macro PRINT") started to use "lr" in head.S, however, it
didn't add an #include macros.h to head.S. This commit fixes it.

The lack of alias breaks the build with
gcc-linaro-5.3.1-2016.05-x86_64_aarch64-linux-gnu. The alias was added
later to binutils 2.29 in 2017.

Signed-off-by: Stefano Stabellini <stefanos@xilinx.com>
Reviewed-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/arm64/head.S