From e62dfa5225a1773350bcf2236dc6516bdfc694d2 Mon Sep 17 00:00:00 2001 From: Boris Gjenero Date: Tue, 22 Nov 2011 17:34:01 +0000 Subject: 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 --- firmware/target/arm/imx31/app.lds | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'firmware/target/arm/imx31/app.lds') diff --git a/firmware/target/arm/imx31/app.lds b/firmware/target/arm/imx31/app.lds index 0325f89b66..60187fe433 100644 --- a/firmware/target/arm/imx31/app.lds +++ b/firmware/target/arm/imx31/app.lds @@ -60,21 +60,13 @@ SECTIONS *(.rodata.str1.4) *(.irodata) . = 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*) *(.idata) . = ALIGN(0x4); - _dataend = .; } > DRAM #if 0 /* Unneeded at the moment */ -- cgit v1.2.3