diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2022-12-19 23:08:45 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2022-12-19 23:09:54 -0500 |
commit | 83bb89d0b836c2571315362603bc5a51cd3b804a (patch) | |
tree | 4b6076e7fa3cc88d77b1bd21553092040126ad71 | |
parent | 1930ca8d66f66da040c6dd18b9ab1b152c1f7142 (diff) | |
download | rockbox-83bb89d0b8.tar.gz rockbox-83bb89d0b8.zip |
jx47xx: Rename crt0 'init' sections to 'startup'
Mirrors the change made to the x1000 target
Change-Id: I69663245b1d05c001500240af33164f222e70e90
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/app.lds | 8 | ||||
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/crt0.S | 2 |
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 { . = DRAMORIG; - .text : + .startup : { loadaddress = .; _loadaddress = .; - *(.init.text); + *(.startup.text); + } > DRAM + + .text : + { *(.text*); } > DRAM 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 @@ .extern main .global _start - .section .init.text + .section .startup.text,"ax",%progbits .set push .set mips32 .set noreorder |