aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2016-04-14 15:08:24 -0400
committerAustin Clements <austin@google.com>2016-04-16 21:42:34 +0000
commitd6b177d1eb7849375e246b97c58406aed7350c86 (patch)
treeed79d328c1aff58d7dd60329739796dda227ed28 /src/runtime
parent90addd3d41852192ba697d33c9b1660988b82ed7 (diff)
downloadgo-d6b177d1eb7849375e246b97c58406aed7350c86.tar.xz
runtime: remove empty 386 archauxv
archauxv no longer does anything on 386, so remove it. Change-Id: I94545238e40fa6a6832a7c3b40aedfc6c1f6a97b Reviewed-on: https://go-review.googlesource.com/22063 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/os_linux_386.go12
-rw-r--r--src/runtime/os_linux_noauxv.go2
2 files changed, 1 insertions, 13 deletions
diff --git a/src/runtime/os_linux_386.go b/src/runtime/os_linux_386.go
deleted file mode 100644
index cf031afe45..0000000000
--- a/src/runtime/os_linux_386.go
+++ /dev/null
@@ -1,12 +0,0 @@
-// Copyright 2009 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.
-
-package runtime
-
-const (
- _AT_SYSINFO = 32
-)
-
-func archauxv(tag, val uintptr) {
-}
diff --git a/src/runtime/os_linux_noauxv.go b/src/runtime/os_linux_noauxv.go
index d26c85bbb6..0b46f594ce 100644
--- a/src/runtime/os_linux_noauxv.go
+++ b/src/runtime/os_linux_noauxv.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,!amd64,!arm,!arm64
+// +build !amd64,!arm,!arm64
package runtime