On 10.04.2025 16:39, Daniel P. Smith wrote: > On 4/2/25 04:51, Jan Beulich wrote: >> --- a/xen/arch/x86/arch.mk >> +++ b/xen/arch/x86/arch.mk >> @@ -113,6 +113,7 @@ efi-nr-fixups := $(shell LC_ALL=C $(OBJD >> >> ifeq ($(efi-nr-fixups),2) >> MKRELOC := : >> +EFI_LDFLAGS += --disable-high-entropy-va >> else >> MKRELOC := arch/x86/efi/mkreloc >> # If the linker produced fixups but not precisely two of them, we need to >> @@ -123,6 +124,8 @@ EFI_LDFLAGS += --disable-reloc-section >> endif >> endif >> >> +EFI_LDFLAGS += --dynamicbase >> + >> endif # $(XEN_BUILD_PE) >> >> export XEN_BUILD_EFI XEN_BUILD_PE > > Seems straightforward, will rely on your knowledge of binutils that > there are no unattended effects from the flags. > > Acked-by: Daniel P. Smith <dpsm...@apertussolutions.com>
Thanks, but to clarify: If there's an issue here, it would be with the PE loaders in the various EFI implementations; the binutils side is of little concern (as to the effects of the flags). Jan