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