comparison packages/hal/synth/arch/current/src/synth.ld @ 1707:0943943e5b80

+ * src/synth.ld: Added the 2ram section needed for flash devices
author asl
date Thu, 05 Aug 2004 13:52:36 +0000
parents 6e9aef716a8b
children
comparison
equal deleted inserted replaced
1706:3845779eca10 1707:0943943e5b80
182 . = ALIGN(8); __CTOR_LIST__ = ABSOLUTE(.); \ 182 . = ALIGN(8); __CTOR_LIST__ = ABSOLUTE(.); \
183 KEEP(*(SORT(.ctors*))) __CTOR_END__ = ABSOLUTE(.); \ 183 KEEP(*(SORT(.ctors*))) __CTOR_END__ = ABSOLUTE(.); \
184 __DTOR_LIST__ = ABSOLUTE(.); \ 184 __DTOR_LIST__ = ABSOLUTE(.); \
185 KEEP(*(SORT(.dtors*))) __DTOR_END__ = ABSOLUTE(.); \ 185 KEEP(*(SORT(.dtors*))) __DTOR_END__ = ABSOLUTE(.); \
186 . = ALIGN(32); \ 186 . = ALIGN(32); \
187 KEEP(*( SORT (.ecos.table.cyg_flashdev.*))); \
187 KEEP(*( SORT (.ecos.table.*))); \ 188 KEEP(*( SORT (.ecos.table.*))); \
188 _GOT2_START_ = ABSOLUTE(.); *(.got2) _GOT2_END_ = ABSOLUTE(.); \ 189 _GOT2_START_ = ABSOLUTE(.); *(.got2) _GOT2_END_ = ABSOLUTE(.); \
189 _GOT_START_ = ABSOLUTE(.); _GLOBAL_OFFSET_TABLE_ = ABSOLUTE(. + 32768); \ 190 _GOT_START_ = ABSOLUTE(.); _GLOBAL_OFFSET_TABLE_ = ABSOLUTE(. + 32768); \
190 _SDA_BASE_ = ABSOLUTE(.); *(.got.plt) *(.got) \ 191 _SDA_BASE_ = ABSOLUTE(.); *(.got.plt) *(.got) \
191 _GOT_END_ = ABSOLUTE(.); *(.dynamic) \ 192 _GOT_END_ = ABSOLUTE(.); *(.dynamic) \
192 /* We want the small data sections together, so single-instruction */ \ 193 /* We want the small data sections together, so single-instruction */ \
193 /* offsets can access them all, and initialized data all before */ \ 194 /* offsets can access them all, and initialized data all before */ \
194 /* uninitialized, so we can shorten the on-disk segment size. */ \ 195 /* uninitialized, so we can shorten the on-disk segment size. */ \
195 _SDATA_START_ = ABSOLUTE(.); *(.sdata*) *(.gnu.linkonce.s.*) } \ 196 _SDATA_START_ = ABSOLUTE(.); *(.sdata*) *(.gnu.linkonce.s.*) \
197 *(.dynamic) *(.sdata*) *(.gnu.linkonce.s.*) \
198 . = ALIGN (4); *(.2ram.*) } \
196 > _region_ \ 199 > _region_ \
197 __rom_data_start = LOADADDR(.data); \ 200 __rom_data_start = LOADADDR(.data); \
198 __ram_data_end = .; PROVIDE(__ram_data_end = .); \ 201 __ram_data_end = .; PROVIDE(__ram_data_end = .); \
199 _edata = .; PROVIDE (edata = .); 202 _edata = .; PROVIDE (edata = .);
200 203