|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] ppc: make also linking work with big-endian tool chain
commit 886c22f00c575199f7bb3dc5b7662dd09bf05146
Author: Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Thu Jul 6 09:06:48 2023 +0200
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Thu Jul 6 09:06:48 2023 +0200
ppc: make also linking work with big-endian tool chain
Telling just the compiler to produce little-endian objects isn't enough.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Acked-by: Shawn Anastasio <sanastasio@xxxxxxxxxxxxxxxxxxxxx>
---
xen/arch/ppc/arch.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/xen/arch/ppc/arch.mk b/xen/arch/ppc/arch.mk
index ec2a6136f4..7eec22c283 100644
--- a/xen/arch/ppc/arch.mk
+++ b/xen/arch/ppc/arch.mk
@@ -7,6 +7,8 @@ ppc-march-$(CONFIG_POWER_ISA_3_00) := power9
CFLAGS += -m64 -mlittle-endian -mcpu=$(ppc-march-y)
CFLAGS += -mstrict-align -mcmodel=large -mabi=elfv2 -mno-altivec -mno-vsx
+LDFLAGS += -m elf64lppc
+
# TODO: Drop override when more of the build is working
override ALL_OBJS-y = arch/$(SRCARCH)/built_in.o
override ALL_LIBS-y =
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |