Merge tag 'fsl-qoriq-for-v2019.04-rc1' of git://git.denx.de/u-boot-fsl-qoriq
[oweals/u-boot.git] / examples / standalone / nds32.lds
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2011 Andes Technology Corporation
4  * Shawn Lin, Andes Technology Corporation <nobuhiro@andestech.com>
5  * Macpaul Lin, Andes Technology Corporation <macpaul@andestech.com>
6  */
7
8 OUTPUT_FORMAT("elf32-nds32", "elf32-nds32", "elf32-nds32")
9 OUTPUT_ARCH(nds32)
10 ENTRY(_start)
11 SECTIONS
12 {
13         . = ALIGN(4);
14         .text :
15         {
16                 *(.text)
17         }
18
19         . = ALIGN(4);
20         .data : { *(.data) }
21
22         . = ALIGN(4);
23
24         .got : {
25                 __got_start = .;
26                 *(.got)
27                 __got_end = .;
28         }
29
30         . = ALIGN(4);
31         __bss_start = .;
32         .bss : { *(.bss) }
33         __bss_end = .;
34
35         . = ALIGN(4);
36         .rela.text : { *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*) }
37
38         _end = .;
39 }