[PR #100] [MERGED] Libc LLE #1292

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/100
Author: @georgemoralis
Created: 3/25/2024
Status: Merged
Merged: 3/28/2024
Merged by: @georgemoralis

Base: mainHead: libc_part2


📝 Commits (10+)

  • 540c21d config option to enable libc lle
  • f2f0414 improved symbols_resolver and output
  • 365ae2a some elf improvements
  • 5968319 small improvements on linker Resolve method
  • 354a9c3 clang format fix
  • f70fbca linker : Resolve can now load exports as well
  • 7dbe258 improved LoadSymbols for export support
  • e5a224a rewrote relocations
  • bc7228f relocate before execution
  • 1a7f5f7 function to start modules

📊 Changes

15 files changed (+306 additions, -175 deletions)

View changed files

📝 src/common/config.cpp (+13 -0)
📝 src/common/config.h (+1 -0)
📝 src/core/hle/kernel/memory_management.cpp (+3 -0)
📝 src/core/hle/libraries/libkernel/libkernel.cpp (+29 -0)
📝 src/core/hle/libraries/libkernel/thread_management.cpp (+18 -1)
📝 src/core/hle/libraries/libs.cpp (+4 -1)
📝 src/core/libraries/libscesystemservice.cpp (+1 -1)
📝 src/core/libraries/libsceuserservice.cpp (+3 -2)
📝 src/core/linker.cpp (+183 -161)
📝 src/core/linker.h (+13 -2)
📝 src/core/loader/elf.cpp (+4 -0)
📝 src/core/loader/elf.h (+1 -0)
📝 src/core/loader/symbols_resolver.cpp (+11 -7)
📝 src/core/loader/symbols_resolver.h (+1 -0)
📝 src/main.cpp (+21 -0)

📄 Description

Working on getting lle libc working


🔄 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/100 **Author:** [@georgemoralis](https://github.com/georgemoralis) **Created:** 3/25/2024 **Status:** ✅ Merged **Merged:** 3/28/2024 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `libc_part2` --- ### 📝 Commits (10+) - [`540c21d`](https://github.com/shadps4-emu/shadPS4/commit/540c21d38239a1ed70ff42db7208d40e4afe1122) config option to enable libc lle - [`f2f0414`](https://github.com/shadps4-emu/shadPS4/commit/f2f04142b05ad447f2d917ffc09224199415e143) improved symbols_resolver and output - [`365ae2a`](https://github.com/shadps4-emu/shadPS4/commit/365ae2aac987c8a2acd4f0a2c81fea52f4d4d5d2) some elf improvements - [`5968319`](https://github.com/shadps4-emu/shadPS4/commit/596831947eb05b7a9a7be757c1f919848dfb6b0d) small improvements on linker Resolve method - [`354a9c3`](https://github.com/shadps4-emu/shadPS4/commit/354a9c3cdb62e9b7e060f356ff5805b746bbe992) clang format fix - [`f70fbca`](https://github.com/shadps4-emu/shadPS4/commit/f70fbcac197f179b0d5645ff35e20a1b3493d6e7) linker : Resolve can now load exports as well - [`7dbe258`](https://github.com/shadps4-emu/shadPS4/commit/7dbe258edcb42159efc81b612e15914975c61df0) improved LoadSymbols for export support - [`e5a224a`](https://github.com/shadps4-emu/shadPS4/commit/e5a224aa9667d1efd3f73766805a5ab598d86e23) rewrote relocations - [`bc7228f`](https://github.com/shadps4-emu/shadPS4/commit/bc7228fcb2a523038f18d3b8c15209c001d4d774) relocate before execution - [`1a7f5f7`](https://github.com/shadps4-emu/shadPS4/commit/1a7f5f7b314c213026e1addf64c3ad63fd7a5b11) function to start modules ### 📊 Changes **15 files changed** (+306 additions, -175 deletions) <details> <summary>View changed files</summary> 📝 `src/common/config.cpp` (+13 -0) 📝 `src/common/config.h` (+1 -0) 📝 `src/core/hle/kernel/memory_management.cpp` (+3 -0) 📝 `src/core/hle/libraries/libkernel/libkernel.cpp` (+29 -0) 📝 `src/core/hle/libraries/libkernel/thread_management.cpp` (+18 -1) 📝 `src/core/hle/libraries/libs.cpp` (+4 -1) 📝 `src/core/libraries/libscesystemservice.cpp` (+1 -1) 📝 `src/core/libraries/libsceuserservice.cpp` (+3 -2) 📝 `src/core/linker.cpp` (+183 -161) 📝 `src/core/linker.h` (+13 -2) 📝 `src/core/loader/elf.cpp` (+4 -0) 📝 `src/core/loader/elf.h` (+1 -0) 📝 `src/core/loader/symbols_resolver.cpp` (+11 -7) 📝 `src/core/loader/symbols_resolver.h` (+1 -0) 📝 `src/main.cpp` (+21 -0) </details> ### 📄 Description Working on getting lle libc working --- <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:57 +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#1292
No description provided.