[PATCH] efi_loader: Enable run-time variable support for tee based variables
Andreas Schwab
schwab at suse.de
Fri Jan 15 17:34:04 CET 2021
On Jan 14 2021, Atish Patra wrote:
> I am a bit confused how this will work. This means it will reside in GOT
> which is not mapped in virtual address for Linux. Whenever we try to
> invoke get_variable service, it will panic.
> Did we miss a trick in RISC-V ?
I think the problem really is that RISC-V use -fpic for compiling. If I
change that to -fpie, there is no longer a GOT reference.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab at suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the U-Boot
mailing list