From d6b177d1eb7849375e246b97c58406aed7350c86 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Thu, 14 Apr 2016 15:08:24 -0400 Subject: [PATCH] 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 --- src/runtime/os_linux_386.go | 12 ------------ src/runtime/os_linux_noauxv.go | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 src/runtime/os_linux_386.go 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 -- 2.48.1