| author | |
| committer | |
| log | 3b465ebec59ee942b6c490ada2f81902ec047d7f |
| tree | 52615f6cae3fe816be403dcdbebb7c28a5e8aca3 |
| parent | 0cdec976e4eaf96e1735ff417b222ab1463727e8 |
| signature |
1 files changed, 1 insertions(+), 0 deletions(-)
lib/std/start.zig+1| ... | ... | @@ -539,6 +539,7 @@ fn expandStackSize(phdrs: []elf.Phdr) void { |
| 539 | 539 | for (phdrs) |*phdr| { |
| 540 | 540 | switch (phdr.p_type) { |
| 541 | 541 | elf.PT_GNU_STACK => { |
| 542 | if (phdr.p_memsz == 0) break; | |
| 542 | 543 | assert(phdr.p_memsz % std.mem.page_size == 0); |
| 543 | 544 | |
| 544 | 545 | // Silently fail if we are unable to get limits. |