From d7cbe95436f76db557f06ad7382f3ef78a039946 Mon Sep 17 00:00:00 2001 From: "bot-for-go[bot]" <199222863+bot-for-go[bot]@users.noreply.github.com> Date: Wed, 1 Jul 2026 16:07:39 +0000 Subject: [PATCH 1/2] Update submodule to latest master (d90bf6d7): net/http: add Server.MaxHeaderValueCount setting --- go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go b/go index 76d509e948..d90bf6d722 160000 --- a/go +++ b/go @@ -1 +1 @@ -Subproject commit 76d509e948d3a6e663936b7860444799efa82fe0 +Subproject commit d90bf6d72263ef6eb0e26b1f6b3fd8322dcfba98 From 71fb253e695a61fbbe1f3df38843baa55e166129 Mon Sep 17 00:00:00 2001 From: George Adams Date: Thu, 2 Jul 2026 11:35:19 +0100 Subject: [PATCH 2/2] remove patch 12 --- ...012-Fix-PE-BSS-symbol-classification.patch | 46 ------------------- 1 file changed, 46 deletions(-) delete mode 100644 patches/0012-Fix-PE-BSS-symbol-classification.patch diff --git a/patches/0012-Fix-PE-BSS-symbol-classification.patch b/patches/0012-Fix-PE-BSS-symbol-classification.patch deleted file mode 100644 index 8c7d750691..0000000000 --- a/patches/0012-Fix-PE-BSS-symbol-classification.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: qmuntal -Date: Mon, 29 Jun 2026 16:43:27 +0200 -Subject: [PATCH] cmd/internal/objfile: fix PE BSS symbol classification - -The PE symbol reader uses runtime.bss to distinguish initialized data from BSS -when Windows internal linking places BSS at the end of a writable data section. - -For externally linked PE files, symbol values are section-relative, so comparing -a symbol in one section against runtime.bss from another section can misclassify -initialized data such as runtime.noptrdata as BSS. - -Remember the section containing runtime.bss and only apply the BSS-boundary -heuristic to symbols from that same section. ---- - src/cmd/internal/objfile/pe.go | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/src/cmd/internal/objfile/pe.go b/src/cmd/internal/objfile/pe.go -index ca8add70ba..7bbfaa54d1 100644 ---- a/src/cmd/internal/objfile/pe.go -+++ b/src/cmd/internal/objfile/pe.go -@@ -44,9 +44,11 @@ func (f *peFile) symbols() ([]Sym, error) { - // That is, there can be BSS symbols at the end of the page - // that holds the last data symbols. - var bssAddr uint32 -+ var bssSectionNumber int16 - for _, s := range f.pe.Symbols { - if s.Name == "runtime.bss" { - bssAddr = s.Value -+ bssSectionNumber = s.SectionNumber - break - } - } -@@ -84,7 +86,7 @@ func (f *peFile) symbols() ([]Sym, error) { - case ch&data != 0: - if ch&permW == 0 { - sym.Code = 'R' -- } else if bssAddr > 0 && s.Value >= bssAddr { -+ } else if bssSectionNumber == s.SectionNumber && bssAddr > 0 && s.Value >= bssAddr { - // Past runtime.bss is BSS. - sym.Code = 'B' - } else if s.Value >= sect.Size { --- -2.54.0.windows.1 -