Line 1... |
Line 1... |
/* Default linker script, for normal executables */
|
/* Default linker script, for normal executables */
|
OUTPUT_FORMAT("elf32-msp430","elf32-msp430","elf32-msp430")
|
OUTPUT_FORMAT("elf32-msp430","elf32-msp430","elf32-msp430")
|
OUTPUT_ARCH(msp:110)
|
OUTPUT_ARCH("msp430")
|
MEMORY
|
MEMORY
|
{
|
{
|
text (rx) : ORIGIN = 0xf800, LENGTH = 2048
|
text (rx) : ORIGIN = 0xf800, LENGTH = 2048
|
data (rwx) : ORIGIN = 0x0200, LENGTH = 128
|
data (rwx) : ORIGIN = 0x0200, LENGTH = 128
|
vectors (rw) : ORIGIN = 0xffe0, LENGTH = 32
|
vectors (rw) : ORIGIN = 0xffe0, LENGTH = 32
|
}
|
}
|
|
__WDTCTL = 0x0120;
|
|
|
SECTIONS
|
SECTIONS
|
{
|
{
|
|
PROVIDE (__stack = 0x0280) ;
|
|
|
/* Read-only sections, merged into text segment. */
|
/* Read-only sections, merged into text segment. */
|
.hash : { *(.hash) }
|
.hash : { *(.hash) }
|
.dynsym : { *(.dynsym) }
|
.dynsym : { *(.dynsym) }
|
.dynstr : { *(.dynstr) }
|
.dynstr : { *(.dynstr) }
|
.gnu.version : { *(.gnu.version) }
|
.gnu.version : { *(.gnu.version) }
|
Line 163... |
Line 167... |
.debug_line 0 : { *(.debug_line) }
|
.debug_line 0 : { *(.debug_line) }
|
.debug_frame 0 : { *(.debug_frame) }
|
.debug_frame 0 : { *(.debug_frame) }
|
.debug_str 0 : { *(.debug_str) }
|
.debug_str 0 : { *(.debug_str) }
|
.debug_loc 0 : { *(.debug_loc) }
|
.debug_loc 0 : { *(.debug_loc) }
|
.debug_macinfo 0 : { *(.debug_macinfo) }
|
.debug_macinfo 0 : { *(.debug_macinfo) }
|
PROVIDE (__stack = 0x0280) ;
|
|
PROVIDE (__data_start_rom = _etext) ;
|
PROVIDE (__data_start_rom = _etext) ;
|
PROVIDE (__data_end_rom = _etext + SIZEOF (.data)) ;
|
PROVIDE (__data_end_rom = _etext + SIZEOF (.data)) ;
|
PROVIDE (__noinit_start_rom = _etext + SIZEOF (.data)) ;
|
PROVIDE (__noinit_start_rom = _etext + SIZEOF (.data)) ;
|
PROVIDE (__noinit_end_rom = _etext + SIZEOF (.data) + SIZEOF (.noinit)) ;
|
PROVIDE (__noinit_end_rom = _etext + SIZEOF (.data) + SIZEOF (.noinit)) ;
|
}
|
}
|