From 5adb4ac800af3f69dfa517c7ec0dfb8d2745e310 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Fri, 12 May 2023 20:24:44 +0100 Subject: [PATCH] internal/linker: generate 1.20 patches again From https://github.com/burrowers/go-patches/pull/3. --- .../linker/patches/go1.20/0001-add-custom-magic-value.patch | 6 +++--- .../go1.20/0002-add-unexported-function-name-removing.patch | 6 +++--- .../patches/go1.20/0003-add-entryOff-encryption.patch | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/internal/linker/patches/go1.20/0001-add-custom-magic-value.patch b/internal/linker/patches/go1.20/0001-add-custom-magic-value.patch index 8d0596e..f23fba6 100644 --- a/internal/linker/patches/go1.20/0001-add-custom-magic-value.patch +++ b/internal/linker/patches/go1.20/0001-add-custom-magic-value.patch @@ -1,7 +1,7 @@ -From 4d7daa11a4ddf84ac91f634364ee84704d1cced4 Mon Sep 17 00:00:00 2001 +From ea90dd90688b91b280933e1543594d3d2639482e Mon Sep 17 00:00:00 2001 From: pagran Date: Mon, 9 Jan 2023 13:30:00 +0100 -Subject: [PATCH 1/2] add custom magic value +Subject: [PATCH 1/3] add custom magic value --- cmd/link/internal/ld/pcln.go | 13 +++++++++++++ @@ -32,5 +32,5 @@ index 34ab86cf12..b89a4d650c 100644 state.pcheader = state.addGeneratedSym(ctxt, "runtime.pcheader", size, writeHeader) -- -2.38.1.windows.1 +2.40.1 diff --git a/internal/linker/patches/go1.20/0002-add-unexported-function-name-removing.patch b/internal/linker/patches/go1.20/0002-add-unexported-function-name-removing.patch index de7ee49..4b71ff7 100644 --- a/internal/linker/patches/go1.20/0002-add-unexported-function-name-removing.patch +++ b/internal/linker/patches/go1.20/0002-add-unexported-function-name-removing.patch @@ -1,7 +1,7 @@ -From 66b62926efea3b28775c21839d8f372f7f2c59e0 Mon Sep 17 00:00:00 2001 +From 32d5f31bf11858d9282271980a923bdde2ed5ffe Mon Sep 17 00:00:00 2001 From: pagran Date: Mon, 9 Jan 2023 13:30:36 +0100 -Subject: [PATCH 2/2] add unexported function name removing +Subject: [PATCH 2/3] add unexported function name removing --- cmd/link/internal/ld/pcln.go | 30 +++++++++++++++++++++++++++++- @@ -69,5 +69,5 @@ index b89a4d650c..ab13b15042 100644 }) -- -2.38.1.windows.1 +2.40.1 diff --git a/internal/linker/patches/go1.20/0003-add-entryOff-encryption.patch b/internal/linker/patches/go1.20/0003-add-entryOff-encryption.patch index 11a7240..d9e5e6f 100644 --- a/internal/linker/patches/go1.20/0003-add-entryOff-encryption.patch +++ b/internal/linker/patches/go1.20/0003-add-entryOff-encryption.patch @@ -1,4 +1,4 @@ -From 99349f6e00859e1bd5c1dd14921b6b9d4aac9966 Mon Sep 17 00:00:00 2001 +From bd2adb2221c87bd80d4593473b2b45904dc8e8fc Mon Sep 17 00:00:00 2001 From: pagran Date: Sat, 14 Jan 2023 21:36:16 +0100 Subject: [PATCH 3/3] add entryOff encryption @@ -39,5 +39,5 @@ index ab13b15042..8e2fa09434 100644 // pclntab initializes the pclntab symbol with -- -2.38.1.windows.1 +2.40.1