1
0
Fork 0
forked from len0rd/rockbox

Revert "jx47xx: Rename crt0 'init' sections to 'startup'"

This reverts commit 83bb89d0b8.

...It breaks the jz47xx bootloaders.
This commit is contained in:
Solomon Peachy 2024-07-03 16:08:25 -04:00
parent d0e47affa9
commit 80b9127727
2 changed files with 3 additions and 7 deletions

View file

@ -37,15 +37,11 @@ SECTIONS
{ {
. = DRAMORIG; . = DRAMORIG;
.startup : .text :
{ {
loadaddress = .; loadaddress = .;
_loadaddress = .; _loadaddress = .;
*(.startup.text); *(.init.text);
} > DRAM
.text :
{
*(.text*); *(.text*);
#ifndef HAVE_INIT_ATTR #ifndef HAVE_INIT_ATTR
*(.init*); *(.init*);

View file

@ -44,7 +44,7 @@
.extern main .extern main
.global _start .global _start
.section .startup.text,"ax",%progbits .section .init.text
.set push .set push
.set mips32 .set mips32
.set noreorder .set noreorder