Telling just the compiler to produce little-endian objects isn't enough. Signed-off-by: Jan Beulich <[email protected]>
--- a/xen/arch/ppc/arch.mk +++ b/xen/arch/ppc/arch.mk @@ -7,6 +7,8 @@ ppc-march-$(CONFIG_POWER_ISA_3_00) := po 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 =
