ladybird/Userland/DynamicLoader
Gunnar Beutner 06883ed8a3 Kernel+Userland: Make the stack alignment comply with the System V ABI
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-07-10 01:41:57 +02:00
..
CMakeLists.txt Kernel+Userland: Make the stack alignment comply with the System V ABI 2021-07-10 01:41:57 +02:00
main.cpp Kernel+Userland: Make the stack alignment comply with the System V ABI 2021-07-10 01:41:57 +02:00
misc.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
misc.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00