From 48ce78335a1445b01bd3cec499bdb07c2e5adfbf Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 22 Nov 2020 16:30:22 +0100 Subject: 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 --- .../0002-cmd-link-deal-with-ADDR32NB-relocations-the-same-way.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'go-patches/0002-cmd-link-deal-with-ADDR32NB-relocations-the-same-way.patch') 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" 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 -- cgit v1.2.3-59-g8ed1b