-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'refs/remotes/origin/main'
- Loading branch information
Showing
15 changed files
with
562 additions
and
374 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
.set noreorder | ||
|
||
.section .text.vector | ||
|
||
#include "as_reg_compat.h" | ||
|
||
.global _start | ||
|
||
.ent _start | ||
_start: | ||
# Clear bss | ||
la $t3, __bss_start | ||
la $t4, __bss_end | ||
clear_bss_loop: | ||
sltu $t5, $t3, $t4 | ||
addiu $t3, $t3, 4 | ||
bnel $t5, $0, clear_bss_loop | ||
sw $0, -4($t3) | ||
j _arkReboot | ||
nop | ||
.end _start | ||
|
||
.set reorder | ||
.set noreorder | ||
|
||
.section .text.vector | ||
|
||
#include "as_reg_compat.h" | ||
|
||
.global _start | ||
|
||
.ent _start | ||
_start: | ||
# Clear bss | ||
la $t3, __bss_start | ||
la $t4, __bss_end | ||
clear_bss_loop: | ||
sltu $t5, $t3, $t4 | ||
addiu $t3, $t3, 4 | ||
bnel $t5, $0, clear_bss_loop | ||
sw $0, -4($t3) | ||
j _arkReboot | ||
nop | ||
.end _start | ||
|
||
.set reorder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
OUTPUT_FORMAT("elf32-littlemips", "elf32-bigmips", "elf32-littlemips") | ||
OUTPUT_ARCH(mips:allegrex) | ||
|
||
ENTRY(_start) | ||
|
||
SECTIONS | ||
{ | ||
. = 0x88FC0000; | ||
.text : | ||
{ | ||
KEEP(*(.text.vector)) | ||
*(.text) | ||
} | ||
.sdata : { *(.sdata) *(.sdata.*) *(.gnu.linkonce.s.*) } | ||
.rodata : { *(.rodata) } | ||
.data : { *(.data*) } | ||
. = .; | ||
.bss (NOLOAD): | ||
{ | ||
__bss_start = .; | ||
*(.bss* .bss.*) | ||
*(COMMON) | ||
__bss_end = .; | ||
} | ||
} | ||
OUTPUT_FORMAT("elf32-littlemips", "elf32-bigmips", "elf32-littlemips") | ||
OUTPUT_ARCH(mips:allegrex) | ||
|
||
ENTRY(_start) | ||
|
||
SECTIONS | ||
{ | ||
. = 0x88FC0000; | ||
.text : | ||
{ | ||
KEEP(*(.text.vector)) | ||
*(.text) | ||
} | ||
.sdata : { *(.sdata) *(.sdata.*) *(.gnu.linkonce.s.*) } | ||
.rodata : { *(.rodata) } | ||
.data : { *(.data*) } | ||
. = .; | ||
.bss (NOLOAD): | ||
{ | ||
__bss_start = .; | ||
*(.bss* .bss.*) | ||
*(COMMON) | ||
__bss_end = .; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.