]> Chaos Git - corbenik/corbenik.git/commit
Big commit
authorchaoskagami <kagami@chaos.moe>
Tue, 20 Dec 2016 07:24:53 +0000 (02:24 -0500)
committerchaoskagami <kagami@chaos.moe>
Tue, 20 Dec 2016 07:24:53 +0000 (02:24 -0500)
commit425f5a28d22faa21d33aaa0539c402a6e7a6e526
treed246aaf489017943ffffe9c22045af4b4a3a0a67
parent25cf47791979d6e90d0777612992fe935b564182
Big commit

malloc(3) is now newlib's implementation instead of my shitty one. Turns out; after poking around the latest linker.ld in libctr9, all this time...

It was a linker script issue. I. Hate. Everything.

Miscellaneous changes also here:
 * f{whatever} -> cr{whatever} to avoid clashes with newlib (and hopefully facillitate replacement)
 * FIRM allocation size was made to be fixed at 0x100000 as a stopgap. Turns out that memory corruption was massive, and the only thing saving my ass before was the allocator being...dumb.
25 files changed:
Makefile.am
include/common.h
include/patcher.h
include/std/draw.h
include/std/fs.h
source/arm11.c
source/chainloader.c
source/config-backend-file.c
source/firm/firm.c
source/firm/firmlaunch.c
source/firm/keys.c
source/firm/util.c
source/firm/version.c
source/interpreter.c
source/linker.ld
source/main.c
source/menu.c
source/patch/emunand.c
source/patch/module.c
source/patch/reboot.c
source/patch/svc.c
source/patcher.c
source/start.s
source/std/draw.c
source/std/fs.c