aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/go-patches/0004-cmd-link-do-not-mark-resource-section-as-writable.patch
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-10 21:58:15 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-13 14:42:54 +0100
commit5f5da6def00972aeb2ace394f2e1cd7bb4b73a7a (patch)
tree8b20de4b3320864778fdb3a112aa6f54c17915f0 /go-patches/0004-cmd-link-do-not-mark-resource-section-as-writable.patch
parentmain: only do Wow64 check on ARM (diff)
downloadwireguard-windows-5f5da6def00972aeb2ace394f2e1cd7bb4b73a7a.tar.xz
wireguard-windows-5f5da6def00972aeb2ace394f2e1cd7bb4b73a7a.zip
go-patches: support 8 callback arguments on arm
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'go-patches/0004-cmd-link-do-not-mark-resource-section-as-writable.patch')
-rw-r--r--go-patches/0004-cmd-link-do-not-mark-resource-section-as-writable.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/go-patches/0004-cmd-link-do-not-mark-resource-section-as-writable.patch b/go-patches/0004-cmd-link-do-not-mark-resource-section-as-writable.patch
index 7898b32a..925fd8cd 100644
--- a/go-patches/0004-cmd-link-do-not-mark-resource-section-as-writable.patch
+++ b/go-patches/0004-cmd-link-do-not-mark-resource-section-as-writable.patch
@@ -1,7 +1,7 @@
From 3d9d47826907f8836cf4f364e45b8e2580dbc470 Mon Sep 17 00:00:00 2001
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
Date: Sun, 8 Nov 2020 11:11:27 +0100
-Subject: [PATCH 4/8] cmd/link: do not mark resource section as writable
+Subject: [PATCH 4/9] cmd/link: do not mark resource section as writable
Resources are immutable, and all other linkers set this section to be
read-only and not read-write. Fix this oversight by rmoving the writable