diff options
Diffstat (limited to 'firmware/target/arm/imx31')
-rw-r--r-- | firmware/target/arm/imx31/app.lds | 10 |
1 files changed, 1 insertions, 9 deletions
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 | |||
60 | *(.rodata.str1.4) | 60 | *(.rodata.str1.4) |
61 | *(.irodata) | 61 | *(.irodata) |
62 | . = ALIGN(0x4); | 62 | . = ALIGN(0x4); |
63 | |||
64 | /* Pseudo-allocate the copies of the data sections */ | ||
65 | _datacopy = .; | ||
66 | } > DRAM | 63 | } > DRAM |
67 | 64 | ||
68 | /* TRICK ALERT! For RAM execution, we put the .data section at the | 65 | .data : |
69 | same load address as the copy. Thus, we don't waste extra RAM | ||
70 | when we don't actually need the copy. */ | ||
71 | .data : AT ( _datacopy ) | ||
72 | { | 66 | { |
73 | _datastart = .; | ||
74 | *(.data*) | 67 | *(.data*) |
75 | *(.idata) | 68 | *(.idata) |
76 | . = ALIGN(0x4); | 69 | . = ALIGN(0x4); |
77 | _dataend = .; | ||
78 | } > DRAM | 70 | } > DRAM |
79 | 71 | ||
80 | #if 0 /* Unneeded at the moment */ | 72 | #if 0 /* Unneeded at the moment */ |