[Pkg-golang-commits] [golang] 02/03: start changelog
Michael Hudson-Doyle
mwhudson-guest at moszumanska.debian.org
Tue Jan 30 02:03:55 UTC 2018
This is an automated email from the git hooks/post-receive script.
mwhudson-guest pushed a commit to branch golang-1.9
in repository golang.
commit de717440c5d694341f69adb0cbf751ebef9ec951
Author: Michael Hudson-Doyle <michael.hudson at canonical.com>
Date: Tue Jan 30 12:52:36 2018 +1300
start changelog
---
debian/changelog | 7 +++
.../patches/0003-Do-not-use-SP-as-index-reg.patch | 56 ----------------------
debian/patches/series | 1 -
3 files changed, 7 insertions(+), 57 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 7547f46..d2705e1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+golang-1.9 (1.9.3-1) UNRELEASED; urgency=medium
+
+ * New upstream version.
+ - d/patches/0003-Do-not-use-SP-as-index-reg.patch: remove, included upstream.
+
+ -- Michael Hudson-Doyle <mwhudson at debian.org> Tue, 30 Jan 2018 12:50:16 +1300
+
golang-1.9 (1.9.2-4) unstable; urgency=medium
* Enable building on mips, mipsel and mips64. (Closes: 879764)
diff --git a/debian/patches/0003-Do-not-use-SP-as-index-reg.patch b/debian/patches/0003-Do-not-use-SP-as-index-reg.patch
deleted file mode 100644
index 8285b2a..0000000
--- a/debian/patches/0003-Do-not-use-SP-as-index-reg.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-Author: Keith Randall <khr at golang.org>
-Date: Wed Oct 25 13:46:38 2017 -0700
-Description: cmd/compile: make sure not to use SP as an index register
- ...because that's an illegal addressing mode.
-Reviewed-on: https://go-review.googlesource.com/73551
-Bug-Upstream: https://github.com/golang/go/issues/22429
-
-diff --git a/src/cmd/compile/internal/x86/387.go b/src/cmd/compile/internal/x86/387.go
-index cdac000..7a36224 100644
---- a/src/cmd/compile/internal/x86/387.go
-+++ b/src/cmd/compile/internal/x86/387.go
-@@ -46,6 +46,9 @@
- case ssa.Op386MOVSSloadidx1, ssa.Op386MOVSDloadidx1:
- p.From.Scale = 1
- p.From.Index = v.Args[1].Reg()
-+ if p.From.Index == x86.REG_SP {
-+ p.From.Reg, p.From.Index = p.From.Index, p.From.Reg
-+ }
- case ssa.Op386MOVSSloadidx4:
- p.From.Scale = 4
- p.From.Index = v.Args[1].Reg()
-@@ -95,6 +98,9 @@
- case ssa.Op386MOVSSstoreidx1, ssa.Op386MOVSDstoreidx1:
- p.To.Scale = 1
- p.To.Index = v.Args[1].Reg()
-+ if p.To.Index == x86.REG_SP {
-+ p.To.Reg, p.To.Index = p.To.Index, p.To.Reg
-+ }
- case ssa.Op386MOVSSstoreidx4:
- p.To.Scale = 4
- p.To.Index = v.Args[1].Reg()
-
-diff --git a/test/fixedbugs/issue22429.go b/test/fixedbugs/issue22429.go
-new file mode 100644
-index 0000000..289b434
---- /dev/null
-+++ b/test/fixedbugs/issue22429.go
-@@ -0,0 +1,18 @@
-+// compile
-+
-+// Copyright 2017 The Go Authors. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+// Make sure SSA->assembly pass can handle SP as an index register.
-+
-+package p
-+
-+type T struct {
-+ a,b,c,d float32
-+}
-+
-+func f(a *[8]T, i,j,k int) float32 {
-+ b := *a
-+ return b[i].a + b[j].b + b[k].c
-+}
diff --git a/debian/patches/series b/debian/patches/series
index 47c2abc..6fcf735 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1,4 @@
0002-reproducible-BUILD_PATH_PREFIX_MAP.patch
-0003-Do-not-use-SP-as-index-reg.patch
0004-cmd-dist-use-buildmode-pie-for-pie-testing.patch
0005-runtime-use-buildmode-pie-in-testCgoPprofPIE-instead.patch
0006-misc-cgo-testcarchive-use-no-pie-where-needed.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-golang/golang.git
More information about the pkg-golang-commits
mailing list