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

Subversion Repositories sdcard_mass_storage_controller

[/] [sdcard_mass_storage_controller/] [trunk/] [sw/] [sdc_dma/] [ram.ld] - Blame information for rev 127

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

Line No. Rev Author Line
1 69 tac2
/* Linker script for OR1200 program */
2
 
3
/* Linking for loading into high SDRAM */
4
 
5
MEMORY
6
{
7
    ld_info     : ORIGIN = 0x01000000, LENGTH = 0x000000F0
8
    vectors     : ORIGIN = 0x01000100, LENGTH = 0x00000D00 - 0x100
9
    flash       : ORIGIN = 0x01000D00, LENGTH = 0x00002000 - 0x0A00
10
    ram         : ORIGIN = 0x01003000, LENGTH = 0x00fffff0
11
}
12
 
13
 
14
/* Linking for loading into external SDRAM */
15
 
16
/*
17
MEMORY
18
{
19
    ld_info     : ORIGIN = 0x00000000, LENGTH = 0x000000F0
20
    vectors     : ORIGIN = 0x00000100, LENGTH = 0x00000D00 - 0x100
21
    flash       : ORIGIN = 0x00000D00, LENGTH = 0x00002000 - 0x0A00
22
    ram         : ORIGIN = 0x00003000, LENGTH = 0x00001000
23
}
24
*/
25
/*
26
  The following section defines where to put the different input sections.
27
  .text contains the code.
28
  .data contains the initialized data.
29
  .bss contains uninitialized data.
30
  .sdata contains small constant data.
31
*/
32
 
33
SECTIONS
34
{
35
 
36
/*
37
      .ld_info :
38
      {
39
        revision.o(.data)
40
      } > ld_info
41
*/
42
    .vectors :   { *(.vectors) }    > vectors
43
 
44
    .text :     { *(.text)  }       > ram
45
    .rodata :   { *(.rodata)}       > ram
46
    .data :     { *(.data)  }       > ram
47
    .bss :      { *(.bss)   }       > ram
48
 
49
    .stack :
50
    {
51
        __STACK_TOP    = . ;
52
        . = . + 0x00000500;
53
        __STACK_BOTTOM = . ;
54
    }                               > ram
55
}
56
 
57
/*
58
  Definitions of identifiers that control initialization and memory allocation:
59
  These two symbols must be present.
60
   __BSS_START  : Start of uninitialized data
61
   __BSS_END    : End of data to be cleared
62
*/
63
 
64
__CODE_START  = ADDR( .text );
65
__CODE_END    = ADDR( .text ) + SIZEOF( .text );
66
 
67
__DATA_START  = ADDR( .bss );
68
__DATA_END    = ADDR( .bss ) + SIZEOF( .bss );

powered by: WebSVN 2.1.0

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