summaryrefslogtreecommitdiff
path: root/ld_scripts/arm_flash_ram.ld
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2021-01-22 14:27:02 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2021-01-22 14:27:02 +0100
commitdd742dc80981be5cc5ff218485cbfa408ecb0596 (patch)
tree6bd44b642ac65ce207aebcb0f6b4c59ddad4728a /ld_scripts/arm_flash_ram.ld
parent257c13ef064e20bfbe7330004c76a77f8a73b86b (diff)
ld_scripts: Remove obsolete linker scripts.
Diffstat (limited to 'ld_scripts/arm_flash_ram.ld')
-rw-r--r--ld_scripts/arm_flash_ram.ld86
1 files changed, 0 insertions, 86 deletions
diff --git a/ld_scripts/arm_flash_ram.ld b/ld_scripts/arm_flash_ram.ld
deleted file mode 100644
index df0a578..0000000
--- a/ld_scripts/arm_flash_ram.ld
+++ /dev/null
@@ -1,86 +0,0 @@
-_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(4) SUBALIGN(4) {
- *(.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 = .);
-
- .bootinfo : {
- *(.bootinfo)
- } > ram
-
- . = ALIGN(4);
-
- .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
-
- PROVIDE(_ram_end = ORIGIN(ram) + LENGTH(ram));
-}