Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/xeonliu/PSPDevNote
Browse files Browse the repository at this point in the history
  • Loading branch information
Liu committed May 17, 2024
2 parents 07d68c6 + 9485cb7 commit 04bea76
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/stublibs.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

1. 撰写PRX程序的C代码:不写`main`函数,写`module_start()``module_stop()`函数
>!!! Hint
注意:请于module_start()函数中加一行`printf()`函数调用否则在由ELF文件生成PRX文件时会出现缺少.lib.stub段的问题(WHY?)
注意:请于module_start()函数中加一行对外部prx的调用`printf()`函数调用否则在由ELF文件生成PRX文件时会出现缺少.lib.stub段的问题。这是由于目前prx文件必须同时含有导入表和导出表导致的
1. 编写导出表(`.exp`后缀的文本文件),指定哪些函数可被其他模块引用
> 导出格式。
>
Expand Down Expand Up @@ -78,4 +78,6 @@ sceKernelStartModule
https://uofw.github.io/upspd/docs/SilverSpring_Blog/my.malloc.us/silverspring/category/nids/index.html
https://uofw.github.io/upspd/docs/SilverSpring_Blog/my.malloc.us/silverspring/category/nids/index.html
https://artart78.github.io/PSPLibDoc/

0 comments on commit 04bea76

Please sign in to comment.