]> git.ipfire.org Git - people/ms/u-boot.git/blame - examples/standalone/sparc.lds
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / examples / standalone / sparc.lds
CommitLineData
c2f02da2
DH
1/*
2 * (C) Copyright 2003, Psyent Corporation <www.psyent.com>
3 * Scott McNutt <smcnutt@psyent.com>
4 *
1a459660 5 * SPDX-License-Identifier: GPL-2.0+
c2f02da2
DH
6 */
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 {
f62fb999 24 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
c2f02da2
DH
25 }
26 __rodata_end = .;
27
28 . = ALIGN(4);
29 .data :
30 {
31 *(.data)
32 }
55675142 33
c2f02da2
DH
34 . = ALIGN(4);
35 __data_end = .;
36
37 __bss_start = .;
38 . = ALIGN(4);
39 .bss :
40 {
41 *(.bss)
42 }
43 . = ALIGN(4);
44 __bss_end = .;
7ec830d5 45 _end = .;
c2f02da2 46}