OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [or1ksim/] [or1ksim-0.4.0rc1/] [testsuite/] [test-code-or1k/] [int-test/] [int-test.ld] - Blame information for rev 105

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 90 jeremybenn
/* int-test.ld. Linker script for Or1ksim interrupt controller test program
2
 
3
   Copyright (C) 1999-2006 OpenCores
4
   Copyright (C) 2010 Embecosm Limited
5
 
6
   Contributors various OpenCores participants
7
   Contributor Jeremy Bennett 
8
 
9
   This file is part of OpenRISC 1000 Architectural Simulator.
10
 
11
   This program is free software; you can redistribute it and/or modify it
12
   under the terms of the GNU General Public License as published by the Free
13
   Software Foundation; either version 3 of the License, or (at your option)
14
   any later version.
15
 
16
   This program is distributed in the hope that it will be useful, but WITHOUT
17
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18
   FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
19
   more details.
20
 
21
   You should have received a copy of the GNU General Public License along
22
   with this program.  If not, see .  */
23
 
24
/* ----------------------------------------------------------------------------
25
   This code is commented throughout for use with Doxygen.
26
   --------------------------------------------------------------------------*/
27
MEMORY
28
        {
29
        flash  : ORIGIN = 0xf0000000, LENGTH = 0x00200000
30
        ram    : ORIGIN = 0x00000500, LENGTH = 0x001fb000
31
        }
32
 
33
SECTIONS
34
{
35
      .reset :
36
        {
37
        *(.reset)
38
         _src_beg = .;
39
        } > flash
40
      .text :
41
        AT ( ADDR (.reset) + SIZEOF (.reset) )
42
        {
43
        _dst_beg = .;
44
        *(.text)
45
        } > ram
46
      .data :
47
        AT ( ADDR (.reset) + SIZEOF (.reset) + SIZEOF (.text) )
48
        {
49
        *(.data)
50
        *(.rodata)
51
        _dst_end = .;
52
        } > ram
53
      .bss :
54
        {
55
        *(.bss)
56
        } > ram
57
}

powered by: WebSVN 2.1.0

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