summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2022-12-19 23:08:45 -0500
committerSolomon Peachy <pizza@shaftnet.org>2022-12-19 23:09:54 -0500
commit83bb89d0b836c2571315362603bc5a51cd3b804a (patch)
tree4b6076e7fa3cc88d77b1bd21553092040126ad71 /firmware/target
parent1930ca8d66f66da040c6dd18b9ab1b152c1f7142 (diff)
downloadrockbox-83bb89d0b836c2571315362603bc5a51cd3b804a.tar.gz
rockbox-83bb89d0b836c2571315362603bc5a51cd3b804a.zip
jx47xx: Rename crt0 'init' sections to 'startup'
Mirrors the change made to the x1000 target Change-Id: I69663245b1d05c001500240af33164f222e70e90
Diffstat (limited to 'firmware/target')
-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