On Mon, Oct 4, 2021 at 5:46 AM Andrew Jones <drjones@xxxxxxxxxx> wrote: > > On Fri, Aug 27, 2021 at 03:12:08AM +0000, Zixuan Wang wrote: > > +More details can be found in `GNU-EFI/README.gnuefi`, section "Building > > +Relocatable Binaries". > > + > > +KVM-Unit-Tests follows a similar build process, but does not link with GNU-EFI > > +library. > > So, for AArch64, I also want to drop the gnu-efi dependency of my original > PoC. My second PoC, which I haven't finished, took things a bit further > than this does, though. I was integrating a PE/COFF header and linker > script changes directly into the kvm-unit-tests code rather than copying > these files over. > > Thanks, > drew > This approach sounds really interesting. Is there a public repo for this new PoC? I think the self-relocation code is the most important one in this patch. If we can avoid or rewrite the self-relocation process, then we can pretty much avoid copying GNU-EFI files. Best regards, Zixuan