]> git.ipfire.org Git - people/ms/u-boot.git/blame - examples/standalone/mips.lds
Move console definitions into a new console.h file
[people/ms/u-boot.git] / examples / standalone / mips.lds
CommitLineData
27b207fd
WD
1/*
2 * (C) Copyright 2003
3 * Wolfgang Denk Engineering, <wd@denx.de>
4 *
1a459660 5 * SPDX-License-Identifier: GPL-2.0+
27b207fd
WD
6 */
7
8/*
9OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-bigmips")
10*/
40930316 11OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradlittlemips")
27b207fd
WD
12OUTPUT_ARCH(mips)
13SECTIONS
14{
15 .text :
16 {
660da094 17 *(.text*)
27b207fd
WD
18 }
19
20 . = ALIGN(4);
f62fb999 21 .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
27b207fd
WD
22
23 . = ALIGN(4);
660da094 24 .data : { *(.data*) }
27b207fd 25
eb700636
SK
26 . = .;
27 _gp = ALIGN(16) + 0x7ff0;
27b207fd 28
cbf2323b
SK
29 .got : {
30 __got_start = .;
31 *(.got)
32 __got_end = .;
33 }
27b207fd 34
660da094 35 .sdata : { *(.sdata*) }
27b207fd
WD
36
37 . = ALIGN(4);
d716b126 38 __bss_start = .;
660da094
DS
39 .sbss (NOLOAD) : { *(.sbss*) }
40 .bss (NOLOAD) : { *(.bss*) . = ALIGN(4); }
d716b126 41
7ec830d5 42 _end = .;
27b207fd 43}