diff mbox series

libgo patch committed: Fix system call numbers for ppc

Message ID CAOyqgcXWe6izoDBOM_-LeumJk=8K9Ofp=8i0=jGxUX-nHh5wNw@mail.gmail.com
State New
Headers show
Series libgo patch committed: Fix system call numbers for ppc | expand

Commit Message

Ian Lance Taylor Aug. 11, 2020, 7:29 p.m. UTC
The libgo update to the Go1.15rc1 release accidentally broke the
system call numbers used for 32-bit PPC.  This patch fixes the
problem.  This fixes GCC PR 96567.  Bootstrapped and ran Go tests on
x86_64-pc-linux-gnu.  Committed to mainline.

Ian
2dda65380ae0b038884ed0e8b30c624486a516c2
diff mbox series

Patch

diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 93aa18cec06..08daa1a5924 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@ 
-c512af85eb8c75a759b5e4fc6b72041fe09b75f1
+e08f1d7d1bc14c0a29eb9ee17980f14fa2397239
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
diff --git a/libgo/go/internal/syscall/unix/sysnum_linux_ppc64x.go b/libgo/go/internal/syscall/unix/sysnum_linux_ppc64x.go
index 576937e3f5c..aa2e81a667e 100644
--- a/libgo/go/internal/syscall/unix/sysnum_linux_ppc64x.go
+++ b/libgo/go/internal/syscall/unix/sysnum_linux_ppc64x.go
@@ -2,7 +2,7 @@ 
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build ppc64 ppc64le
+// +build ppc ppc64 ppc64le
 
 package unix