baremetal: fix heap and stack position in preparation for CLI arguments

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-04-01 02:00:01 +00:00
parent 6bb20c0386
commit e25e79c26b
9 changed files with 58 additions and 11 deletions

View File

@@ -102,6 +102,7 @@ Build the baremetal examples with crosstool-NG.
)
cc_flags.extend([
'-Wl,--section-start=.text={:#x}'.format(entry_address), LF,
'-Wl,--section-start=.lkmc_memory={:#x}'.format(entry_address + 0x1000000), LF,
'-T', self.env['baremetal_link_script'], LF,
])
with thread_pool.ThreadPool(