Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
wdenk | 874ac26 | 2003-07-24 23:38:38 +0000 | [diff] [blame] | 2 | /* |
3 | * (C) Copyright 2003 | ||||
4 | * Wolfgang Denk Engineering, <wd@denx.de> | ||||
wdenk | 874ac26 | 2003-07-24 23:38:38 +0000 | [diff] [blame] | 5 | */ |
6 | |||||
7 | /* | ||||
8 | OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-bigmips") | ||||
9 | */ | ||||
Xiangfu Liu | 12ba80a | 2010-08-09 23:13:43 +0800 | [diff] [blame] | 10 | OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradlittlemips") |
wdenk | 874ac26 | 2003-07-24 23:38:38 +0000 | [diff] [blame] | 11 | OUTPUT_ARCH(mips) |
12 | SECTIONS | ||||
13 | { | ||||
14 | .text : | ||||
15 | { | ||||
Daniel Schwierzeck | 089f2a1 | 2011-04-15 17:16:44 +0200 | [diff] [blame] | 16 | *(.text*) |
wdenk | 874ac26 | 2003-07-24 23:38:38 +0000 | [diff] [blame] | 17 | } |
18 | |||||
19 | . = ALIGN(4); | ||||
Trent Piepho | 4438e5e | 2009-02-18 15:22:05 -0800 | [diff] [blame] | 20 | .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) } |
wdenk | 874ac26 | 2003-07-24 23:38:38 +0000 | [diff] [blame] | 21 | |
22 | . = ALIGN(4); | ||||
Daniel Schwierzeck | 089f2a1 | 2011-04-15 17:16:44 +0200 | [diff] [blame] | 23 | .data : { *(.data*) } |
wdenk | 874ac26 | 2003-07-24 23:38:38 +0000 | [diff] [blame] | 24 | |
Shinya Kuribayashi | dc8daf0 | 2007-10-21 10:55:37 +0900 | [diff] [blame] | 25 | . = .; |
26 | _gp = ALIGN(16) + 0x7ff0; | ||||
wdenk | 874ac26 | 2003-07-24 23:38:38 +0000 | [diff] [blame] | 27 | |
Shinya Kuribayashi | 20e1d52 | 2007-10-21 10:55:36 +0900 | [diff] [blame] | 28 | .got : { |
29 | __got_start = .; | ||||
30 | *(.got) | ||||
31 | __got_end = .; | ||||
32 | } | ||||
wdenk | 874ac26 | 2003-07-24 23:38:38 +0000 | [diff] [blame] | 33 | |
Daniel Schwierzeck | 089f2a1 | 2011-04-15 17:16:44 +0200 | [diff] [blame] | 34 | .sdata : { *(.sdata*) } |
wdenk | 874ac26 | 2003-07-24 23:38:38 +0000 | [diff] [blame] | 35 | |
36 | . = ALIGN(4); | ||||
wdenk | 2fb7390 | 2004-04-12 16:12:49 +0000 | [diff] [blame] | 37 | __bss_start = .; |
Daniel Schwierzeck | 089f2a1 | 2011-04-15 17:16:44 +0200 | [diff] [blame] | 38 | .sbss (NOLOAD) : { *(.sbss*) } |
39 | .bss (NOLOAD) : { *(.bss*) . = ALIGN(4); } | ||||
wdenk | 2fb7390 | 2004-04-12 16:12:49 +0000 | [diff] [blame] | 40 | |
Wolfgang Denk | cbaa1f5 | 2011-03-29 14:34:50 +0200 | [diff] [blame] | 41 | _end = .; |
wdenk | 874ac26 | 2003-07-24 23:38:38 +0000 | [diff] [blame] | 42 | } |