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-26 22:59:03 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-27 13:15:38 +0100
commit3dfb99b12884b95fa24735bca01d457cddfa8405 (patch)
tree5d2b537ef41d87090f8381c4796a8a2e5cf27850 /go-patches/0004-cmd-link-do-not-mark-resource-section-as-writable.patch
parentmod: bump (diff)
downloadwireguard-windows-3dfb99b12884b95fa24735bca01d457cddfa8405.tar.xz
wireguard-windows-3dfb99b12884b95fa24735bca01d457cddfa8405.zip
go-patches: force PIE mode 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 f98fa79b..6ef0564f 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 8255e115f325a58fd4746741f9f35c2f54d70d63 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 04/10] cmd/link: do not mark resource section as writable
+Subject: [PATCH 04/11] 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