implements proper linker script to support TLS
This change updates the linker script and dependend wile so that thread local storage sections are properly supported and initailaized
This commit is contained in:
12
src/ram_dram.lds
Normal file
12
src/ram_dram.lds
Normal file
@@ -0,0 +1,12 @@
|
||||
OUTPUT_ARCH( "riscv" )
|
||||
|
||||
ENTRY( _start )
|
||||
|
||||
INCLUDE memory_map.ld
|
||||
|
||||
REGION_ALIAS("LOCATION_TEXT", ram);
|
||||
REGION_ALIAS("LOCATION_RODATA", ram);
|
||||
REGION_ALIAS("LOCATION_DATA", dram);
|
||||
REGION_ALIAS("LOCATION_STACK", dram);
|
||||
|
||||
INCLUDE sections.ld
|
||||
Reference in New Issue
Block a user