From cacdf0a279451ab97e6e6ce3fe0d3a025f5ce3aa Mon Sep 17 00:00:00 2001 From: Jes Cok Date: Sat, 10 Feb 2024 09:18:19 +0800 Subject: [PATCH] re --- src/internal/xcoff/file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/xcoff/file.go b/src/internal/xcoff/file.go index ea29c3978f..9b9627a74a 100644 --- a/src/internal/xcoff/file.go +++ b/src/internal/xcoff/file.go @@ -262,7 +262,7 @@ func NewFile(r io.ReaderAt) (*File, error) { } r2 := r if scnptr == 0 { // .bss must have all 0s - r2 = new(nobitsSectionReader) + r2 = &nobitsSectionReader{} } s.sr = io.NewSectionReader(r2, int64(scnptr), int64(s.Size)) s.ReaderAt = s.sr