summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibELF/Arch/i386
AgeCommit message (Collapse)Author
2021-08-28LibELF: Reindent .S files to be consistent with other .S filesNico Weber
Most .S files don't indent directives, so don't indent them here either. Also, one file had tabs instead of spaces, `:retab` that file.
2021-07-10Kernel+Userland: Make the stack alignment comply with the System V ABIGunnar Beutner
The System V ABI for both x86 and x86_64 requires that the stack pointer is 16-byte aligned on entry. Previously we did not align the stack pointer properly. As far as "main" was concerned the stack alignment was correct even without this patch due to how the C++ _start function and the kernel interacted, i.e. the kernel misaligned the stack as far as the ABI was concerned but that misalignment (read: it was properly aligned for a regular function call - but misaligned in terms of what the ABI dictates) was actually expected by our _start function.
2021-02-19LibC: Remove text relocationAndreas Kling
Tweak the PLT trampoline to avoid generating textrels in LibC. This allows us to share all the LibC mappings, reducing per-process memory consumption by ~200 KB. :^) Patch originally by @nico.
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling