summaryrefslogtreecommitdiff
path: root/src/arch/x86/ramstage.ld
blob: 5fcbbb632a7e5a41b7480f2f0c7d05cf98dec5a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 *	Memory map:
 *
 *	CONFIG_RAMBASE		: text segment
 *				: rodata segment
 *				: data segment
 *				: bss segment
 *				: stack
 *				: heap
 */
ENTRY(_start)

PHDRS
{
	to_load PT_LOAD;
}

SECTIONS
{
	. = CONFIG_RAMBASE;

	INCLUDE "lib/ramstage.ramstage.ld"

	_ = ASSERT( ( _eprogram < (CONFIG_RAMTOP)) , "Please increase CONFIG_RAMTOP");
}