X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=cpu%2Farm%2Fscripts%2Fat91sam7s256_ram.ld;h=fe4e982cba944269a8bfe68d4b419a426c9fa49b;hb=2d0bc916c5779e2f3dc9e4775e235e0c633817cc;hp=7700e99ffa8be9f3301f0baa7e71706ffc78402e;hpb=c851349ccff893a4483031832fe9aba7e926d581;p=bertos.git diff --git a/cpu/arm/scripts/at91sam7s256_ram.ld b/cpu/arm/scripts/at91sam7s256_ram.ld index 7700e99f..fe4e982c 100644 --- a/cpu/arm/scripts/at91sam7s256_ram.ld +++ b/cpu/arm/scripts/at91sam7s256_ram.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 = .); - }