blob: 30719a3c43a3c92abe8b6bcb5c60a83b83b4cbf9 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Daniel Hellstromc2f02da2008-03-28 09:47:00 +01002/*
3 * (C) Copyright 2003, Psyent Corporation <www.psyent.com>
4 * Scott McNutt <smcnutt@psyent.com>
Daniel Hellstromc2f02da2008-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 Piephof62fb992009-02-18 15:22:05 -080023 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
Daniel Hellstromc2f02da2008-03-28 09:47:00 +010024 }
25 __rodata_end = .;
26
27 . = ALIGN(4);
28 .data :
29 {
30 *(.data)
31 }
Marek Vasut55675142012-10-12 10:27:03 +000032
Daniel Hellstromc2f02da2008-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 Denk7ec830d2011-03-29 14:34:50 +020044 _end = .;
Daniel Hellstromc2f02da2008-03-28 09:47:00 +010045}