blob: 30719a3c43a3c92abe8b6bcb5c60a83b83b4cbf9 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Daniel Hellstrom9d7c6b22008-03-28 09:47:00 +01002/*
3 * (C) Copyright 2003, Psyent Corporation <www.psyent.com>
4 * Scott McNutt <smcnutt@psyent.com>
Daniel Hellstrom9d7c6b22008-03-28 09:47:00 +01005 */
6
7
8OUTPUT_FORMAT("elf32-sparc", "elf32-sparc", "elf32-sparc")
9OUTPUT_ARCH(sparc)
10ENTRY(_start)
11
12SECTIONS
13{
14 .text :
15 {
16 *(.text)
17 }
18 __text_end = .;
19
20 . = ALIGN(4);
21 .rodata :
22 {
Trent Piepho4438e5e2009-02-18 15:22:05 -080023 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
Daniel Hellstrom9d7c6b22008-03-28 09:47:00 +010024 }
25 __rodata_end = .;
26
27 . = ALIGN(4);
28 .data :
29 {
30 *(.data)
31 }
Marek Vasut607092a2012-10-12 10:27:03 +000032
Daniel Hellstrom9d7c6b22008-03-28 09:47:00 +010033 . = ALIGN(4);
34 __data_end = .;
35
36 __bss_start = .;
37 . = ALIGN(4);
38 .bss :
39 {
40 *(.bss)
41 }
42 . = ALIGN(4);
43 __bss_end = .;
Wolfgang Denkcbaa1f52011-03-29 14:34:50 +020044 _end = .;
Daniel Hellstrom9d7c6b22008-03-28 09:47:00 +010045}