Daniel Hellstrom | c2f02da | 2008-03-28 09:47:00 +0100 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2003, Psyent Corporation <www.psyent.com> |
| 3 | * Scott McNutt <smcnutt@psyent.com> |
| 4 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame^] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
Daniel Hellstrom | c2f02da | 2008-03-28 09:47:00 +0100 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | |
| 9 | OUTPUT_FORMAT("elf32-sparc", "elf32-sparc", "elf32-sparc") |
| 10 | OUTPUT_ARCH(sparc) |
| 11 | ENTRY(_start) |
| 12 | |
| 13 | SECTIONS |
| 14 | { |
| 15 | .text : |
| 16 | { |
| 17 | *(.text) |
| 18 | } |
| 19 | __text_end = .; |
| 20 | |
| 21 | . = ALIGN(4); |
| 22 | .rodata : |
| 23 | { |
Trent Piepho | f62fb99 | 2009-02-18 15:22:05 -0800 | [diff] [blame] | 24 | *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) |
Daniel Hellstrom | c2f02da | 2008-03-28 09:47:00 +0100 | [diff] [blame] | 25 | } |
| 26 | __rodata_end = .; |
| 27 | |
| 28 | . = ALIGN(4); |
| 29 | .data : |
| 30 | { |
| 31 | *(.data) |
| 32 | } |
Marek Vasut | 5567514 | 2012-10-12 10:27:03 +0000 | [diff] [blame] | 33 | |
Daniel Hellstrom | c2f02da | 2008-03-28 09:47:00 +0100 | [diff] [blame] | 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 = .; |
Wolfgang Denk | 7ec830d | 2011-03-29 14:34:50 +0200 | [diff] [blame] | 45 | _end = .; |
Daniel Hellstrom | c2f02da | 2008-03-28 09:47:00 +0100 | [diff] [blame] | 46 | } |