]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/arc/cpu/u-boot.lds
Merge git://git.denx.de/u-boot-mmc
[people/ms/u-boot.git] / arch / arc / cpu / u-boot.lds
CommitLineData
2f16ac9d
AB
1/*
2 * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
9bef24d0
AB
7#include <config.h>
8
2f16ac9d
AB
9OUTPUT_FORMAT("elf32-littlearc", "elf32-littlearc", "elf32-littlearc")
10OUTPUT_ARCH(arc)
11ENTRY(_start)
12SECTIONS
13{
9bef24d0
AB
14 . = CONFIG_SYS_TEXT_BASE;
15 __image_copy_start = .;
16 __text_start = .;
2f16ac9d 17 .text : {
89576072 18 arch/arc/lib/start.o (.text*)
2f16ac9d
AB
19 *(.text*)
20 }
9bef24d0 21 __text_end = .;
2f16ac9d 22
20a58ac0 23 . = ALIGN(1024);
9bef24d0 24 __ivt_start = .;
20a58ac0
IG
25 .ivt :
26 {
27 *(.ivt)
28 }
9bef24d0 29 __ivt_end = .;
20a58ac0 30
2f16ac9d
AB
31 . = ALIGN(4);
32 .rodata : {
33 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
34 }
35
36 . = ALIGN(4);
37 .data : {
38 *(.data*)
39 }
40
41 . = ALIGN(4);
42 .u_boot_list : {
43 KEEP(*(SORT(.u_boot_list*)));
44 }
45
46 . = ALIGN(4);
9bef24d0 47 __rel_dyn_start = .;
2f16ac9d
AB
48 .rela.dyn : {
49 *(.rela.dyn)
50 }
9bef24d0 51 __rel_dyn_end = .;
2f16ac9d
AB
52
53 . = ALIGN(4);
9bef24d0 54 __bss_start = .;
2f16ac9d
AB
55 .bss : {
56 *(.bss*)
57 }
9bef24d0 58 __bss_end = .;
2f16ac9d
AB
59
60 . = ALIGN(4);
9bef24d0
AB
61 __image_copy_end = .;
62 __init_end = .;
2f16ac9d 63}