Keith Packard 531050ada2 picolibc: Enable TLS support [v4]
Allocate and initialize a thread-local block for each thread at the
top of the stack.

Set the tls base when switching to a new thread.

Add tdata/tbss linker instructions to cortex_m and risc-v scripts.

Signed-off-by: Keith Packard <keithp@keithp.com>

---

v2:
	Squash fixes

v3:
	Replace tabs with spaces

v4:
	Add tbss to fe310 linker script
2020-08-24 08:26:16 -07:00
..
2020-08-24 08:24:54 -07:00
2018-05-29 15:21:45 -07:00
2020-08-24 08:24:54 -07:00
2019-09-27 13:32:43 -07:00
2020-08-24 08:24:54 -07:00