[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] xen/arm: unbreak arm64 build for older toolchains



commit 2c19c7e8bb40c910c0105a08c0e56edd2ea0e5ed
Author:     Stefano Stabellini <sstabellini@xxxxxxxxxx>
AuthorDate: Wed Aug 7 09:49:15 2019 -0700
Commit:     Stefano Stabellini <sstabellini@xxxxxxxxxx>
CommitDate: Wed Aug 7 09:55:51 2019 -0700

    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@xxxxxxxxxx>
    Reviewed-by: Julien Grall <julien.grall@xxxxxxx>
---
 xen/arch/arm/arm64/head.S | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xen/arch/arm/arm64/head.S b/xen/arch/arm/arm64/head.S
index 28efe9230c..50cff08756 100644
--- a/xen/arch/arm/arm64/head.S
+++ b/xen/arch/arm/arm64/head.S
@@ -25,6 +25,7 @@
 #include <asm/early_printk.h>
 #include <efi/efierr.h>
 #include <asm/arm64/efibind.h>
+#include <asm/arm64/macros.h>
 
 #define PT_PT     0xf7f /* nG=1 AF=1 SH=11 AP=01 NS=1 ATTR=111 T=1 P=1 */
 #define PT_MEM    0xf7d /* nG=1 AF=1 SH=11 AP=01 NS=1 ATTR=111 T=0 P=1 */
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.