diff options
Diffstat (limited to 'firmware/target/arm/tcc780x')
-rw-r--r-- | firmware/target/arm/tcc780x/app.lds | 11 | ||||
-rw-r--r-- | firmware/target/arm/tcc780x/boot.lds | 9 |
2 files changed, 8 insertions, 12 deletions
diff --git a/firmware/target/arm/tcc780x/app.lds b/firmware/target/arm/tcc780x/app.lds index e84ea05de7..e56c7f5cb7 100644 --- a/firmware/target/arm/tcc780x/app.lds +++ b/firmware/target/arm/tcc780x/app.lds | |||
@@ -51,10 +51,7 @@ SECTIONS | |||
51 | 51 | ||
52 | .rodata : | 52 | .rodata : |
53 | { | 53 | { |
54 | *(.rodata) /* problems without this, dunno why */ | ||
55 | *(.rodata*) | 54 | *(.rodata*) |
56 | *(.rodata.str1.1) | ||
57 | *(.rodata.str1.4) | ||
58 | . = ALIGN(0x4); | 55 | . = ALIGN(0x4); |
59 | } > DRAM | 56 | } > DRAM |
60 | 57 | ||
@@ -97,9 +94,9 @@ SECTIONS | |||
97 | .iram : | 94 | .iram : |
98 | { | 95 | { |
99 | _iramstart = .; | 96 | _iramstart = .; |
100 | *(.irodata) | 97 | *(.irodata*) |
101 | *(.idata) | 98 | *(.idata*) |
102 | *(.icode) | 99 | *(.icode*) |
103 | . = ALIGN(0x4); | 100 | . = ALIGN(0x4); |
104 | _iramend = .; | 101 | _iramend = .; |
105 | } > SRAM AT> DRAM | 102 | } > SRAM AT> DRAM |
@@ -109,7 +106,7 @@ SECTIONS | |||
109 | .ibss (NOLOAD) : | 106 | .ibss (NOLOAD) : |
110 | { | 107 | { |
111 | _iedata = .; | 108 | _iedata = .; |
112 | *(.ibss) | 109 | *(.ibss*) |
113 | . = ALIGN(0x4); | 110 | . = ALIGN(0x4); |
114 | _iend = .; | 111 | _iend = .; |
115 | } > SRAM | 112 | } > SRAM |
diff --git a/firmware/target/arm/tcc780x/boot.lds b/firmware/target/arm/tcc780x/boot.lds index 82b4619819..e54e09f91e 100644 --- a/firmware/target/arm/tcc780x/boot.lds +++ b/firmware/target/arm/tcc780x/boot.lds | |||
@@ -27,16 +27,15 @@ SECTIONS | |||
27 | { | 27 | { |
28 | .text : { | 28 | .text : { |
29 | *(.init.text) | 29 | *(.init.text) |
30 | *(.text) | ||
31 | *(.text*) | 30 | *(.text*) |
32 | *(.glue_7) | 31 | *(.glue_7) |
33 | *(.glue_7t) | 32 | *(.glue_7t) |
34 | } > DRAM | 33 | } > DRAM |
35 | 34 | ||
36 | .data : { | 35 | .data : { |
37 | *(.icode) | 36 | *(.icode*) |
38 | *(.irodata) | 37 | *(.irodata*) |
39 | *(.idata) | 38 | *(.idata*) |
40 | *(.data*) | 39 | *(.data*) |
41 | *(.rodata.*) | 40 | *(.rodata.*) |
42 | . = ALIGN(0x4); | 41 | . = ALIGN(0x4); |
@@ -55,7 +54,7 @@ SECTIONS | |||
55 | .bss (NOLOAD) : { | 54 | .bss (NOLOAD) : { |
56 | _edata = .; | 55 | _edata = .; |
57 | *(.bss*); | 56 | *(.bss*); |
58 | *(.ibss); | 57 | *(.ibss*); |
59 | *(COMMON) | 58 | *(COMMON) |
60 | _end = .; | 59 | _end = .; |
61 | } > DRAM | 60 | } > DRAM |