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

ENTRY(_start)

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