[PR #79] [CLOSED] LLE libc #1271

Closed
opened 2026-02-27 21:11:52 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/79
Author: @georgemoralis
Created: 12/11/2023
Status: Closed

Base: mainHead: libc_LLE


📝 Commits (10+)

  • 048e50f option to disable HLE libc
  • cfd68f1 check sce_module folder for files
  • 88b790d search sce_module folder and fall back to libc HLE if not found
  • ab04333 linker : iterator for running non shared libs
  • 7dfdf4c Handle exports resolve
  • 62b2e57 more work on relocations for libc loading
  • 6c724a8 we can now start libc module
  • a28f687 fixed address loading
  • 1e0bbb0 logging to be sure which module we stared
  • b660a84 implemented sceKernelGetProcParam for module loading

📊 Changes

11 files changed (+515 additions, -451 deletions)

View changed files

📝 src/Util/config.cpp (+12 -1)
📝 src/Util/config.h (+2 -0)
📝 src/core/hle/libraries/libkernel/libkernel.cpp (+11 -0)
📝 src/core/hle/libraries/libs.cpp (+4 -1)
📝 src/core/linker.cpp (+431 -435)
📝 src/core/linker.h (+19 -2)
📝 src/core/loader/elf.cpp (+2 -0)
📝 src/core/loader/elf.h (+2 -0)
📝 src/core/loader/symbols_resolver.cpp (+13 -11)
📝 src/core/loader/symbols_resolver.h (+1 -1)
📝 src/main.cpp (+18 -0)

📄 Description

Work for loading and running lle libc

  • Option to disable HLE libc
  • Load libc.prx from sce_module folder , if not find enable HLE libc again
  • Fix linker to resolve export symbols
  • Fix relocations
  • Start loaded module

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/79 **Author:** [@georgemoralis](https://github.com/georgemoralis) **Created:** 12/11/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `libc_LLE` --- ### 📝 Commits (10+) - [`048e50f`](https://github.com/shadps4-emu/shadPS4/commit/048e50f4a29582dc6f22d8a86b4383beedf14556) option to disable HLE libc - [`cfd68f1`](https://github.com/shadps4-emu/shadPS4/commit/cfd68f18cc632d3ff4c29392bf92490489d99643) check sce_module folder for files - [`88b790d`](https://github.com/shadps4-emu/shadPS4/commit/88b790d8467053bb0b429f87b59ef7f167a5baef) search sce_module folder and fall back to libc HLE if not found - [`ab04333`](https://github.com/shadps4-emu/shadPS4/commit/ab04333ebd9adeffd1619144b70453571f77950a) linker : iterator for running non shared libs - [`7dfdf4c`](https://github.com/shadps4-emu/shadPS4/commit/7dfdf4c25959012a997fe60c3503085390a7b6a5) Handle exports resolve - [`62b2e57`](https://github.com/shadps4-emu/shadPS4/commit/62b2e57b6b57779dd37474c877b3d841c1a0ea5c) more work on relocations for libc loading - [`6c724a8`](https://github.com/shadps4-emu/shadPS4/commit/6c724a8941d63a9a1e6e2782d7713d344109a39e) we can now start libc module - [`a28f687`](https://github.com/shadps4-emu/shadPS4/commit/a28f68708c891898303c9a9ed4b7a86809b7e2cd) fixed address loading - [`1e0bbb0`](https://github.com/shadps4-emu/shadPS4/commit/1e0bbb06b38f10408ff0b954b162ef35c3d5c68f) logging to be sure which module we stared - [`b660a84`](https://github.com/shadps4-emu/shadPS4/commit/b660a84a78cff2618d2cab7a5e0e3762e40e7252) implemented sceKernelGetProcParam for module loading ### 📊 Changes **11 files changed** (+515 additions, -451 deletions) <details> <summary>View changed files</summary> 📝 `src/Util/config.cpp` (+12 -1) 📝 `src/Util/config.h` (+2 -0) 📝 `src/core/hle/libraries/libkernel/libkernel.cpp` (+11 -0) 📝 `src/core/hle/libraries/libs.cpp` (+4 -1) 📝 `src/core/linker.cpp` (+431 -435) 📝 `src/core/linker.h` (+19 -2) 📝 `src/core/loader/elf.cpp` (+2 -0) 📝 `src/core/loader/elf.h` (+2 -0) 📝 `src/core/loader/symbols_resolver.cpp` (+13 -11) 📝 `src/core/loader/symbols_resolver.h` (+1 -1) 📝 `src/main.cpp` (+18 -0) </details> ### 📄 Description Work for loading and running lle libc - [x] Option to disable HLE libc - [x] Load libc.prx from sce_module folder , if not find enable HLE libc again - [ ] Fix linker to resolve export symbols - [ ] Fix relocations - [ ] Start loaded module --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:11:52 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#1271
No description provided.