diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-06-21 22:11:04 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-06-21 22:11:04 +0000 |
commit | b95cd48b01b1340475dd7a408af6d665822a8cf5 (patch) | |
tree | 72625660a997749459ccfe70d454dc9febc61f6f /libgo/go | |
parent | 1701a9d8f0ca4153bbf3cf75487c6a14606e5121 (diff) | |
download | gcc-b95cd48b01b1340475dd7a408af6d665822a8cf5.zip gcc-b95cd48b01b1340475dd7a408af6d665822a8cf5.tar.gz gcc-b95cd48b01b1340475dd7a408af6d665822a8cf5.tar.bz2 |
libgo: remove old MIPS architecture names
This removes the old names for the 3 main MIPS ABIs: mipso32, mipsn32
and mipsn64. It also removes the mipso64 ABI which has no equivalent
architecture name in go. This ABI has been dead for sometime and I doubt
anyone will miss it.
Reviewed-on: https://go-review.googlesource.com/46154
From-SVN: r249477
Diffstat (limited to 'libgo/go')
-rw-r--r-- | libgo/go/cmd/cgo/main.go | 8 | ||||
-rw-r--r-- | libgo/go/go/build/syslist.go | 2 | ||||
-rw-r--r-- | libgo/go/internal/syscall/unix/getrandom_linux_mips64p32x.go | 2 | ||||
-rw-r--r-- | libgo/go/internal/syscall/unix/getrandom_linux_mips64x.go | 2 | ||||
-rw-r--r-- | libgo/go/runtime/hash32.go | 2 | ||||
-rw-r--r-- | libgo/go/runtime/hash64.go | 2 | ||||
-rw-r--r-- | libgo/go/runtime/lfstack_32bit.go | 2 | ||||
-rw-r--r-- | libgo/go/runtime/lfstack_64bit.go | 2 | ||||
-rw-r--r-- | libgo/go/runtime/unaligned2.go | 2 | ||||
-rw-r--r-- | libgo/go/syscall/endian_big.go | 2 |
10 files changed, 9 insertions, 17 deletions
diff --git a/libgo/go/cmd/cgo/main.go b/libgo/go/cmd/cgo/main.go index e8f3a03..ac10205 100644 --- a/libgo/go/cmd/cgo/main.go +++ b/libgo/go/cmd/cgo/main.go @@ -145,10 +145,6 @@ var ptrSizeMap = map[string]int64{ "arm": 4, "arm64": 8, "m68k": 4, - "mipso32": 4, - "mipsn32": 4, - "mipso64": 8, - "mipsn64": 8, "mips": 4, "mipsle": 4, "mips64": 8, @@ -171,10 +167,6 @@ var intSizeMap = map[string]int64{ "arm": 4, "arm64": 8, "m68k": 4, - "mipso32": 4, - "mipsn32": 4, - "mipso64": 8, - "mipsn64": 8, "mips": 4, "mipsle": 4, "mips64": 8, diff --git a/libgo/go/go/build/syslist.go b/libgo/go/go/build/syslist.go index fe9820e..290ba9e 100644 --- a/libgo/go/go/build/syslist.go +++ b/libgo/go/go/build/syslist.go @@ -5,4 +5,4 @@ package build const goosList = "aix android darwin dragonfly freebsd linux nacl netbsd openbsd plan9 solaris windows zos " -const goarchList = "386 amd64 amd64p32 arm armbe arm64 arm64be alpha m68k ppc64 ppc64le mips mipsle mips64 mips64le mips64p32 mips64p32le mipso32 mipsn32 mipsn64 mipso64 ppc s390 s390x sparc sparc64 " +const goarchList = "386 amd64 amd64p32 arm armbe arm64 arm64be alpha m68k ppc64 ppc64le mips mipsle mips64 mips64le mips64p32 mips64p32le ppc s390 s390x sparc sparc64 " diff --git a/libgo/go/internal/syscall/unix/getrandom_linux_mips64p32x.go b/libgo/go/internal/syscall/unix/getrandom_linux_mips64p32x.go index d8f6ae5..4d8f6c5 100644 --- a/libgo/go/internal/syscall/unix/getrandom_linux_mips64p32x.go +++ b/libgo/go/internal/syscall/unix/getrandom_linux_mips64p32x.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 mipsn32 mips64p32 mips64p32le +// +build mips64p32 mips64p32le package unix diff --git a/libgo/go/internal/syscall/unix/getrandom_linux_mips64x.go b/libgo/go/internal/syscall/unix/getrandom_linux_mips64x.go index 02fd1a0..b328b8f 100644 --- a/libgo/go/internal/syscall/unix/getrandom_linux_mips64x.go +++ b/libgo/go/internal/syscall/unix/getrandom_linux_mips64x.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 mips64 mips64le mipsn64 mipso64 +// +build mips64 mips64le package unix diff --git a/libgo/go/runtime/hash32.go b/libgo/go/runtime/hash32.go index cfb3a58..dd2e657 100644 --- a/libgo/go/runtime/hash32.go +++ b/libgo/go/runtime/hash32.go @@ -6,7 +6,7 @@ // xxhash: https://code.google.com/p/xxhash/ // cityhash: https://code.google.com/p/cityhash/ -// +build 386 arm armbe m68k mipso32 mipsn32 mips mipsle ppc s390 sparc +// +build 386 arm armbe m68k mips mipsle ppc s390 sparc package runtime diff --git a/libgo/go/runtime/hash64.go b/libgo/go/runtime/hash64.go index 551d5b5..f7d4a6f2 100644 --- a/libgo/go/runtime/hash64.go +++ b/libgo/go/runtime/hash64.go @@ -6,7 +6,7 @@ // xxhash: https://code.google.com/p/xxhash/ // cityhash: https://code.google.com/p/cityhash/ -// +build amd64 amd64p32 arm64 mips64 mips64le ppc64 ppc64le s390x alpha arm64be ia64 mipso64 mipsn64 mips64p32 mips64p32le sparc64 +// +build amd64 amd64p32 arm64 mips64 mips64le ppc64 ppc64le s390x alpha arm64be ia64 mips64p32 mips64p32le sparc64 package runtime diff --git a/libgo/go/runtime/lfstack_32bit.go b/libgo/go/runtime/lfstack_32bit.go index bc53b13..ab0edab 100644 --- a/libgo/go/runtime/lfstack_32bit.go +++ b/libgo/go/runtime/lfstack_32bit.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 386 arm nacl armbe m68k mips mipsle mips64p32 mips64p32le mipso32 mipsn32 ppc s390 sparc +// +build 386 arm nacl armbe m68k mips mipsle mips64p32 mips64p32le ppc s390 sparc package runtime diff --git a/libgo/go/runtime/lfstack_64bit.go b/libgo/go/runtime/lfstack_64bit.go index 8a39fee..3d5588d 100644 --- a/libgo/go/runtime/lfstack_64bit.go +++ b/libgo/go/runtime/lfstack_64bit.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 amd64 arm64 mips64 mips64le ppc64 ppc64le s390x arm64be alpha mipsn64 sparc64 ia64 +// +build amd64 arm64 mips64 mips64le ppc64 ppc64le s390x arm64be alpha sparc64 ia64 package runtime diff --git a/libgo/go/runtime/unaligned2.go b/libgo/go/runtime/unaligned2.go index b8aefb9..a33c87a 100644 --- a/libgo/go/runtime/unaligned2.go +++ b/libgo/go/runtime/unaligned2.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 arm mips mipsle mips64 mips64le armbe m68k mipso32 mipsn32 sparc alpha ia64 mipso64 mipsn64 mips64p32 mips64p32le sparc64 +// +build arm mips mipsle mips64 mips64le armbe m68k sparc alpha ia64 mips64p32 mips64p32le sparc64 package runtime diff --git a/libgo/go/syscall/endian_big.go b/libgo/go/syscall/endian_big.go index b96594e..f8ee7cf 100644 --- a/libgo/go/syscall/endian_big.go +++ b/libgo/go/syscall/endian_big.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 s390x mips mips64 armbe arm64be m68k ppc mipso32 mipsn32 mipso64 mipsn64 mips64p32 s390 sparc sparc64 +// +build ppc64 s390x mips mips64 armbe arm64be m68k ppc mips64p32 s390 sparc sparc64 package syscall |