blob: 7461edaa4274ebb17f3789a202f3daef225b65ef [file] [log] [blame]
Daniel Hellstromc2f02da2008-03-28 09:47:00 +01001/*
2 * (C) Copyright 2003, Psyent Corporation <www.psyent.com>
3 * Scott McNutt <smcnutt@psyent.com>
4 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Daniel Hellstromc2f02da2008-03-28 09:47:00 +01006 */
7
8
9OUTPUT_FORMAT("elf32-sparc", "elf32-sparc", "elf32-sparc")
10OUTPUT_ARCH(sparc)
11ENTRY(_start)
12
13SECTIONS
14{
15 .text :
16 {
17 *(.text)
18 }
19 __text_end = .;
20
21 . = ALIGN(4);
22 .rodata :
23 {
Trent Piephof62fb992009-02-18 15:22:05 -080024 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
Daniel Hellstromc2f02da2008-03-28 09:47:00 +010025 }
26 __rodata_end = .;
27
28 . = ALIGN(4);
29 .data :
30 {
31 *(.data)
32 }
Marek Vasut55675142012-10-12 10:27:03 +000033
Daniel Hellstromc2f02da2008-03-28 09:47:00 +010034 . = ALIGN(4);
35 __data_end = .;
36
37 __bss_start = .;
38 . = ALIGN(4);
39 .bss :
40 {
41 *(.bss)
42 }
43 . = ALIGN(4);
44 __bss_end = .;
Wolfgang Denk7ec830d2011-03-29 14:34:50 +020045 _end = .;
Daniel Hellstromc2f02da2008-03-28 09:47:00 +010046}