Skip to content

fixed function linking definitions - #415

Merged
GrayJack merged 1 commit into
pspdev:masterfrom
krazynez:master
Nov 14, 2026
Merged

GrayJack merged 1 commit into
pspdev:masterfrom
krazynez:master

Conversation

@krazynez

Copy link
Copy Markdown
Contributor

The function import is not created doing this as the #ifdef is never actually defined this way.

You can verify that the function is not in the lib with psp-nm libpsplflash_fatfmt.a the sceLflashFatfmtStartFatfmt funtion is missing.

With this patch redoing you can see the lib actually properly shows the sceLflashFatfmtStartFatfmt function

Before

psp-nm libpsplflash_fatfmt.a 

LflashFatfmt.o:

F_LflashFatfmt_0000.o:

F_LflashFatfmt_0001.o:

After:

psp-nm libpsplflash_fatfmt.a 

LflashFatfmt.o:

F_LflashFatfmt_0000.o:
         U __executable_start
00000000 R __stub_module_LflashFatfmt
00000004 r __stub_modulestr_LflashFatfmt

F_LflashFatfmt_0001.o:
00000000 T sceLflashFatfmtStartFatfmt
         U __stub_module_LflashFatfmt

@JoseAaronLopezGarcia JoseAaronLopezGarcia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extremely important, currently can't compile DC10 without this fix.

@GrayJack
GrayJack merged commit 083d165 into pspdev:master Nov 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants