From 450189162e15c813713b5c3a5208bdb6380c17f8 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 3 Dec 2020 13:40:02 +0100 Subject: ringlogger: hook into global panic writer This is a grotesque hack, and hopefully upstream Go will provide a nicer way of doing this, but already it seems quite adept at catching panics. See https://github.com/golang/go/issues/42888 for more info. This requires us to rewrite the ringlogger path to avoid all allocations. Signed-off-by: Jason A. Donenfeld --- .../0011-cmd-link-windows-arm-is-all-pie-so-mark-it-as-such.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'go-patches/0011-cmd-link-windows-arm-is-all-pie-so-mark-it-as-such.patch') diff --git a/go-patches/0011-cmd-link-windows-arm-is-all-pie-so-mark-it-as-such.patch b/go-patches/0011-cmd-link-windows-arm-is-all-pie-so-mark-it-as-such.patch index 72cbb000..a2984678 100644 --- a/go-patches/0011-cmd-link-windows-arm-is-all-pie-so-mark-it-as-such.patch +++ b/go-patches/0011-cmd-link-windows-arm-is-all-pie-so-mark-it-as-such.patch @@ -1,7 +1,7 @@ From fee7906e1a7e62b655bea0f25c921572ee29fc44 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 26 Nov 2020 22:38:45 +0100 -Subject: [PATCH 11/13] cmd/link: windows/arm is all pie, so mark it as such +Subject: [PATCH 11/14] cmd/link: windows/arm is all pie, so mark it as such If the linker thinks that it's making an exe instead of a pie object, it won't apply relocations to the pclntab and we wind up with crashes like: -- cgit v1.2.3-59-g8ed1b