Dinh Nguyen | 7775440 | 2012-10-04 06:46:02 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 Altera Corporation <www.altera.com> |
| 3 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
Dinh Nguyen | 7775440 | 2012-10-04 06:46:02 +0000 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | MEMORY { .sdram : ORIGIN = (0), LENGTH = (0xffffffff) } |
| 8 | |
| 9 | OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") |
| 10 | OUTPUT_ARCH(arm) |
| 11 | ENTRY(_start) |
| 12 | SECTIONS |
| 13 | { |
| 14 | . = 0x00000000; |
| 15 | |
| 16 | . = ALIGN(4); |
| 17 | .text : |
| 18 | { |
Benoît Thébaudeau | eeadd3f | 2014-08-21 15:43:11 +0200 | [diff] [blame] | 19 | *(.vectors) |
Benoît Thébaudeau | 1a9a91d | 2013-04-11 09:36:03 +0000 | [diff] [blame] | 20 | arch/arm/cpu/armv7/start.o (.text*) |
Dinh Nguyen | 7775440 | 2012-10-04 06:46:02 +0000 | [diff] [blame] | 21 | *(.text*) |
| 22 | } >.sdram |
| 23 | |
| 24 | . = ALIGN(4); |
| 25 | .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) } >.sdram |
| 26 | |
| 27 | . = ALIGN(4); |
| 28 | .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sdram |
| 29 | |
| 30 | . = ALIGN(4); |
| 31 | __image_copy_end = .; |
Albert ARIBAUD | d0b5d9d | 2014-02-22 17:53:42 +0100 | [diff] [blame] | 32 | |
| 33 | .end : |
| 34 | { |
| 35 | *(.__end) |
| 36 | } |
Dinh Nguyen | 7775440 | 2012-10-04 06:46:02 +0000 | [diff] [blame] | 37 | |
| 38 | .bss : { |
| 39 | . = ALIGN(4); |
| 40 | __bss_start = .; |
| 41 | *(.bss*) |
| 42 | . = ALIGN(4); |
Simon Glass | 3929fb0 | 2013-03-14 06:54:53 +0000 | [diff] [blame] | 43 | __bss_end = .; |
Dinh Nguyen | 7775440 | 2012-10-04 06:46:02 +0000 | [diff] [blame] | 44 | } >.sdram |
Dinh Nguyen | 7775440 | 2012-10-04 06:46:02 +0000 | [diff] [blame] | 45 | } |