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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [lwIP_MCF5235_GCC/] [m5235-rom.ld] - Blame information for rev 694

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

Line No. Rev Author Line
1 583 jeremybenn
STARTUP(system/crt0.o)
2
INPUT(system/vector.o)
3
OUTPUT_ARCH(m68k)
4
SEARCH_DIR(.)
5
GROUP(-lc -lgcc)
6
 
7
__DYNAMIC  =  0;
8
 
9
MEMORY
10
{
11
  flash  (rwx) : ORIGIN = 0x00000000, LENGTH = 0x00200000
12
  sdram  (rwx) : ORIGIN = 0x01000000, LENGTH = 0x01000000
13
  sram   (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00010000
14
  ipsbar (rwx) : ORIGIN = 0x40000000, LENGTH = 0x40000000
15
}
16
 
17
PROVIDE (__stack = 0x2000FFFC);
18
 
19
SECTIONS
20
{
21
  .sdram      : {} > sdram
22
  .ipsbar     : {} > ipsbar
23
  .sram (NOLOAD) : { *(.vector_ram); *(.nbuf) } > sram
24
  .flash      : {} > flash
25
 
26
  .text :
27
  {
28
    __text_start = . ;
29
    *(.vector_rom)
30
    . = ALIGN (0x100);
31
    *(.text)
32
    . = ALIGN (16);
33
 
34
    *(.eh_frame)
35
    . = ALIGN (16);
36
 
37
    *(.gnu.linkonce.t.*)
38
 
39
    . = ALIGN(0x4);
40
     __CTOR_LIST__ = .;
41
    ___CTOR_LIST__ = .;
42
    LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
43
    *(.ctors)
44
    LONG(0)
45
    __CTOR_END__ = .;
46
    __DTOR_LIST__ = .;
47
    ___DTOR_LIST__ = .;
48
    LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
49
    *(.dtors)
50
     LONG(0)
51
    __DTOR_END__ = .;
52
    *(.rodata)
53
    *(.rodata.*)
54
    *(.gcc_except_table)
55
 
56
    . = ALIGN(0x2);
57
    __INIT_SECTION__ = . ;
58
    LONG (0x4e560000)   /* linkw %fp,#0 */
59
    *(.init)
60
    SHORT (0x4e5e)      /* unlk %fp */
61
    SHORT (0x4e75)      /* rts */
62
 
63
    __FINI_SECTION__ = . ;
64
    LONG (0x4e560000)   /* linkw %fp,#0 */
65
    *(.fini)
66
    SHORT (0x4e5e)      /* unlk %fp */
67
    SHORT (0x4e75)      /* rts */
68
 
69
    *(.lit)
70
    . = ALIGN(16);
71
    _etext = .;
72
    etext = .;
73
 
74
  } > flash
75
  . = ALIGN(2);
76
 
77
  .data : AT (ADDR (.text) + SIZEOF (.text))
78
  {
79
    copy_start = .;
80
    *(.shdata)
81
    *(.data)
82
    *(.gnu.linkonce.d.*)
83
    . = ALIGN (16);
84
    _edata = .;
85
    copy_end = .;
86
  } > sdram
87
  __data_load_start = LOADADDR(.data);
88
  __data_load_end = __data_load_start + SIZEOF(.data);
89
 
90
  .bss :
91
  {
92
    . = ALIGN(0x4);
93
    __bss_start = . ;
94
    *(.shbss)
95
    *(.bss)
96
    *(COMMON)
97
    _end =  ALIGN (0x8);
98
    __end = _end;
99
  } > sdram
100
 
101
  .stab 0 (NOLOAD) :
102
  {
103
    *(.stab)
104
  }
105
 
106
  .stabstr 0 (NOLOAD) :
107
  {
108
    *(.stabstr)
109
  }
110
}
111
 
112
__IPSBAR            = ADDR(.ipsbar);
113
 
114
__SDRAM             = ADDR(.sdram);
115
__SDRAM_SIZE        = SIZEOF(.sdram);
116
 
117
__SRAM              = ADDR(.sram);
118
__SRAM_SIZE         = SIZEOF(.sram);
119
 
120
__FLASH             = ADDR(.flash);
121
__FLASH_SIZE        = SIZEOF(.flash);

powered by: WebSVN 2.1.0

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