summaryrefslogtreecommitdiff
path: root/tools/binman/test/u_boot_binman_syms.lds
blob: 29cf9d0e546aaf99703ad821557422d706ccf41b (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
/* 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
{
	. = 0x00000000;
	_start = .;

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

	. = ALIGN(4);
	.binman_sym_table : {
		__binman_sym_start = .;
		KEEP(*(SORT(.binman_sym*)));
		__binman_sym_end = .;
	}

}