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