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

Subversion Repositories potato

[/] [potato/] [trunk/] [tests.ld] - Blame information for rev 63

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 skordal
/*
2
 * Linker Script for the Potato Processor test applications.
3
 * (c) Kristian Klomsten Skordal 2014 - 2015 
4 3 skordal
 * Report bugs and issues on 
5 2 skordal
 */
6
 
7
/*
8
 * The linker script assumes that default testbench settings are used, that is,
9
 * 2048 bytes (each) of separate instruction and data memory.
10
 */
11
 
12 58 skordal
OUTPUT_ARCH(riscv);
13 2 skordal
ENTRY(_start);
14
 
15
SECTIONS
16
{
17 58 skordal
        .text 0x100 :
18 2 skordal
        {
19 58 skordal
                *(.text.init)
20
                *(.text)
21 2 skordal
        }
22
 
23 58 skordal
        .data 0x1000 :
24 2 skordal
        {
25
                __data_begin = .;
26
                *(.data*)
27
        }
28
 
29
        .bss :
30
        {
31
                __bss_begin = .;
32
                *(.bss*)
33
                __bss_end = .;
34
        }
35
        __data_end = .;
36
 
37 58 skordal
        __stack_top = 0x2000;
38 2 skordal
}
39
 

powered by: WebSVN 2.1.0

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