OpenCores
URL https://opencores.org/ocsvn/potato/potato/trunk

Subversion Repositories potato

[/] [potato/] [trunk/] [tests.ld] - Rev 58

Compare with Previous | Blame | View Log

/*
 * Linker Script for the Potato Processor test applications.
 * (c) Kristian Klomsten Skordal 2014 - 2015 <kristian.skordal@wafflemail.net>
 * Report bugs and issues on <http://opencores.org/project,potato,bugtracker>
 */

/*
 * The linker script assumes that default testbench settings are used, that is,
 * 2048 bytes (each) of separate instruction and data memory.
 */

OUTPUT_ARCH(riscv);
ENTRY(_start);

SECTIONS
{
        .text 0x100 :
        {
                *(.text.init)
                *(.text)
        }

        .data 0x1000 :
        {
                __data_begin = .;
                *(.data*)
        }

        .bss :
        {
                __bss_begin = .;
                *(.bss*)
                __bss_end = .;
        }
        __data_end = .;

        __stack_top = 0x2000;
}

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.