From 09e89c867c8dc14adee298176a0a4c72d8f32245 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Tue, 7 Aug 2012 16:54:36 +0200 Subject: Split out reusable parts into the laks project. --- suzumebachi.ld | 83 ---------------------------------------------------------- 1 file changed, 83 deletions(-) delete mode 100644 suzumebachi.ld (limited to 'suzumebachi.ld') diff --git a/suzumebachi.ld b/suzumebachi.ld deleted file mode 100644 index 4903bd9..0000000 --- a/suzumebachi.ld +++ /dev/null @@ -1,83 +0,0 @@ -MEMORY { - flash (rx) : org = 0x08000000, len = 128k - ram (rwx) : org = 0x20000000, len = 20k -} - -_ram_start = ORIGIN(ram); -_ram_size = LENGTH(ram); -_ram_end = _ram_start + _ram_size; - -SECTIONS { - . = 0; - - .vectors : ALIGN(16) SUBALIGN(16) { - KEEP(*(.vectors)) - } > flash - - .init_array : ALIGN(4) SUBALIGN(4) { - PROVIDE(_init_array_start = .); - KEEP(*(SORT(.init_array.*))) - KEEP(*(.init_array)) - PROVIDE(_init_array_end = .); - } > flash - - .fini_array : ALIGN(4) SUBALIGN(4) { - PROVIDE(_fini_array_start = .); - KEEP(*(.fini_array)) - KEEP(*(SORT(.fini_array.*))) - PROVIDE(_fini_array_end = .); - } > flash - - .text : ALIGN(16) SUBALIGN(16) { - *(.text.startup.*) - *(.text) - *(.text.*) - *(.rodata) - *(.rodata.*) - *(.glue_7t) - *(.glue_7) - *(.gcc*) - } > flash - - .ARM.extab : { - *(.ARM.extab* .gnu.linkonce.armextab.*) - } > flash - - .ARM.exidx : { - *(.ARM.exidx* .gnu.linkonce.armexidx.*) - } > flash - - .eh_frame_hdr : { - *(.eh_frame_hdr) - } > flash - - .eh_frame : ONLY_IF_RO { - *(.eh_frame) - } > flash - - . = ALIGN(4); - - PROVIDE(_data_rom = .); - - .data : { - PROVIDE(_data_start = .); - *(.data) - . = ALIGN(4); - *(.data.*) - . = ALIGN(4); - *(.ramtext) - . = ALIGN(4); - PROVIDE(_data_end = .); - } > ram AT > flash - - .bss : { - PROVIDE(_bss_start = .); - *(.bss) - . = ALIGN(4); - *(.bss.*) - . = ALIGN(4); - *(COMMON) - . = ALIGN(4); - PROVIDE(_bss_end = .); - } > ram -} -- cgit v1.2.3