From 36477d45854bf22a785a539217854fc3db79f129 Mon Sep 17 00:00:00 2001 From: xeonliu <62530004+xeonliu@users.noreply.github.com> Date: Fri, 17 May 2024 07:51:38 +0800 Subject: [PATCH 1/2] Update stublibs.md --- docs/stublibs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/stublibs.md b/docs/stublibs.md index 1a70083..038a0c8 100644 --- a/docs/stublibs.md +++ b/docs/stublibs.md @@ -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`后缀的文本文件),指定哪些函数可被其他模块引用 > 导出格式。 > From 9485cb70a7c6877cc76ac401f953d5259b51d353 Mon Sep 17 00:00:00 2001 From: xeonliu <62530004+xeonliu@users.noreply.github.com> Date: Fri, 17 May 2024 07:53:39 +0800 Subject: [PATCH 2/2] Update stublibs.md --- docs/stublibs.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/stublibs.md b/docs/stublibs.md index 038a0c8..cd7d381 100644 --- a/docs/stublibs.md +++ b/docs/stublibs.md @@ -78,4 +78,6 @@ sceKernelStartModule -https://uofw.github.io/upspd/docs/SilverSpring_Blog/my.malloc.us/silverspring/category/nids/index.html \ No newline at end of file +https://uofw.github.io/upspd/docs/SilverSpring_Blog/my.malloc.us/silverspring/category/nids/index.html + +https://artart78.github.io/PSPLibDoc/ \ No newline at end of file