define _hos_mem_start and _hos_mem_end symbols

This commit is contained in:
josh committed 2020-10-25 17:08:07 -04:00
1 parent aa28284187
commit a084ab296c
1 file changed
+5
+5
View File
@@ -3,6 +3,7 @@ ENTRY(hos_start)
SECTIONS SECTIONS
{ {
. = 1M; . = 1M;
_hos_mem_start = .;
.text BLOCK(4K) : ALIGN(4K) .text BLOCK(4K) : ALIGN(4K)
{ {
@@ -33,4 +34,8 @@ SECTIONS
*(COMMON) *(COMMON)
*(.bss) *(.bss)
} }
. = ALIGN(4K);
_hos_mem_end = .;
} }