diff options
| author | John "Lameguy" Wilbert Villamor <lameguy64@gmail.com> | 2021-08-31 13:23:20 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-31 13:23:20 +0800 |
| commit | ffa679d4d24b891cb59aba10946368f2ec00c391 (patch) | |
| tree | 0cf6061915ebf48acdedf6d77b0c1b76eec5b8c3 /libpsn00b/libc/_mem_init.s | |
| parent | 317dc2b91d3afcdbaddb035f38611d12af161970 (diff) | |
| parent | f2fc18f82dd7900465d6ab3ae2080726d5589d39 (diff) | |
| download | psn00bsdk-ffa679d4d24b891cb59aba10946368f2ec00c391.tar.gz | |
Merge pull request #36 from spicyjpeg/dynlink
Dynamic linker, gp-relative addressing, ldscripts and more
Diffstat (limited to 'libpsn00b/libc/_mem_init.s')
| -rw-r--r-- | libpsn00b/libc/_mem_init.s | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/libpsn00b/libc/_mem_init.s b/libpsn00b/libc/_mem_init.s deleted file mode 100644 index 672ac2f..0000000 --- a/libpsn00b/libc/_mem_init.s +++ /dev/null @@ -1,20 +0,0 @@ -.set noreorder - -.global _mem_init -.type _mem_init, @function -_mem_init: - -.section .text - -_mem_init: - la $a0, __bss_start - la $a1, _end -.Lclear_bss: - sb $0 , 0($a0) - blt $a0, $a1, .Lclear_bss - addiu $a0, 1 - la $a0, _end+4 # Initialize heap for malloc (does not use BIOS maalloc) - li $a1, 1572864 # Allocate 1.5MB at end of bss - j InitHeap - nop -
\ No newline at end of file |
