1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 18:20:43 +09:00
ladybird/Userland
Gunnar Beutner 13a14b3112 LibELF: Fix loading libs with a .text segment that's not page-aligned
It's perfectly acceptable for the segment's vaddr to not be page aligned
as long as the segment itself is page-aligned. We'll just map a few more
bytes at the start of the segment that will be unused by the library.

We didn't notice this problem because because GCC either always uses
0 for the .text segment's vaddr or at least aligns the vaddr to the
page size.

LibELF would also fail to load really small libraries (i.e. smaller than
4096 bytes).
2021-07-07 11:53:17 +02:00
..
Applets Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Applications Tests: Generate data in memory for TestXSV benchmark case 2021-07-06 17:22:45 +02:00
Demos Fire: Make the main widget a GUI::Frame 2021-07-05 02:38:31 +02:00
DevTools LibJS: Remove the non-standard put helper and replace it's usages 2021-07-06 14:20:30 +01:00
DynamicLoader DynamicLoader: Don't use LibELF to do the initial relocations 2021-07-07 11:53:17 +02:00
Games Games: Add Spider 2021-06-24 10:32:53 +02:00
Libraries LibELF: Fix loading libs with a .text segment that's not page-aligned 2021-07-07 11:53:17 +02:00
Services Kernel+KeyboardSettings: Remove numlock syscall and implement ioctl 2021-07-07 10:44:20 +02:00
Shell Everywhere: Prefer using "..."sv over StringView { "..." } 2021-07-04 14:24:03 +02:00
Utilities js: Implement pretty-printing of Temporal.TimeZone objects 2021-07-07 00:42:01 +01:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00