diff options
-rw-r--r-- | firmware/target/mips/ingenic_x1000/app.lds | 8 | ||||
-rw-r--r-- | firmware/target/mips/ingenic_x1000/crt0.S | 2 | ||||
-rw-r--r-- | firmware/target/mips/ingenic_x1000/spl-start.S | 2 | ||||
-rw-r--r-- | firmware/target/mips/ingenic_x1000/spl.lds | 2 |
4 files changed, 9 insertions, 5 deletions
diff --git a/firmware/target/mips/ingenic_x1000/app.lds b/firmware/target/mips/ingenic_x1000/app.lds index 5b43f9576e..270055c18f 100644 --- a/firmware/target/mips/ingenic_x1000/app.lds +++ b/firmware/target/mips/ingenic_x1000/app.lds | |||
@@ -30,11 +30,15 @@ MEMORY | |||
30 | 30 | ||
31 | SECTIONS | 31 | SECTIONS |
32 | { | 32 | { |
33 | .text : | 33 | .startup : |
34 | { | 34 | { |
35 | loadaddress = .; | 35 | loadaddress = .; |
36 | _loadaddress = .; | 36 | _loadaddress = .; |
37 | *(.init.text); | 37 | *(.startup.text); |
38 | } > DRAM | ||
39 | |||
40 | .text : | ||
41 | { | ||
38 | *(.text*); | 42 | *(.text*); |
39 | } > DRAM | 43 | } > DRAM |
40 | 44 | ||
diff --git a/firmware/target/mips/ingenic_x1000/crt0.S b/firmware/target/mips/ingenic_x1000/crt0.S index ad2719474b..494f3722aa 100644 --- a/firmware/target/mips/ingenic_x1000/crt0.S +++ b/firmware/target/mips/ingenic_x1000/crt0.S | |||
@@ -34,7 +34,7 @@ | |||
34 | .set noreorder | 34 | .set noreorder |
35 | .set noat | 35 | .set noat |
36 | 36 | ||
37 | .section .init.text | 37 | .section .startup.text,"ax",%progbits |
38 | 38 | ||
39 | _start: | 39 | _start: |
40 | b _realstart | 40 | b _realstart |
diff --git a/firmware/target/mips/ingenic_x1000/spl-start.S b/firmware/target/mips/ingenic_x1000/spl-start.S index 58346fe750..ecdc47f283 100644 --- a/firmware/target/mips/ingenic_x1000/spl-start.S +++ b/firmware/target/mips/ingenic_x1000/spl-start.S | |||
@@ -31,7 +31,7 @@ | |||
31 | .set noreorder | 31 | .set noreorder |
32 | .set noat | 32 | .set noat |
33 | 33 | ||
34 | .section .init.spl | 34 | .section .startup.spl |
35 | 35 | ||
36 | _spl_start: | 36 | _spl_start: |
37 | /* Clear data watchpoint */ | 37 | /* Clear data watchpoint */ |
diff --git a/firmware/target/mips/ingenic_x1000/spl.lds b/firmware/target/mips/ingenic_x1000/spl.lds index 09ab75d520..b6c982bd80 100644 --- a/firmware/target/mips/ingenic_x1000/spl.lds +++ b/firmware/target/mips/ingenic_x1000/spl.lds | |||
@@ -15,7 +15,7 @@ SECTIONS | |||
15 | { | 15 | { |
16 | .text : | 16 | .text : |
17 | { | 17 | { |
18 | *(.init.spl); | 18 | *(.startup.spl); |
19 | *(.text*); | 19 | *(.text*); |
20 | *(.icode*); | 20 | *(.icode*); |
21 | } > TCSM | 21 | } > TCSM |