diff options
Diffstat (limited to 'firmware/target/arm/imx31/boot.lds')
-rw-r--r-- | firmware/target/arm/imx31/boot.lds | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/firmware/target/arm/imx31/boot.lds b/firmware/target/arm/imx31/boot.lds index 03b92c8dea..be1d98e507 100644 --- a/firmware/target/arm/imx31/boot.lds +++ b/firmware/target/arm/imx31/boot.lds | |||
@@ -30,7 +30,7 @@ SECTIONS | |||
30 | { | 30 | { |
31 | *(.init.text) | 31 | *(.init.text) |
32 | *(.text*) | 32 | *(.text*) |
33 | *(.icode) | 33 | *(.icode*) |
34 | *(.glue_7) | 34 | *(.glue_7) |
35 | *(.glue_7t) | 35 | *(.glue_7t) |
36 | . = ALIGN(0x4); | 36 | . = ALIGN(0x4); |
@@ -38,21 +38,17 @@ SECTIONS | |||
38 | 38 | ||
39 | .rodata : | 39 | .rodata : |
40 | { | 40 | { |
41 | *(.rodata) /* problems without this, dunno why */ | ||
42 | *(.rodata*) | 41 | *(.rodata*) |
43 | *(.rodata.str1.1) | 42 | *(.irodata*) |
44 | *(.rodata.str1.4) | ||
45 | . = ALIGN(0x4); | 43 | . = ALIGN(0x4); |
46 | |||
47 | /* Pseudo-allocate the copies of the data sections */ | 44 | /* Pseudo-allocate the copies of the data sections */ |
48 | _datacopy = .; | 45 | _datacopy = .; |
49 | } > DRAM | 46 | } > DRAM |
50 | 47 | ||
51 | .data : | 48 | .data : |
52 | { | 49 | { |
53 | *(.irodata) | ||
54 | *(.idata) | ||
55 | *(.data*) | 50 | *(.data*) |
51 | *(.idata*) | ||
56 | _dataend = . ; | 52 | _dataend = . ; |
57 | } > DRAM | 53 | } > DRAM |
58 | 54 | ||
@@ -93,7 +89,7 @@ SECTIONS | |||
93 | { | 89 | { |
94 | _edata = .; | 90 | _edata = .; |
95 | *(.bss*); | 91 | *(.bss*); |
96 | *(.ibss); | 92 | *(.ibss*); |
97 | *(COMMON) | 93 | *(COMMON) |
98 | . = ALIGN(0x4); | 94 | . = ALIGN(0x4); |
99 | } > DRAM | 95 | } > DRAM |