diff options
| author | Alexandre Janon <alex14fr@gmail.com> | 2024-04-28 11:45:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-28 11:45:50 +0200 |
| commit | 25f1526fe6424cef156724977b75a5b80a3d5833 (patch) | |
| tree | 5caffcd72f5baac64fe99482fc511db79525d77e /lib/std/static_string_map.zig | |
| parent | aecd9cc6d152443dc7c02dfe373be654d8adae64 (diff) | |
| download | zig-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/static_string_map.zig')
0 files changed, 0 insertions, 0 deletions
