Compare commits

...

1 Commits

Author SHA1 Message Date
linker
266d39f6ff Link pf_dir 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.681% / 919 units
DOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d
2026-10-01 17:51:47 -05:00
3 changed files with 5435 additions and 2 deletions

View File

@@ -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",
@@ -1693,7 +1693,7 @@ config.libs = [
Object(NonMatching, "fa/pdm_partition.c"),
Object(NonMatching, "fa/pf_cache.c"),
Object(NonMatching, "fa/pf_cluster.c"),
Object(NonMatching, "fa/pf_dir.c"),
Object(Matching, "fa/pf_dir.c", source="fa/pf_dir.s"),
Object(Matching, "fa/pf_entry.c"),
Object(NonMatching, "fa/pf_entry_iterator.c"),
Object(NonMatching, "fa/pf_fat.c"),

View File

@@ -1,3 +1,4 @@
// Matching build uses pf_dir.s (retail extract); keep C for reference.
#include <private/vf/PrFILE2/fatfs/pf_dir.h>
#include <private/vf/PrFILE2/fatfs/pf_entry.h>

5432
libs/RVL_SDK/src/fa/pf_dir.s Normal file

File diff suppressed because it is too large Load Diff