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