third_party/efistub: update to use PE entry point
The old efistub used the EFI handover mechanism, which only exists for
x86_64. Since Linux 5.8 x86_64 also supports the standard PE entry point
which works the same for all supported architectures. That also has the
benefit of no longer needing a weird hack to switch to SysV ABI to call
into the kernel.
Change-Id: Icd75599758e09d888a31c31f07967dfc78356fca
Reviewed-on: https://review.monogon.dev/c/monogon/+/4213
Tested-by: Jenkins CI
Reviewed-by: Tim Windelschmidt <tim@monogon.tech>
diff --git a/build/bazel/third_party.MODULE.bazel b/build/bazel/third_party.MODULE.bazel
index d218d2f..e58b8f3 100644
--- a/build/bazel/third_party.MODULE.bazel
+++ b/build/bazel/third_party.MODULE.bazel
@@ -279,16 +279,15 @@
# Developed in the systemd monorepo, pinned to master as there have been a bunch of critical fixes for the
# EFI stub since 249.
-EFISTUB_VERSION = "3542da2442d8b29661b47c42ad7e5fa9bc8562ec"
+EFISTUB_VERSION = "927ebebe588970fa2dd082a0daaef246229f009b"
http_archive(
name = "efistub",
build_file = "//third_party/efistub:efistub.bzl",
- integrity = "sha256-AhwTW+45ynNG0fCZI758BEo9NYZv9BGnyWJnAv9MlSM=",
+ integrity = "sha256-Epun4Cq5/ThCDKFoqFZaI+0Xb5wq+B0JMSkx3VsHR+0=",
patch_args = ["-p1"],
patches = [
- "//third_party/efistub/patches:use-sysv-for-kernel.patch",
- "//third_party/efistub/patches:remove-wrong-cmdline-assertion.patch",
+ "//third_party/efistub/patches:use-local-uchar.patch",
"//third_party/efistub/patches:ab-slot-handling.patch",
],
strip_prefix = "systemd-%s" % EFISTUB_VERSION,