Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Michal Simek | 76316a3 | 2007-03-11 13:42:58 +0100 | [diff] [blame] | 2 | /* |
3 | * (C) Copyright 2004 Atmark Techno, Inc. | ||||
4 | * | ||||
5 | * Yasushi SHOJI <yashi@atmark-techno.com> | ||||
Michal Simek | 76316a3 | 2007-03-11 13:42:58 +0100 | [diff] [blame] | 6 | */ |
7 | |||||
8 | OUTPUT_ARCH(microblaze) | ||||
9 | ENTRY(_start) | ||||
10 | |||||
11 | SECTIONS | ||||
12 | { | ||||
13 | .text ALIGN(0x4): | ||||
14 | { | ||||
15 | __text_start = .; | ||||
Peter Tyser | 6260fb0 | 2010-04-12 22:28:16 -0500 | [diff] [blame] | 16 | arch/microblaze/cpu/start.o (.text) |
Michal Simek | 76316a3 | 2007-03-11 13:42:58 +0100 | [diff] [blame] | 17 | *(.text) |
18 | __text_end = .; | ||||
19 | } | ||||
20 | |||||
21 | .rodata ALIGN(0x4): | ||||
22 | { | ||||
23 | __rodata_start = .; | ||||
Trent Piepho | f62fb99 | 2009-02-18 15:22:05 -0800 | [diff] [blame] | 24 | *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) |
Michal Simek | 76316a3 | 2007-03-11 13:42:58 +0100 | [diff] [blame] | 25 | __rodata_end = .; |
26 | } | ||||
27 | |||||
28 | .data ALIGN(0x4): | ||||
29 | { | ||||
30 | __data_start = .; | ||||
31 | *(.data) | ||||
32 | __data_end = .; | ||||
33 | } | ||||
34 | |||||
Michal Simek | e945f6d | 2014-05-08 16:08:44 +0200 | [diff] [blame] | 35 | .got ALIGN(4): |
36 | { | ||||
37 | _got_start = .; | ||||
38 | *(.got*) | ||||
39 | . = ALIGN(4); | ||||
40 | _got_end = .; | ||||
41 | } | ||||
42 | |||||
Marek Vasut | 5567514 | 2012-10-12 10:27:03 +0000 | [diff] [blame] | 43 | . = ALIGN(4); |
44 | .u_boot_list : { | ||||
Albert ARIBAUD | ef123c5 | 2013-02-25 00:59:00 +0000 | [diff] [blame] | 45 | KEEP(*(SORT(.u_boot_list*))); |
Marek Vasut | 5567514 | 2012-10-12 10:27:03 +0000 | [diff] [blame] | 46 | } |
Michal Simek | e945f6d | 2014-05-08 16:08:44 +0200 | [diff] [blame] | 47 | __init_end = . ; |
Marek Vasut | 5567514 | 2012-10-12 10:27:03 +0000 | [diff] [blame] | 48 | |
Michal Simek | 76316a3 | 2007-03-11 13:42:58 +0100 | [diff] [blame] | 49 | .bss ALIGN(0x4): |
50 | { | ||||
51 | __bss_start = .; | ||||
Michal Simek | aedb468 | 2009-08-14 17:02:35 +0200 | [diff] [blame] | 52 | *(.sbss) |
53 | *(.scommon) | ||||
Michal Simek | 76316a3 | 2007-03-11 13:42:58 +0100 | [diff] [blame] | 54 | *(.bss) |
Michal Simek | aedb468 | 2009-08-14 17:02:35 +0200 | [diff] [blame] | 55 | *(COMMON) |
Selvamuthukumar | 9b827cf | 2008-10-16 22:54:03 +0530 | [diff] [blame] | 56 | . = ALIGN(4); |
Michal Simek | 76316a3 | 2007-03-11 13:42:58 +0100 | [diff] [blame] | 57 | __bss_end = .; |
58 | } | ||||
Michal Simek | 1798049 | 2007-03-26 01:39:07 +0200 | [diff] [blame] | 59 | __end = . ; |
Michal Simek | 76316a3 | 2007-03-11 13:42:58 +0100 | [diff] [blame] | 60 | } |