aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Step/ConfigHeader.zig
diff options
context:
space:
mode:
authorAlexandre Janon <alex14fr@gmail.com>2024-04-28 11:45:50 +0200
committerGitHub <noreply@github.com>2024-04-28 11:45:50 +0200
commit25f1526fe6424cef156724977b75a5b80a3d5833 (patch)
tree5caffcd72f5baac64fe99482fc511db79525d77e /lib/std/Build/Step/ConfigHeader.zig
parentaecd9cc6d152443dc7c02dfe373be654d8adae64 (diff)
downloadzig-25f1526fe6424cef156724977b75a5b80a3d5833.tar.gz
zig-25f1526fe6424cef156724977b75a5b80a3d5833.zip
Fix ELF alignment for freestanding targets (#19766)
* Fix the ELF binaries for freestanding target created with the self-hosted linker. The ELF specification (generic ABI) states that ``loadable process segments must have congruent values for p_vaddr and p_offset, modulo the page size''. Linux refuses to load binaries that don't meet this requirement (execve() fails with EINVAL).
Diffstat (limited to 'lib/std/Build/Step/ConfigHeader.zig')
0 files changed, 0 insertions, 0 deletions