From 7b93a43784d19102b015f3f3537942c497036445 Mon Sep 17 00:00:00 2001 From: laforge Date: Wed, 20 Sep 2006 08:27:20 +0000 Subject: fix _edata_shared address definition git-svn-id: https://svn.openpcd.org:2342/trunk@206 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld | 3 +-- firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'firmware') diff --git a/firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld b/firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld index f71249d..a0f7c3e 100644 --- a/firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld +++ b/firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld @@ -31,8 +31,7 @@ SECTIONS . = ALIGN(4); } >DATA - _edata_shared = . ; - PROVIDE (edata_shared = .); + _edata_shared = LOADADDR(.data.shared) + SIZEOF(.data.shared); /* 0x00200000 ... */ .data (0x00200000 + SIZEOF(.text)): AT diff --git a/firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld b/firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld index 0fa1a06..a151de8 100644 --- a/firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld +++ b/firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld @@ -31,8 +31,7 @@ SECTIONS . = ALIGN(4); } >DATA - _edata_shared = . ; - PROVIDE (edata_shared = .); + _edata_shared = LOADADDR(.data.shared) + SIZEOF(.data.shared); /* 0x00200000 ... */ .data (0x00200000 + SIZEOF(.text)): AT ( LOADADDR(.text) + SIZEOF(.text) + SIZEOF(.data.shared)) { -- cgit v1.2.3