X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=cpu%2Farm%2Fscripts%2Fat91sam7s256_rom.ld;h=1dc8bde644e03254576197bd051bb8913c62a825;hb=8c25c2352a0446d2ffd6bc26600d5d0127600929;hp=26540d076074878e33154e72e1d3d7fbfd2d2fae;hpb=c851349ccff893a4483031832fe9aba7e926d581;p=bertos.git diff --git a/cpu/arm/scripts/at91sam7s256_rom.ld b/cpu/arm/scripts/at91sam7s256_rom.ld index 26540d07..1dc8bde6 100644 --- a/cpu/arm/scripts/at91sam7s256_rom.ld +++ b/cpu/arm/scripts/at91sam7s256_rom.ld @@ -38,46 +38,6 @@ * */ -/** - * \file - * - * - * \version $Id: sysirq_at91.c 18273 2007-10-11 14:53:02Z batt $ - * - * \author Daniele Basile - * - * \brief Script linker for Atmel AT91 SAM7S256 processors. - * - */ - ENTRY(_init) SEARCH_DIR(.) @@ -110,15 +70,13 @@ SECTIONS { .text : { - * (.vectors); + KEEP(*(.vectors)); . = ALIGN (4); - * (.init); + KEEP(*(.init)); . = ALIGN (4); - * (.rodata); + *(.rodata .rodata.*); . = ALIGN (4); - * (.rodata*); - . = ALIGN (4); - * (.text); + *(.text .text.*); . = ALIGN (4); *(.glue_7t); . = ALIGN(4); @@ -132,7 +90,7 @@ SECTIONS .data : AT (__etext) { PROVIDE (__data_start = .); - * (.data) + *(.data .data.*) . = ALIGN (4); _edata = .; PROVIDE (__data_end = .); @@ -141,16 +99,17 @@ SECTIONS .bss : { PROVIDE (__bss_start = .); - *(.bss) + *(.bss .bss.*) + . = ALIGN(4); *(COMMON) . = ALIGN(4); PROVIDE (__bss_end = .); } > ram -/* - * Allocate stack at the end of bss section. - * Data heap is allocate at end of stack. - */ + /* + * Allocated stack at the end of bss section. + * Data heap is allocate at end of stack. + */ PROVIDE (__stack_start = .); PROVIDE (__stack_fiq_start = .); @@ -181,5 +140,4 @@ SECTIONS PROVIDE (__stack_end = .); PROVIDE (__heap_start = .); - }