diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-12-03 11:27:20 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-12-18 22:14:22 +0000 |
commit | e8ad52be94fde3e99162c33ac94558e797a733e5 (patch) | |
tree | 40fb89e2af0a96ce688b141b310b12b871f949d0 /firmware/target/mips/ingenic_x1000/crt0.S | |
parent | 68af18a56f343525e92df6e5425a1f1ca39fd576 (diff) | |
download | rockbox-e8ad52be94fde3e99162c33ac94558e797a733e5.tar.gz rockbox-e8ad52be94fde3e99162c33ac94558e797a733e5.zip |
x1000: Rename crt0 .init sections to .startup
Avoid startup code clashing with the .init section, which is
by convention used for INIT_ATTR code that can be discarded
after app initialization.
Change-Id: Id59b7618ef41e65c33fc0f133644e07555a913eb
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/crt0.S')
-rw-r--r-- | firmware/target/mips/ingenic_x1000/crt0.S | 2 |
1 files changed, 1 insertions, 1 deletions
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 |