Skip to content

Commit

Permalink
runtime/cgo: consolidate openbsd cgo code
Browse files Browse the repository at this point in the history
All openbsd architectures now use the same code, deduplicate accordingly.

Change-Id: I65f1d9bd78c97dbdf552ec95ebba7ec4d04c8d2d
Reviewed-on: https://go-review.googlesource.com/c/go/+/518622
Run-TryBot: Joel Sing <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
  • Loading branch information
4a6f656c committed Aug 15, 2023
1 parent 0ab0d4e commit f278122
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 239 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build openbsd && (386 || arm || amd64 || arm64 || riscv64)

#include <sys/types.h>
#include <pthread.h>
#include <signal.h>
Expand Down
59 changes: 0 additions & 59 deletions src/runtime/cgo/gcc_openbsd_amd64.c

This file was deleted.

60 changes: 0 additions & 60 deletions src/runtime/cgo/gcc_openbsd_arm.c

This file was deleted.

60 changes: 0 additions & 60 deletions src/runtime/cgo/gcc_openbsd_arm64.c

This file was deleted.

60 changes: 0 additions & 60 deletions src/runtime/cgo/gcc_openbsd_mips64.c

This file was deleted.

0 comments on commit f278122

Please sign in to comment.