]> git.sur5r.net Git - u-boot/blob - examples/standalone/mips64.lds
Merge branch 'master' of git://git.denx.de/u-boot-sunxi
[u-boot] / examples / standalone / mips64.lds
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * (C) Copyright 2003
4  * Wolfgang Denk Engineering, <wd@denx.de>
5  */
6
7 /*
8 OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-bigmips")
9 */
10 OUTPUT_FORMAT("elf64-tradbigmips", "elf64-tradbigmips", "elf64-tradlittlemips")
11 OUTPUT_ARCH(mips)
12 SECTIONS
13 {
14         .text       :
15         {
16           *(.text*)
17         }
18
19         . = ALIGN(4);
20         .rodata  : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
21
22         . = ALIGN(4);
23         .data  : { *(.data*) }
24
25         . = .;
26         _gp = ALIGN(16) + 0x7ff0;
27
28         .got : {
29           __got_start = .;
30           *(.got)
31           __got_end = .;
32         }
33
34         .sdata  : { *(.sdata*) }
35
36         . = ALIGN(4);
37         __bss_start = .;
38         .sbss (NOLOAD) : { *(.sbss*) }
39         .bss (NOLOAD)  : { *(.bss*) . = ALIGN(4); }
40
41         _end = .;
42 }