]> git.sur5r.net Git - u-boot/blob - arch/sandbox/cpu/u-boot.lds
efi: sandbox: Add required linker sections
[u-boot] / arch / sandbox / cpu / u-boot.lds
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (c) 2011-2012 The Chromium OS Authors.
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7
8 SECTIONS
9 {
10
11         . = ALIGN(4);
12         .u_boot_list : {
13                 KEEP(*(SORT(.u_boot_list*)));
14         }
15
16         __u_boot_sandbox_option_start = .;
17         _u_boot_sandbox_getopt : { *(.u_boot_sandbox_getopt) }
18         __u_boot_sandbox_option_end = .;
19
20         __bss_start = .;
21
22                 .__efi_runtime_start : {
23                 *(.__efi_runtime_start)
24         }
25
26         .efi_runtime : {
27                 *(efi_runtime_text)
28                 *(efi_runtime_data)
29         }
30
31         .__efi_runtime_stop : {
32                 *(.__efi_runtime_stop)
33         }
34
35         .efi_runtime_rel_start :
36         {
37                 *(.__efi_runtime_rel_start)
38         }
39
40         .efi_runtime_rel : {
41                 *(.relefi_runtime_text)
42                 *(.relefi_runtime_data)
43         }
44
45         .efi_runtime_rel_stop :
46         {
47                 *(.__efi_runtime_rel_stop)
48         }
49
50 }
51
52 INSERT BEFORE .data;