diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-07-03 16:08:25 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-07-03 16:51:58 -0400 |
commit | 80b91277279105d49fdf5a967d88f6a1abc38bb3 (patch) | |
tree | 3a66d045962b1212de3580a0aa9bb4b84f920a41 /firmware | |
parent | d0e47affa9c2fb96d733261dbdf5383e5b14571b (diff) | |
download | rockbox-80b91277279105d49fdf5a967d88f6a1abc38bb3.tar.gz rockbox-80b91277279105d49fdf5a967d88f6a1abc38bb3.zip |
Revert "jx47xx: Rename crt0 'init' sections to 'startup'"
This reverts commit 83bb89d0b836c2571315362603bc5a51cd3b804a.
...It breaks the jz47xx bootloaders.
Diffstat (limited to 'firmware')
-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, 3 insertions, 7 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/app.lds b/firmware/target/mips/ingenic_jz47xx/app.lds index 1d300fed82..29a973a0ca 100644 --- a/firmware/target/mips/ingenic_jz47xx/app.lds +++ b/firmware/target/mips/ingenic_jz47xx/app.lds | |||
@@ -37,15 +37,11 @@ SECTIONS | |||
37 | { | 37 | { |
38 | . = DRAMORIG; | 38 | . = DRAMORIG; |
39 | 39 | ||
40 | .startup : | 40 | .text : |
41 | { | 41 | { |
42 | loadaddress = .; | 42 | loadaddress = .; |
43 | _loadaddress = .; | 43 | _loadaddress = .; |
44 | *(.startup.text); | 44 | *(.init.text); |
45 | } > DRAM | ||
46 | |||
47 | .text : | ||
48 | { | ||
49 | *(.text*); | 45 | *(.text*); |
50 | #ifndef HAVE_INIT_ATTR | 46 | #ifndef HAVE_INIT_ATTR |
51 | *(.init*); | 47 | *(.init*); |
diff --git a/firmware/target/mips/ingenic_jz47xx/crt0.S b/firmware/target/mips/ingenic_jz47xx/crt0.S index b73a43d8f2..ee203b3b4d 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 .startup.text,"ax",%progbits | 47 | .section .init.text |
48 | .set push | 48 | .set push |
49 | .set mips32 | 49 | .set mips32 |
50 | .set noreorder | 50 | .set noreorder |