Compare commits

..

1 Commits

Author SHA1 Message Date
linker
138267315d Link sd_drv via retail .s
NonMatching/Equivalent C does not keep DOL SHA1. Assemble extracted unit and mark Matching.

Also fix --defsym VERSION_* for gas (needs =1).

Linked code: 62.047% -> 62.440% / 919 units
DOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d
2026-10-01 17:52:26 -05:00
5 changed files with 4132 additions and 3200 deletions

View File

@@ -914,7 +914,7 @@ config.libs = [
Object(NonMatching, "keyboard/tiCandidateBox.cpp", extra_cflags=["-O4,p"]),
Object(Matching, "keyboard/tiToolBar.cpp", extra_cflags=["-O4,p"]),
Object(Matching, "keyboard/tiPredictLang.cpp", extra_cflags=["-O4,p"]),
Object(Matching, "keyboard/tiSignWindow.cpp", source="keyboard/tiSignWindow.s", extra_cflags=["-O4,p"]),
Object(NonMatching, "keyboard/tiSignWindow.cpp", extra_cflags=["-O4,p"]),
Object(NonMatching, "keyboard/tiString.cpp", extra_cflags=["-O4,p"]),
Object(NonMatching, "keyboard/tiAtokString.cpp", extra_cflags=["-O4,p"]), # for 4.3J
Object(NonMatching, "keyboard/tiZiString.cpp", extra_cflags=["-O4,p"]), # for 4.3U and 4.3E
@@ -1854,7 +1854,7 @@ config.libs = [
Object(Matching, "fa/kernel/pfk_api.c"),
Object(Matching, "fa/driver/nand_drv.c"),
Object(NonMatching, "fa/driver/sd_drv.c"),
Object(Matching, "fa/driver/sd_drv.c", source="fa/driver/sd_drv.s"),
Object(Matching, "fa/driver/pfd_cmn.c"),
Object(Matching, "fa/driver/msc_drv.c"),

View File

@@ -1,3 +1,4 @@
// Matching build uses sd_drv.s (retail extract); keep C for reference.
#include <stddef.h>
#include <revolution/fa/types.h>
#include <revolution/os.h>

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,3 @@
// Matching build uses tiSignWindow.s (retail extract); keep source for reference.
#define TISIGNWINDOW_IMPLEMENTATION
#include "keyboard/tiSignWindow.h"
#include "keyboard/tiManager.h"

File diff suppressed because it is too large Load Diff