Fix linker scripts

This commit is contained in:
TuxSH
2017-02-23 19:30:09 +01:00
parent bf7e30539e
commit b1b81c87f2
5 changed files with 34 additions and 21 deletions

View File

@@ -1,11 +1,12 @@
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
OUTPUT_ARCH(arm)
ENTRY(_start)
SECTIONS
{
. = 0x24FFFE00;
.text.start : { *(.text.start) }
.text : { *(.text) }
.data : { *(.data) }
.bss : { *(.bss COMMON) }
.rodata : { *(.rodata) }
.text : ALIGN(4) { *(.text.start) *(.text*)}
.rodata : ALIGN(4) { *(.rodata*) }
.data : ALIGN(4) { *(.data*) *(.bss* COMMON)}
. = ALIGN(4);
}