]>
Commit | Line | Data |
---|---|---|
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 | /* | |
9 | OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-bigmips") | |
10 | */ | |
11 | OUTPUT_FORMAT("elf64-tradbigmips", "elf64-tradbigmips", "elf64-tradlittlemips") | |
12 | OUTPUT_ARCH(mips) | |
13 | SECTIONS | |
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 | } |