blob: b1c28dc0088e90350176b9acb62a641be5db33f4 [file] [log] [blame]
Sandrine Bailleux3cd87d72018-10-09 11:12:55 +02001/*
2 * Copyright (c) 2018, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7OUTPUT_FORMAT("elf64-littleaarch64")
8OUTPUT_ARCH("aarch64")
9ENTRY(entrypoint)
10
11MEMORY {
12 RAM (rwx): ORIGIN = DRAM_BASE, LENGTH = (DRAM_BASE + DRAM_SIZE)
13}
14
15SECTIONS
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}