summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/ipod
diff options
context:
space:
mode:
authorBoris Gjenero <dreamlayers@rockbox.org>2011-11-22 17:34:01 +0000
committerBoris Gjenero <dreamlayers@rockbox.org>2011-11-22 17:34:01 +0000
commite62dfa5225a1773350bcf2236dc6516bdfc694d2 (patch)
treef5e2e80b14e8e021852b822b77f8ec075da3fafe /firmware/target/arm/ipod
parent706575f04bd4d6372fd4779d9052f506253f18ca (diff)
downloadrockbox-e62dfa5225a1773350bcf2236dc6516bdfc694d2.tar.gz
rockbox-e62dfa5225a1773350bcf2236dc6516bdfc694d2.tar.bz2
rockbox-e62dfa5225a1773350bcf2236dc6516bdfc694d2.zip
FS#12397 : On targets which load .data directly into its final location and lack code for moving it, remove linker script trick which ignores section alignment and word-aligns the section instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31041 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/ipod')
-rw-r--r--firmware/target/arm/ipod/app.lds10
1 files changed, 1 insertions, 9 deletions
diff --git a/firmware/target/arm/ipod/app.lds b/firmware/target/arm/ipod/app.lds
index 3fe08feddd..9c7eb16391 100644
--- a/firmware/target/arm/ipod/app.lds
+++ b/firmware/target/arm/ipod/app.lds
@@ -56,20 +56,12 @@ SECTIONS
*(.rodata.str1.1)
*(.rodata.str1.4)
. = ALIGN(0x4);
-
- /* Pseudo-allocate the copies of the data sections */
- _datacopy = .;
} > DRAM
- /* TRICK ALERT! For RAM execution, we put the .data section at the
- same load address as the copy. Thus, we don't waste extra RAM
- when we don't actually need the copy. */
- .data : AT ( _datacopy )
+ .data :
{
- _datastart = .;
*(.data*)
. = ALIGN(0x4);
- _dataend = .;
} > DRAM
#if NOCACHE_BASE != 0