tinygo/builder
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
..
ar.go builder: write a symbol table when writing out the compiler-rt lib 2019-11-13 13:52:20 +01:00
build.go all: include picolibc for bare metal targets 2020-03-22 17:14:59 +01:00
buildcache.go main: refactor compile/link part to a builder package 2019-11-11 20:53:50 +01:00
builtins.go builder: refactor compiler-rt library 2020-03-22 17:14:59 +01:00
cc1as.cpp builder: use builtin Clang when building statically 2019-12-11 20:17:35 +01:00
cc1as.h builder: use builtin Clang when building statically 2019-12-11 20:17:35 +01:00
clang.cpp builder: use builtin Clang when building statically 2019-12-11 20:17:35 +01:00
commands.go Add initial FreeBSD support 2019-12-29 10:48:28 +01:00
compiler-builtin.go builder: update Clang header location 2019-12-24 08:59:33 +01:00
compiler-external.go builder: use builtin Clang when building statically 2019-12-11 20:17:35 +01:00
config.go main: refactor compile/link part to a builder package 2019-11-11 20:53:50 +01:00
env.go builder: update Clang header location 2019-12-24 08:59:33 +01:00
error.go compiler: add location information to the IR checker 2019-12-21 20:49:51 +01:00
library.go builder: refactor compiler-rt library 2020-03-22 17:14:59 +01:00
linker-builtin.go main: refactor compile/link part to a builder package 2019-11-11 20:53:50 +01:00
linker-external.go main: refactor compile/link part to a builder package 2019-11-11 20:53:50 +01:00
lld.cpp main: refactor compile/link part to a builder package 2019-11-11 20:53:50 +01:00
objcopy.go main: refactor compile/link part to a builder package 2019-11-11 20:53:50 +01:00
picolibc.go all: include picolibc for bare metal targets 2020-03-22 17:14:59 +01:00
sizes.go main: refactor compile/link part to a builder package 2019-11-11 20:53:50 +01:00
uf2.go targets: add target circuitplay-bluefruit 2020-01-06 09:23:39 +01:00