aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/go-patches/0003-cmd-link-ignore-SEH-marking-on-PE-objects.patch
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-22 16:30:22 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-22 22:00:33 +0100
commit48ce78335a1445b01bd3cec499bdb07c2e5adfbf (patch)
tree376551baa5cc4a519e2b6829c5a7b03a6c5e2641 /go-patches/0003-cmd-link-ignore-SEH-marking-on-PE-objects.patch
parentdocs: remove highlighting from cmd examples in readme (diff)
downloadwireguard-windows-48ce78335a1445b01bd3cec499bdb07c2e5adfbf.tar.xz
wireguard-windows-48ce78335a1445b01bd3cec499bdb07c2e5adfbf.zip
go-patches: add back hires windows timer patches
This adds back the high resolution timer patches, but with the addition of Alex's recent fix to branch to the old code in the event that 0x28(%gs) is zeroed out. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'go-patches/0003-cmd-link-ignore-SEH-marking-on-PE-objects.patch')
-rw-r--r--go-patches/0003-cmd-link-ignore-SEH-marking-on-PE-objects.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/go-patches/0003-cmd-link-ignore-SEH-marking-on-PE-objects.patch b/go-patches/0003-cmd-link-ignore-SEH-marking-on-PE-objects.patch
index 4bc72361..8dfdcb7f 100644
--- a/go-patches/0003-cmd-link-ignore-SEH-marking-on-PE-objects.patch
+++ b/go-patches/0003-cmd-link-ignore-SEH-marking-on-PE-objects.patch
@@ -1,7 +1,7 @@
From e8142ab5e3b3a513683a8e3792e6197644547981 Mon Sep 17 00:00:00 2001
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
Date: Sun, 8 Nov 2020 03:20:36 +0100
-Subject: [PATCH 3/8] cmd/link: ignore SEH marking on PE objects
+Subject: [PATCH 03/10] cmd/link: ignore SEH marking on PE objects
Microsoft's linker looks at whether all input objects have an empty
section called @feat.00. If all of them do, then it enables SEH;
@@ -43,5 +43,5 @@ index 5839a6a5f2..b60b84ce9f 100644
if pesym.SectionNumber > 0 {
sect = f.Sections[pesym.SectionNumber-1]
--
-2.29.1
+2.29.2