summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYao Zi <ziyao@disroot.org>2024-11-18 03:44:47 +0000
committerRich Felker <dalias@aerifal.cx>2025-02-09 09:03:50 -0500
commit5ccf05d86dacba0e6542ae1a6b6508a41cfe326e (patch)
treec2e48736a9650935642a39a600338b7766473cd5 /Makefile
parent1a98576401ff604ff06a030a3644e2780b2a837d (diff)
downloadmusl-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 'Makefile')
0 files changed, 0 insertions, 0 deletions