summaryrefslogtreecommitdiff
path: root/util/romcc/tests/ldscript.ld
blob: 249ebd5c1931eb7e2c621c759f3f7202c9d5949b (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
{
	. = 0x1000;
	__cpu_reset = 0xdeadbeef;
	.text . : {
		. = ALIGN(16);
		_start = . ;
		*(.rom.text);
		*(.text)
		. = ALIGN(16);
	}
	.data . : {
		. = ALIGN(16);
		*(.rom.data);
		*(.data)
		. = ALIGN(16);
	}
}