diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-10-28 21:45:31 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-10-28 21:45:31 -0400 |
commit | fead7e3fc04729b4cc8a5feec4a172b389395212 (patch) | |
tree | 8038978002444ed95bc85c7bdbec97ca8306c591 /arch/mips/pthread_arch.h | |
parent | 6eada2edb302ff061be8546b23c9cb836621d122 (diff) | |
download | musl-fead7e3fc04729b4cc8a5feec4a172b389395212.tar.gz musl-fead7e3fc04729b4cc8a5feec4a172b389395212.tar.bz2 musl-fead7e3fc04729b4cc8a5feec4a172b389395212.tar.xz musl-fead7e3fc04729b4cc8a5feec4a172b389395212.zip |
fix missing bss handling in FDPIC ELF loader
when a library being loaded has bss (i.e. data segment with
p_memsz>p_filesz), this region needs to be zeroed with a combination
of memset and/or mmap. the regular ELF loader always did this but the
FDPIC code path omitted it, leading to objects in bss having
uninitialized/junk contents.
Diffstat (limited to 'arch/mips/pthread_arch.h')
0 files changed, 0 insertions, 0 deletions