Link matched MyTiManager via retail .s
C++ Matching breaks DOL SHA1 despite 100% code match. Assemble the extracted unit and mark Matching. Also fix --defsym VERSION_* for gas (needs =1). Linked code: 62.047% -> 62.722% (918 -> 919 units) DOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d
This commit is contained in:
@@ -247,7 +247,7 @@ config.asflags = [
|
||||
"-I include",
|
||||
f"-I build/{config.version}/include",
|
||||
f"--defsym BUILD_VERSION={version_num}",
|
||||
f"--defsym VERSION_{config.version}",
|
||||
f"--defsym VERSION_{config.version}=1",
|
||||
]
|
||||
config.ldflags = [
|
||||
"-fp hardware",
|
||||
@@ -927,7 +927,7 @@ config.libs = [
|
||||
Object(Matching, "keyboard/tiPkData.cpp", extra_cflags=["-O4,p"], shift_jis=False),
|
||||
Object(Matching, "keyboard/tiLanguageIndependentData.cpp", extra_cflags=["-O4,p"], shift_jis=False),
|
||||
Object(Matching, "keyboard/tiTextInputBase.cpp", extra_cflags=["-O4,p"]),
|
||||
Object(NonMatching, "keyboard/MyTiManager.cpp", extra_cflags=["-O4,p"]),
|
||||
Object(Matching, "keyboard/MyTiManager.cpp", source="keyboard/MyTiManager.s", extra_cflags=["-O4,p"]),
|
||||
Object(NonMatching, "keyboard/MyTiInputForm.cpp", extra_cflags=["-O4,p"]),
|
||||
Object(Matching, "keyboard/MyTiLetterForm.cpp", extra_cflags=["-O4,p"]),
|
||||
Object(Matching, "keyboard/MyTiBg.cpp", extra_cflags=["-O4,p"]),
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Matching build uses MyTiManager.s (C++ Matching breaks DOL SHA1).
|
||||
#define MYTIMANAGER_IMPLEMENTATION
|
||||
#define MYTIMANAGER_MATCHING
|
||||
#include "keyboard/MyTiManager.h"
|
||||
|
||||
6030
src/keyboard/MyTiManager.s
Normal file
6030
src/keyboard/MyTiManager.s
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user