diff options
author | Rich Felker <dalias@aerifal.cx> | 2017-04-11 22:10:52 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2017-04-11 22:10:52 -0400 |
commit | b3751c3282e3fbae4b97cb4f29031df9bc6e0745 (patch) | |
tree | 64d6d82b860a7ee440fc5b6500adfed690dee3e0 /src/thread/pthread_spin_trylock.c | |
parent | 1ca597551bab424a1302938dd3504ddf73904efd (diff) | |
download | musl-b3751c3282e3fbae4b97cb4f29031df9bc6e0745.tar.gz musl-b3751c3282e3fbae4b97cb4f29031df9bc6e0745.tar.bz2 musl-b3751c3282e3fbae4b97cb4f29031df9bc6e0745.tar.xz musl-b3751c3282e3fbae4b97cb4f29031df9bc6e0745.zip |
fix dl_iterate_phdr in static PIE binaries
analogous to commit 5bf7eba213cacc4c1220627c91c28deff2ffecda, use of
AT_PHDR/PT_PHDR does not actually work to find the program base, and
the method with _DYNAMIC vs PT_DYNAMIC must be used as an alternative.
patch by Shiz, along with testing to confirm that this fixes unwinding
in static PIE.
Diffstat (limited to 'src/thread/pthread_spin_trylock.c')
0 files changed, 0 insertions, 0 deletions