blob: 52f13af3742f6b1dd7ba44f8b972ae5ced334abc [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Simon Glass4b0730d2011-09-26 14:10:39 +00002/*
Mike Frysinger3ab7d952012-02-26 14:13:31 -05003 * Copyright (c) 2011-2012 The Chromium OS Authors.
Simon Glass4b0730d2011-09-26 14:10:39 +00004 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
Simon Glass4b0730d2011-09-26 14:10:39 +00006 */
7
8SECTIONS
9{
Simon Glass4b0730d2011-09-26 14:10:39 +000010
Simon Glass0c6be932022-03-27 14:26:18 -060011 . = ALIGN(32);
Andrew Scull99e2fbc2022-05-30 10:00:04 +000012 __u_boot_list : {
13 KEEP(*(SORT(__u_boot_list*)));
Marek Vasut55675142012-10-12 10:27:03 +000014 }
15
Marek BehĂșnd1f81fd2021-05-20 13:24:06 +020016 _u_boot_sandbox_getopt : {
Andrew Scull0648b132022-05-30 10:00:03 +000017 *(_u_boot_sandbox_getopt_start)
Heinrich Schuchardtbe6a2492023-10-24 08:30:47 +020018 KEEP(*(_u_boot_sandbox_getopt))
Andrew Scull0648b132022-05-30 10:00:03 +000019 *(_u_boot_sandbox_getopt_end)
Marek BehĂșnd1f81fd2021-05-20 13:24:06 +020020 }
Simon Glass70db4212012-02-15 15:51:16 -080021
Andrew Scullaac53d32022-05-30 10:00:02 +000022 efi_runtime_start : {
23 *(___efi_runtime_start)
Simon Glassbb223b72018-05-16 09:42:23 -060024 }
25
Andrew Scullaac53d32022-05-30 10:00:02 +000026 efi_runtime : {
Simon Glass7bf07cf2018-08-08 03:54:16 -060027 *(efi_runtime_text)
28 *(efi_runtime_data)
Simon Glassbb223b72018-05-16 09:42:23 -060029 }
30
Andrew Scullaac53d32022-05-30 10:00:02 +000031 efi_runtime_stop : {
32 *(___efi_runtime_stop)
Simon Glassbb223b72018-05-16 09:42:23 -060033 }
34
Andrew Scullaac53d32022-05-30 10:00:02 +000035 efi_runtime_rel_start : {
36 *(___efi_runtime_rel_start)
Simon Glassbb223b72018-05-16 09:42:23 -060037 }
38
Andrew Scullaac53d32022-05-30 10:00:02 +000039 efi_runtime_rel : {
Simon Glass7bf07cf2018-08-08 03:54:16 -060040 *(.relefi_runtime_text)
41 *(.relefi_runtime_data)
Simon Glassbb223b72018-05-16 09:42:23 -060042 }
43
Andrew Scullaac53d32022-05-30 10:00:02 +000044 efi_runtime_rel_stop : {
45 *(___efi_runtime_rel_stop)
Simon Glassbb223b72018-05-16 09:42:23 -060046 }
Heinrich Schuchardte5021222021-03-23 12:37:47 +010047
48 .dynsym :
49 {
50 __dyn_sym_start = .;
51 *(.dynsym)
52 __dyn_sym_end = .;
53 }
Simon Glass4b0730d2011-09-26 14:10:39 +000054}
55
56INSERT BEFORE .data;