On Wed, 2022-08-17 at 09:49 +0200, Ard Biesheuvel wrote: > > > > > > I am trying to port the generic EFI zboot support to LoongArch, but I > am running into a problem: > > The zboot EFI image consists of > > zImage.o, created with objcopy -O binary > zboot-header.o, created using the assembler > libstub.a, created as usual > > This results in errors such as > arch/loongarch/boot/zboot-header.o: can't link different ABI object. > failed to merge target specific data of file > arch/loongarch/boot/zboot-header.o > > which I think is caused by the fact that objcopy does not set the LP64 > soft float flags on the ELF object it creates. > > Do you see any way around this limitation? Update to Binutils-2.39 (https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=83c5f3a) -- Xi Ruoyao <xry111@xxxxxxxxxxx> School of Aerospace Science and Technology, Xidian University