summaryrefslogtreecommitdiff
path: root/arch/sandbox/cpu/u-boot-spl.lds
blob: 18160436a36e7c10ef89dedcb3f6c03bde78f70d (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) 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(4);
	.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_option_start = .;
	_u_boot_sandbox_getopt : { KEEP(*(.u_boot_sandbox_getopt)) }
	__u_boot_sandbox_option_end = .;
}

INSERT AFTER .data;