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

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [core/] [sim/] [rtl_sim/] [bin/] [template.x] - Blame information for rev 201

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

Line No. Rev Author Line
1 2 olivier.gi
/* Default linker script, for normal executables */
2
OUTPUT_FORMAT("elf32-msp430","elf32-msp430","elf32-msp430")
3 134 olivier.gi
OUTPUT_ARCH("msp430")
4 2 olivier.gi
MEMORY
5
{
6 192 olivier.gi
  text      (rx)        : ORIGIN = PMEM_BASE,   LENGTH = PMEM_SIZE
7
  data      (rwx)       : ORIGIN = PER_SIZE,    LENGTH = DMEM_SIZE
8
  vectors64 (rw)        : ORIGIN = 0xff80,      LENGTH = 0x40
9
  vectors32 (rw)        : ORIGIN = 0xffc0,      LENGTH = 0x20
10
  vectors   (rw)        : ORIGIN = 0xffe0,      LENGTH = 0x20
11 2 olivier.gi
}
12
SECTIONS
13
{
14
  /* Read-only sections, merged into text segment.  */
15
  .hash          : { *(.hash)             }
16
  .dynsym        : { *(.dynsym)           }
17
  .dynstr        : { *(.dynstr)           }
18
  .gnu.version   : { *(.gnu.version)      }
19
  .gnu.version_d   : { *(.gnu.version_d)  }
20
  .gnu.version_r   : { *(.gnu.version_r)  }
21
  .rel.init      : { *(.rel.init) }
22
  .rela.init     : { *(.rela.init) }
23
  .rel.text      :
24
    {
25
      *(.rel.text)
26
      *(.rel.text.*)
27
      *(.rel.gnu.linkonce.t*)
28
    }
29
  .rela.text     :
30
    {
31
      *(.rela.text)
32
      *(.rela.text.*)
33
      *(.rela.gnu.linkonce.t*)
34
    }
35
  .rel.fini      : { *(.rel.fini) }
36
  .rela.fini     : { *(.rela.fini) }
37
  .rel.rodata    :
38
    {
39
      *(.rel.rodata)
40
      *(.rel.rodata.*)
41
      *(.rel.gnu.linkonce.r*)
42
    }
43
  .rela.rodata   :
44
    {
45
      *(.rela.rodata)
46
      *(.rela.rodata.*)
47
      *(.rela.gnu.linkonce.r*)
48
    }
49
  .rel.data      :
50
    {
51
      *(.rel.data)
52
      *(.rel.data.*)
53
      *(.rel.gnu.linkonce.d*)
54
    }
55
  .rela.data     :
56
    {
57
      *(.rela.data)
58
      *(.rela.data.*)
59
      *(.rela.gnu.linkonce.d*)
60
    }
61
  .rel.ctors     : { *(.rel.ctors)        }
62
  .rela.ctors    : { *(.rela.ctors)       }
63
  .rel.dtors     : { *(.rel.dtors)        }
64
  .rela.dtors    : { *(.rela.dtors)       }
65
  .rel.got       : { *(.rel.got)          }
66
  .rela.got      : { *(.rela.got)         }
67
  .rel.bss       : { *(.rel.bss)          }
68
  .rela.bss      : { *(.rela.bss)         }
69
  .rel.plt       : { *(.rel.plt)          }
70
  .rela.plt      : { *(.rela.plt)         }
71
  /* Internal text space.  */
72
  .text :
73
  {
74
    . = ALIGN(2);
75
    *(.init)
76
    *(.init0)  /* Start here after reset.  */
77
    *(.init1)
78
    *(.init2)  /* Copy data loop  */
79
    *(.init3)
80
    *(.init4)  /* Clear bss  */
81
    *(.init5)
82
    *(.init6)  /* C++ constructors.  */
83
    *(.init7)
84
    *(.init8)
85
    *(.init9)  /* Call main().  */
86
     __ctors_start = . ;
87
     *(.ctors)
88
     __ctors_end = . ;
89
     __dtors_start = . ;
90
     *(.dtors)
91
     __dtors_end = . ;
92
    . = ALIGN(2);
93
    *(.text)
94
    . = ALIGN(2);
95
    *(.text.*)
96
    . = ALIGN(2);
97
    *(.fini9)  /*   */
98
    *(.fini8)
99
    *(.fini7)
100
    *(.fini6)  /* C++ destructors.  */
101
    *(.fini5)
102
    *(.fini4)
103
    *(.fini3)
104
    *(.fini2)
105
    *(.fini1)
106
    *(.fini0)  /* Infinite loop after program termination.  */
107
    *(.fini)
108
     _etext = . ;
109
  }  > text
110
  .data   : AT (ADDR (.text) + SIZEOF (.text))
111
  {
112
     PROVIDE (__data_start = .) ;
113
    . = ALIGN(2);
114
    *(.data)
115
    . = ALIGN(2);
116
    *(.gnu.linkonce.d*)
117
    . = ALIGN(2);
118
     _edata = . ;
119
  }  > data
120
  .bss  SIZEOF(.data) + ADDR(.data) :
121
  {
122
     PROVIDE (__bss_start = .) ;
123
    *(.bss)
124
    *(COMMON)
125
     PROVIDE (__bss_end = .) ;
126
     _end = . ;
127
  }  > data
128
  .noinit  SIZEOF(.bss) + ADDR(.bss) :
129
  {
130
     PROVIDE (__noinit_start = .) ;
131
    *(.noinit)
132
    *(COMMON)
133
     PROVIDE (__noinit_end = .) ;
134
     _end = . ;
135
  }  > data
136 192 olivier.gi
  .vectors32  :
137
  {
138
     PROVIDE (__vectors32_start = .) ;
139
    *(.vectors32*)
140
     _vectors32_end = . ;
141
  }  > vectors32
142
  .vectors64  :
143
  {
144
     PROVIDE (__vectors64_start = .) ;
145
    *(.vectors64*)
146
     _vectors64_end = . ;
147
  }  > vectors64
148 2 olivier.gi
  .vectors  :
149
  {
150
     PROVIDE (__vectors_start = .) ;
151
    *(.vectors*)
152
     _vectors_end = . ;
153
  }  > vectors
154
  /* Stabs debugging sections.  */
155
  .stab 0 : { *(.stab) }
156
  .stabstr 0 : { *(.stabstr) }
157
  .stab.excl 0 : { *(.stab.excl) }
158
  .stab.exclstr 0 : { *(.stab.exclstr) }
159
  .stab.index 0 : { *(.stab.index) }
160
  .stab.indexstr 0 : { *(.stab.indexstr) }
161
  .comment 0 : { *(.comment) }
162
  /* DWARF debug sections.
163
     Symbols in the DWARF debugging sections are relative to the beginning
164
     of the section so we begin them at 0.  */
165
  /* DWARF 1 */
166
  .debug          0 : { *(.debug) }
167
  .line           0 : { *(.line) }
168
  /* GNU DWARF 1 extensions */
169
  .debug_srcinfo  0 : { *(.debug_srcinfo) }
170
  .debug_sfnames  0 : { *(.debug_sfnames) }
171
  /* DWARF 1.1 and DWARF 2 */
172
  .debug_aranges  0 : { *(.debug_aranges) }
173
  .debug_pubnames 0 : { *(.debug_pubnames) }
174
  /* DWARF 2 */
175
  .debug_info     0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
176
  .debug_abbrev   0 : { *(.debug_abbrev) }
177
  .debug_line     0 : { *(.debug_line) }
178
  .debug_frame    0 : { *(.debug_frame) }
179
  .debug_str      0 : { *(.debug_str) }
180
  .debug_loc      0 : { *(.debug_loc) }
181
  .debug_macinfo  0 : { *(.debug_macinfo) }
182 111 olivier.gi
  PROVIDE (__stack = STACK_INIT) ;
183 2 olivier.gi
  PROVIDE (__data_start_rom = _etext) ;
184
  PROVIDE (__data_end_rom   = _etext + SIZEOF (.data)) ;
185
  PROVIDE (__noinit_start_rom = _etext + SIZEOF (.data)) ;
186
  PROVIDE (__noinit_end_rom = _etext + SIZEOF (.data) + SIZEOF (.noinit)) ;
187
}

powered by: WebSVN 2.1.0

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