summaryrefslogtreecommitdiff
path: root/util/romcc/tests/ldscript.ld
blob: fed99ea6fd0b757d4c3d613e165e65fcfd481ba1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

ENTRY(_start)

SECTIONS
{
	. = 0x20000;
	__cpu_reset = 0xdeadbeef;
	.text . : {
		. = ALIGN(16);
		_start = . ;
		*(.rom.text);
		*(.text)
		. = ALIGN(16);
	}
	.data . : {
		. = ALIGN(16);
		*(.rom.data);
		*(.data)
		. = ALIGN(16);
	}
}