-
-EXTERN (stm_interrupt_vector)
-
-SECTIONS {
- . = ORIGIN(rom);
-
- /*
- * Rom contents
- */
-
- __text_start__ = .;
-
- .text : {
- *(.interrupt) /* Interrupt vectors */
- *(.text*) /* Executable code */
- *(.rodata*) /* Constants */
- } > rom
-
- .ARM.exidx : {
- *(.ARM.exidx* .gnu.linkonce.armexidx.*)
- __text_end__ = .;
- } > rom
-
- . = ORIGIN(ram);
- __data_start__ = .;
-
- /* Data -- relocated to RAM, but written to ROM
- */
- .data : AT (ADDR(.ARM.exidx) + SIZEOF (.ARM.exidx)) {
- *(.data) /* initialized data */
- __data_end__ = .;
- __bss_start__ = .;
- } >ram
-
- .bss : {
- *(.bss)
- *(COMMON)
- __bss_end__ = .;
- } >ram
-
- PROVIDE(__stack__ = ORIGIN(ram) + LENGTH(ram));
- PROVIDE(end = .);
-
-}
-
-ENTRY(start);
-
-