zephyr/linker: Move .tbss section back to ROMABLE_REGION
Placing this in RAMABLE_REGION messes up the TLS offsets computed by the linker, presumably because it's not adjacent to the .tdata section. In any case, it doesn't really matter as all we want the linker to do is compute offsets from the TLS base value for all .tdata and .tbss values. Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
e82cabb809
commit
107198204c
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
|||
SECTION_DATA_PROLOGUE(tbss,(NOLOAD),)
|
||||
{
|
||||
*(.tbss .tbss.* .gnu.linkonce.tb.* .tcommon);
|
||||
} GROUP_ROM_LINK_IN(RAMABLE_REGION, RAMABLE_REGION)
|
||||
} GROUP_ROM_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
|
||||
|
||||
/*
|
||||
* These needs to be outside of the tdata/tbss
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue