tinygo/cgo
Ayke van Laethem f316ebc23b all: include picolibc for bare metal targets
This is necessary for better CGo support on bare metal. Existing
libraries expect to be able to include parts of libc and expect to be
able to link to those symbols.

Because with this all targets have a working libc, it is now possible to
add tests to check that a libc in fact works basically.

Not all parts of picolibc are included, such as the math or stdio parts.
These should be added later, when needed.

This commit also avoids the need for the custom memcpy/memset/memcmp
symbols that are sometimes emitted by LLVM. The C library will take care
of that.
2020-03-22 17:14:59 +01:00
..
testdata cgo: make -I and -L paths absolute 2020-03-17 20:43:28 +01:00
cgo.go all: include picolibc for bare metal targets 2020-03-22 17:14:59 +01:00
cgo_test.go cgo: add support for symbols 2020-01-03 23:44:58 +01:00
const.go cgo: fix a bug in number tokenization 2020-01-03 23:44:58 +01:00
const_test.go cgo: fix a bug in number tokenization 2020-01-03 23:44:58 +01:00
libclang.go cgo: implement #cgo CFLAGS 2019-11-25 09:32:03 +01:00
libclang_config.go Add initial FreeBSD support 2019-12-29 10:48:28 +01:00
libclang_stubs.c all: switch to LLVM 9 2019-11-16 18:44:27 +01:00
security.go cgo: implement #cgo CFLAGS 2019-11-25 09:32:03 +01:00
security_test.go cgo: implement #cgo CFLAGS 2019-11-25 09:32:03 +01:00
sync.go cgo: refactor; support multiple cgo files in a single package 2019-05-12 10:49:15 +02:00