summaryrefslogtreecommitdiff
path: root/arch/sandbox/cpu/u-boot.lds
blob: ba8dee50c7bd627cc0dc5d2fbf22f87831628fbc (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/* 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*)));
	}

	_u_boot_sandbox_getopt : {
		*(_u_boot_sandbox_getopt_start)
		*(_u_boot_sandbox_getopt)
		*(_u_boot_sandbox_getopt_end)
	}

	efi_runtime_start : {
		*(___efi_runtime_start)
	}

	efi_runtime : {
		*(efi_runtime_text)
		*(efi_runtime_data)
	}

	efi_runtime_stop : {
		*(___efi_runtime_stop)
	}

	efi_runtime_rel_start : {
		*(___efi_runtime_rel_start)
	}

	efi_runtime_rel : {
		*(.relefi_runtime_text)
		*(.relefi_runtime_data)
	}

	efi_runtime_rel_stop : {
		*(___efi_runtime_rel_stop)
	}

	.dynsym :
	{
		__dyn_sym_start = .;
		*(.dynsym)
		__dyn_sym_end = .;
	}
}

INSERT BEFORE .data;