summaryrefslogtreecommitdiff
path: root/arch/sandbox/cpu/u-boot-spl.lds
blob: 206e265e74bf0ee451c6ec8182a5d652483dc268 (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) 2011-2012 The Chromium OS Authors.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

SECTIONS
{

	. = ALIGN(32);
	.u_boot_list : {
		KEEP(*(SORT(.u_boot_list*)));
	}

	/* Private data for devices with OF_PLATDATA_RT */
	. = ALIGN(4);
	.priv_data : {
		__priv_data_start = .;
		*(SORT_BY_ALIGNMENT(SORT_BY_NAME(.priv_data*)))
		__priv_data_end = .;
	}

	_u_boot_sandbox_getopt : {
		*(.u_boot_sandbox_getopt_start)
		KEEP(*(.u_boot_sandbox_getopt))
		*(.u_boot_sandbox_getopt_end)
	}
}

INSERT AFTER .data;