~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: 7b6e932592ff4f9067db2e0e6eb4f5c297a0e825 (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
26
27
28
29
30
31
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright (c) 2016 Google, Inc
 */

OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
OUTPUT_ARCH(i386)
ENTRY(_start)

SECTIONS
{
	. = 0x00000010;
	_start = .;

	. = ALIGN(4);
	.text :
	{
		*(.text*)
	}

	. = 0x00001000;
	.sram :
	{
		*(.sram*)
	}

	/DISCARD/ : {
		*(.comment)
		*(.dyn*)
	}
}