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