]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
internal/syscall/unix: implement randomTrap on mips64p32*
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 21 Jun 2017 21:47:35 +0000 (21:47 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 21 Jun 2017 21:47:35 +0000 (21:47 +0000)
    Rename getrandom_linux_mipsn32.go to use the new architecture name for
    the n32 ABI and enable building it on mips64p32 and mips64p32le.

    Reviewed-on: https://go-review.googlesource.com/46151

From-SVN: r249474

gcc/go/gofrontend/MERGE
libgo/go/internal/syscall/unix/getrandom_linux_mips64p32x.go [moved from libgo/go/internal/syscall/unix/getrandom_linux_mipsn32.go with 87% similarity]

index 5ef0cc0c78c0128019970e408710feb346d3d33e..74d94b9b0e16d7f339995ec01e6430088247b73b 100644 (file)
@@ -1,4 +1,4 @@
-b2bebba1f8a8185546c47f8460a3d5c2e31d0434
+c49c752b4d2934cff325dd540821c4b27cc61a05
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
similarity index 87%
rename from libgo/go/internal/syscall/unix/getrandom_linux_mipsn32.go
rename to libgo/go/internal/syscall/unix/getrandom_linux_mips64p32x.go
index 8f481fa58ddcc8c2fc871572df4628c626ad2d6e..d8f6ae551d2fe3195c18649a312568f40d320919 100644 (file)
@@ -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 mipsn32
+// +build mipsn32 mips64p32 mips64p32le
 
 package unix