diff options
| author | qmuntal <quimmuntal@gmail.com> | 2026-02-17 14:26:03 +0100 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2026-02-19 00:55:28 -0800 |
| commit | b2b1e923ed0e6e44f38948acf601ea22b46087a2 (patch) | |
| tree | e8855fb121f52e5f2ce51ce2211b488dc2c7707c /src/runtime | |
| parent | a3b5ce2234dfadff260fca8197ab68ea55fd2654 (diff) | |
| download | go-b2b1e923ed0e6e44f38948acf601ea22b46087a2.tar.xz | |
runtime/cgo: remove unnecessary ARM_TP_ADDRESS check on FreeBSD
ARM_TP_ADDRESS has not been used since https://golang.org/cl/89150043.
There is no need to check that value anymore.
Change-Id: I9772de3587aec562c9ab48d0def11e3714e5263a
Reviewed-on: https://go-review.googlesource.com/c/go/+/745603
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Quim Muntal <quimmuntal@gmail.com>
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/cgo/gcc_freebsd.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/runtime/cgo/gcc_freebsd.c b/src/runtime/cgo/gcc_freebsd.c deleted file mode 100644 index e4e2577a94..0000000000 --- a/src/runtime/cgo/gcc_freebsd.c +++ /dev/null @@ -1,16 +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. - -//go:build freebsd - -#include <machine/sysarch.h> - -#ifdef ARM_TP_ADDRESS -// ARM_TP_ADDRESS is (ARM_VECTORS_HIGH + 0x1000) or 0xffff1000 -// and is known to runtime.read_tls_fallback. Verify it with -// cpp. -#if ARM_TP_ADDRESS != 0xffff1000 -#error Wrong ARM_TP_ADDRESS! -#endif -#endif |
