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