targets: explicitly mark the stack as NOLOAD

This prevents it from being of type PROGBITS in lld 9, it should always
be NOBITS. It should fix the following error in lld 9:

    ROM segments are non-contiguous
This commit is contained in:
Ayke van Laethem
2019-11-12 13:25:30 +01:00
committed by Ron Evans
parent 8e6cb89ceb
commit c6255e4d0a
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ SECTIONS
*(.rodata.*)
}
.stack :
.stack (NOLOAD) :
{
. += _stack_size;
_stack_top = .;