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-08 12:44:11 +02:00
2020-08-07 17:38:38 +02:00
2020-08-24 08:26:16 -07:00
2020-07-16 14:44:28 +02:00
2020-08-07 19:25:38 +02:00
2020-07-16 10:23:49 +02:00
2020-07-16 15:35:23 +02:00
2020-07-31 22:00:09 +02:00
2020-08-20 14:37:08 +02:00
2020-07-16 21:29:46 +02:00
2020-07-16 17:01:10 +02:00
2020-08-12 12:22:39 +02:00