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