diff options
Diffstat (limited to 'firmware/target/arm/tatung')
-rw-r--r-- | firmware/target/arm/tatung/app.lds | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/firmware/target/arm/tatung/app.lds b/firmware/target/arm/tatung/app.lds index cda0190809..a00d5f1f2e 100644 --- a/firmware/target/arm/tatung/app.lds +++ b/firmware/target/arm/tatung/app.lds | |||
@@ -56,20 +56,12 @@ SECTIONS | |||
56 | *(.rodata.str1.1) | 56 | *(.rodata.str1.1) |
57 | *(.rodata.str1.4) | 57 | *(.rodata.str1.4) |
58 | . = ALIGN(0x4); | 58 | . = ALIGN(0x4); |
59 | |||
60 | /* Pseudo-allocate the copies of the data sections */ | ||
61 | _datacopy = .; | ||
62 | } > DRAM | 59 | } > DRAM |
63 | 60 | ||
64 | /* TRICK ALERT! For RAM execution, we put the .data section at the | 61 | .data : |
65 | same load address as the copy. Thus, we don't waste extra RAM | ||
66 | when we don't actually need the copy. */ | ||
67 | .data : AT ( _datacopy ) | ||
68 | { | 62 | { |
69 | _datastart = .; | ||
70 | *(.data*) | 63 | *(.data*) |
71 | . = ALIGN(0x4); | 64 | . = ALIGN(0x4); |
72 | _dataend = .; | ||
73 | } > DRAM | 65 | } > DRAM |
74 | 66 | ||
75 | #if NOCACHE_BASE != 0 | 67 | #if NOCACHE_BASE != 0 |