diff options
| author | Yao Zi <ziyao@disroot.org> | 2024-11-18 03:44:47 +0000 |
|---|---|---|
| committer | Rich Felker <dalias@aerifal.cx> | 2025-02-09 09:03:50 -0500 |
| commit | 5ccf05d86dacba0e6542ae1a6b6508a41cfe326e (patch) | |
| tree | c2e48736a9650935642a39a600338b7766473cd5 /crt/i386 | |
| parent | 1a98576401ff604ff06a030a3644e2780b2a837d (diff) | |
| download | musl-5ccf05d86dacba0e6542ae1a6b6508a41cfe326e.tar.gz | |
ldso: don't reclaim zero-memory-sized segments
Some weird linkers may emit PT_LOAD segments with memsz = 0. ELF
specification does not forbid this, but such a segment with non-zero
p_vaddr will result in reclaiming of invalid memory address.
This patch skips such segments during reclaiming for better
compatibility.
Diffstat (limited to 'crt/i386')
0 files changed, 0 insertions, 0 deletions
