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