diff options
author | Jan Mercl <0xjnml@gmail.com> | 2020-09-13 15:31:23 +0200 |
---|---|---|
committer | Jan Mercl <0xjnml@gmail.com> | 2020-09-13 15:31:23 +0200 |
commit | f228816300a40a6f8cd90293a629fffad952c6ce (patch) | |
tree | d04998fba318c25f03d98220e225678a061326e8 /internal/libc2 | |
parent | 1a09ae480f6b16fb7690999ed66be5c58981c9d0 (diff) |
support linux/arm{,64}v1.7.0
Diffstat (limited to 'internal/libc2')
-rw-r--r-- | internal/libc2/capi_linux_arm.go | 21 | ||||
-rw-r--r-- | internal/libc2/capi_linux_arm64.go | 21 |
2 files changed, 42 insertions, 0 deletions
diff --git a/internal/libc2/capi_linux_arm.go b/internal/libc2/capi_linux_arm.go new file mode 100644 index 0000000..01064c4 --- /dev/null +++ b/internal/libc2/capi_linux_arm.go @@ -0,0 +1,21 @@ +// Copyright 2020 The Sqlite 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 libc2 // import "modernc.org/sqlite/internal/libc2" + +var CAPI = map[string]struct{}{ + "pthread_cond_broadcast": {}, + "pthread_cond_destroy": {}, + "pthread_cond_init": {}, + "pthread_cond_signal": {}, + "pthread_cond_wait": {}, + "pthread_create": {}, + "pthread_detach": {}, + "pthread_mutex_destroy": {}, + "pthread_mutex_init": {}, + "pthread_mutex_lock": {}, + "pthread_mutex_trylock": {}, + "pthread_mutex_unlock": {}, + "sched_yield": {}, +} diff --git a/internal/libc2/capi_linux_arm64.go b/internal/libc2/capi_linux_arm64.go new file mode 100644 index 0000000..01064c4 --- /dev/null +++ b/internal/libc2/capi_linux_arm64.go @@ -0,0 +1,21 @@ +// Copyright 2020 The Sqlite 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 libc2 // import "modernc.org/sqlite/internal/libc2" + +var CAPI = map[string]struct{}{ + "pthread_cond_broadcast": {}, + "pthread_cond_destroy": {}, + "pthread_cond_init": {}, + "pthread_cond_signal": {}, + "pthread_cond_wait": {}, + "pthread_create": {}, + "pthread_detach": {}, + "pthread_mutex_destroy": {}, + "pthread_mutex_init": {}, + "pthread_mutex_lock": {}, + "pthread_mutex_trylock": {}, + "pthread_mutex_unlock": {}, + "sched_yield": {}, +} |