summaryrefslogtreecommitdiff
path: root/firmware/target/mips/ingenic_jz47xx
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/app.lds8
-rw-r--r--firmware/target/mips/ingenic_jz47xx/crt0.S2
2 files changed, 7 insertions, 3 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/app.lds b/firmware/target/mips/ingenic_jz47xx/app.lds
index 0d4952a835..cbeb7c1aaf 100644
--- a/firmware/target/mips/ingenic_jz47xx/app.lds
+++ b/firmware/target/mips/ingenic_jz47xx/app.lds
@@ -30,11 +30,15 @@ SECTIONS
30{ 30{
31 . = DRAMORIG; 31 . = DRAMORIG;
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_jz47xx/crt0.S b/firmware/target/mips/ingenic_jz47xx/crt0.S
index 8df00811cb..17cd2b0405 100644
--- a/firmware/target/mips/ingenic_jz47xx/crt0.S
+++ b/firmware/target/mips/ingenic_jz47xx/crt0.S
@@ -44,7 +44,7 @@
44 .extern main 44 .extern main
45 .global _start 45 .global _start
46 46
47 .section .init.text 47 .section .startup.text,"ax",%progbits
48 .set push 48 .set push
49 .set mips32 49 .set mips32
50 .set noreorder 50 .set noreorder