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