1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/fe310
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
..
include cpu/fe310: add unified rtt configuration 2020-08-12 14:46:59 +02:00
ldscripts picolibc: Enable TLS support [v4] 2020-08-24 08:26:16 -07:00
nano cpu/fe310: Add PICOLIBC support [v3] 2020-08-24 08:24:54 -07:00
periph cpu/fe310: add unified rtt configuration 2020-08-12 14:46:59 +02:00
vendor cpu/fe310: add RISC-V cpu FE310 2018-05-29 15:21:45 -07:00
clock.c boards/hifive1* cpu/fe310: improve clock customization 2020-08-06 15:59:34 +02:00
context_frame.c cpu/fe310: interrupt handling cleanup 2019-09-27 13:32:43 -07:00
cpu.c cpu/fe310: Add PICOLIBC support [v3] 2020-08-24 08:24:54 -07:00
intr.S cpu/fe310: interrupt handling cleanup 2019-09-27 13:32:43 -07:00
irq_arch.c cpu/fe310: migrate to inlined irq API 2020-06-26 10:48:56 +02:00
Kconfig build system: Add libstdcpp feature and doc 2020-07-15 11:45:22 +02:00
Makefile cpu/fe310: Add PICOLIBC support [v3] 2020-08-24 08:24:54 -07:00
Makefile.dep cpu/fe310: Add PICOLIBC support [v3] 2020-08-24 08:24:54 -07:00
Makefile.features build system: Add libstdcpp feature and doc 2020-07-15 11:45:22 +02:00
Makefile.include cpu/fe310: move dependencies to Makefile.dep 2020-01-28 13:20:52 +01:00
panic.c cpu/fe310: reorganize files and includes 2020-01-10 16:41:33 +01:00
start.S cpu/fe310: Don't register __libc_fini_array with atexit 2020-08-23 13:13:28 -07:00
thread_arch.c cpu/fe310: Don't access sched_active_* 2020-08-17 12:16:07 +02:00