mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-17 03:03:27 +00:00
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:
committed by
Ron Evans
parent
8e6cb89ceb
commit
c6255e4d0a
+1
-1
@@ -17,7 +17,7 @@ SECTIONS
|
||||
*(.rodata.*)
|
||||
}
|
||||
|
||||
.stack :
|
||||
.stack (NOLOAD) :
|
||||
{
|
||||
. += _stack_size;
|
||||
_stack_top = .;
|
||||
|
||||
Reference in New Issue
Block a user