From: batt Date: Tue, 17 Jun 2008 13:56:32 +0000 (+0000) Subject: Set correct .data start symbol. X-Git-Tag: 2.0.0~464 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=832c02bf0462d4905afe8a4b8c7194144cd9e198;p=bertos.git Set correct .data start symbol. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1470 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/arm/scripts/at91sam7_128_ram.ld b/bertos/cpu/arm/scripts/at91sam7_128_ram.ld index 778aa31b..c4ad8282 100644 --- a/bertos/cpu/arm/scripts/at91sam7_128_ram.ld +++ b/bertos/cpu/arm/scripts/at91sam7_128_ram.ld @@ -87,7 +87,7 @@ SECTIONS _etext = .; PROVIDE (__etext = .); - .data : AT (__etext) + .data : AT (_etext) { PROVIDE (__data_start = .); *(.data .data.*) diff --git a/bertos/cpu/arm/scripts/at91sam7_128_rom.ld b/bertos/cpu/arm/scripts/at91sam7_128_rom.ld index 3ea847e5..88864a8b 100644 --- a/bertos/cpu/arm/scripts/at91sam7_128_rom.ld +++ b/bertos/cpu/arm/scripts/at91sam7_128_rom.ld @@ -87,7 +87,7 @@ SECTIONS _etext = .; PROVIDE (__etext = .); - .data : AT (__etext) + .data : AT (_etext) { PROVIDE (__data_start = .); *(.data .data.*) diff --git a/bertos/cpu/arm/scripts/at91sam7_256_ram.ld b/bertos/cpu/arm/scripts/at91sam7_256_ram.ld index 40c07c95..3b5279c4 100644 --- a/bertos/cpu/arm/scripts/at91sam7_256_ram.ld +++ b/bertos/cpu/arm/scripts/at91sam7_256_ram.ld @@ -87,7 +87,7 @@ SECTIONS _etext = .; PROVIDE (__etext = .); - .data : AT (__etext) + .data : AT (_etext) { PROVIDE (__data_start = .); *(.data .data.*) diff --git a/bertos/cpu/arm/scripts/at91sam7_256_rom.ld b/bertos/cpu/arm/scripts/at91sam7_256_rom.ld index 815aa423..7c20aa9d 100644 --- a/bertos/cpu/arm/scripts/at91sam7_256_rom.ld +++ b/bertos/cpu/arm/scripts/at91sam7_256_rom.ld @@ -87,7 +87,7 @@ SECTIONS _etext = .; PROVIDE (__etext = .); - .data : AT (__etext) + .data : AT (_etext) { PROVIDE (__data_start = .); *(.data .data.*)