summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld3
-rw-r--r--firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld3
2 files changed, 2 insertions, 4 deletions
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)) {
personal git repositories of Harald Welte. Your mileage may vary