103 lines
2.2 KiB
Plaintext
103 lines
2.2 KiB
Plaintext
MEMORY
|
|
{
|
|
FLASH(rx) : ORIGIN = 0x00100000, LENGTH = 256k
|
|
CODE (rx) : ORIGIN = 0x0013C000, LENGTH = 16k
|
|
DATA (rwx) : ORIGIN = 0x00000000, LENGTH = 64k
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
. = ORIGIN(FLASH);
|
|
|
|
.init_dummy : {
|
|
*(.init_dummy)
|
|
} >FLASH =0
|
|
|
|
. = ORIGIN(CODE);
|
|
|
|
.init : {
|
|
*(.init)
|
|
__text_copy_start__ = .;
|
|
} >CODE =0
|
|
|
|
.text : AT (LOADADDR(.init) + SIZEOF(.init)) {
|
|
*at91_init0.o(*.text)
|
|
*at91_init1.o(*.text)
|
|
*(.text)
|
|
*(.glue_7t)
|
|
*(.glue_7)
|
|
|
|
. = ALIGN(4);
|
|
_pio_isr_table = .;
|
|
*(.pio_isr)
|
|
_pio_isr_table_end = .;
|
|
|
|
. = ALIGN(4);
|
|
_tdc_value_table = .;
|
|
*(.tdc_value)
|
|
_tdc_value_table_end = .;
|
|
|
|
. = ALIGN(4);
|
|
*(.rodata)
|
|
*(.rodata.*)
|
|
|
|
__data_copy_start__ = (__text_copy_start__ + (__text_end__ - __text_start__));
|
|
} >DATA =0
|
|
|
|
__text_start__ = ADDR(.text);
|
|
__text_end__ = ADDR(.text) + SIZEOF(.text);
|
|
|
|
.data : AT (LOADADDR(.text) + SIZEOF(.text)) {
|
|
*(.data)
|
|
} >DATA =0
|
|
|
|
__data_start__ = ADDR(.data);
|
|
__data_end__ = ADDR(.data) + SIZEOF(.data);
|
|
|
|
.bss : {
|
|
*(.bss)
|
|
*(COMMON)
|
|
}
|
|
|
|
__bss_start__ = ADDR(.bss);
|
|
__bss_end__ = ADDR(.bss) + SIZEOF(.bss);
|
|
|
|
__stack_top__ = ORIGIN(DATA) + LENGTH(DATA);
|
|
|
|
/* Stabs debugging sections. */
|
|
.stab 0 : { *(.stab) }
|
|
.stabstr 0 : { *(.stabstr) }
|
|
.stab.excl 0 : { *(.stab.excl) }
|
|
.stab.exclstr 0 : { *(.stab.exclstr) }
|
|
.stab.index 0 : { *(.stab.index) }
|
|
.stab.indexstr 0 : { *(.stab.indexstr) }
|
|
.comment 0 : { *(.comment) }
|
|
|
|
/* DWARF 1 */
|
|
.debug 0 : { *(.debug) }
|
|
.line 0 : { *(.line) }
|
|
|
|
/* GNU DWARF 1 extensions */
|
|
.debug_srcinfo 0 : { *(.debug_srcinfo) }
|
|
.debug_sfnames 0 : { *(.debug_sfnames) }
|
|
|
|
/* DWARF 1.1 and DWARF 2 */
|
|
.debug_aranges 0 : { *(.debug_aranges) }
|
|
.debug_pubnames 0 : { *(.debug_pubnames) }
|
|
|
|
/* DWARF 2 */
|
|
.debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
|
|
.debug_abbrev 0 : { *(.debug_abbrev) }
|
|
.debug_line 0 : { *(.debug_line) }
|
|
.debug_frame 0 : { *(.debug_frame) }
|
|
.debug_str 0 : { *(.debug_str) }
|
|
.debug_loc 0 : { *(.debug_loc) }
|
|
.debug_macinfo 0 : { *(.debug_macinfo) }
|
|
|
|
/* SGI/MIPS DWARF 2 extensions */
|
|
.debug_weaknames 0 : { *(.debug_weaknames) }
|
|
.debug_funcnames 0 : { *(.debug_funcnames) }
|
|
.debug_typenames 0 : { *(.debug_typenames) }
|
|
.debug_varnames 0 : { *(.debug_varnames) }
|
|
}
|