| Sandrine Bailleux | 3cd87d7 | 2018-10-09 11:12:55 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2018, Arm Limited. All rights reserved. | ||||
| 3 | * | ||||
| 4 | * SPDX-License-Identifier: BSD-3-Clause | ||||
| 5 | */ | ||||
| 6 | |||||
| 7 | OUTPUT_FORMAT("elf64-littleaarch64") | ||||
| 8 | OUTPUT_ARCH("aarch64") | ||||
| 9 | ENTRY(entrypoint) | ||||
| 10 | |||||
| 11 | MEMORY { | ||||
| 12 | RAM (rwx): ORIGIN = DRAM_BASE, LENGTH = (DRAM_BASE + DRAM_SIZE) | ||||
| 13 | } | ||||
| 14 | |||||
| 15 | SECTIONS | ||||
| 16 | { | ||||
| 17 | . = DRAM_BASE; | ||||
| 18 | |||||
| 19 | ro . : { | ||||
| 20 | */entrypoint.o(.text) | ||||
| 21 | *(.text*) | ||||
| 22 | *(.rodata*) | ||||
| 23 | } >RAM | ||||
| 24 | |||||
| 25 | .data : { | ||||
| 26 | *(.data*) | ||||
| 27 | } >RAM | ||||
| 28 | } | ||||