aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/go-patches/0002-cmd-link-deal-with-ADDR32NB-relocations-the-same-way.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/0002-cmd-link-deal-with-ADDR32NB-relocations-the-same-way.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/0002-cmd-link-deal-with-ADDR32NB-relocations-the-same-way.patch')
-rw-r--r--go-patches/0002-cmd-link-deal-with-ADDR32NB-relocations-the-same-way.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/go-patches/0002-cmd-link-deal-with-ADDR32NB-relocations-the-same-way.patch b/go-patches/0002-cmd-link-deal-with-ADDR32NB-relocations-the-same-way.patch
index d47b079d..91d90f67 100644
--- a/go-patches/0002-cmd-link-deal-with-ADDR32NB-relocations-the-same-way.patch
+++ b/go-patches/0002-cmd-link-deal-with-ADDR32NB-relocations-the-same-way.patch
@@ -1,8 +1,8 @@
From a0a59fc25f4d8aef3c7bce38c84f04c504745f0e Mon Sep 17 00:00:00 2001
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
Date: Sun, 8 Nov 2020 03:09:42 +0100
-Subject: [PATCH 2/8] cmd/link: deal with ADDR32NB relocations the same way as
- ADDR32 on arm
+Subject: [PATCH 02/10] cmd/link: deal with ADDR32NB relocations the same way
+ as ADDR32 on arm
As far as I can tell, the addend is the same for both of these, and in
this context we don't really care about setting or unsetting the thumb
@@ -27,5 +27,5 @@ index cf76741f43..5839a6a5f2 100644
rAdd = int64(int32(binary.LittleEndian.Uint32(sectdata[rsect][rOff:])))
--
-2.29.1
+2.29.2