soc: esp32c3: fix tls linking error
Fix linking error due undefined tdata entry. After #72642, tdata could be undefined due to missing TLS check. Fixed #74852 Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
parent
2dc67c56b4
commit
ee1b13c822
1 changed files with 2 additions and 0 deletions
|
@ -787,10 +787,12 @@ SECTIONS
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
|
|
||||||
|
#ifdef CONFIG_THREAD_LOCAL_STORAGE
|
||||||
/* create explicit symbol for __tdata_start so that it is loaded
|
/* create explicit symbol for __tdata_start so that it is loaded
|
||||||
* into proper DROM region atributted by AT keyword below
|
* into proper DROM region atributted by AT keyword below
|
||||||
*/
|
*/
|
||||||
__tdata_start = ADDR(tdata);
|
__tdata_start = ADDR(tdata);
|
||||||
|
#endif
|
||||||
|
|
||||||
_rodata_reserved_end = ABSOLUTE(.);
|
_rodata_reserved_end = ABSOLUTE(.);
|
||||||
_image_rodata_end = ABSOLUTE(.);
|
_image_rodata_end = ABSOLUTE(.);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue