diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-09-22 04:10:42 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-09-22 04:10:42 +0000 |
commit | cab2b1f9d71db31d6dc4ae9dcab6989182b7b533 (patch) | |
tree | 59dc80b969ba128a5bcc8aa93d9e93ab00d3c6a6 /src/thread/mtx_trylock.c | |
parent | 7a9669e977e5f750cf72ccbd2614f8b72ce02c4c (diff) | |
download | musl-cab2b1f9d71db31d6dc4ae9dcab6989182b7b533.tar.gz musl-cab2b1f9d71db31d6dc4ae9dcab6989182b7b533.tar.xz musl-cab2b1f9d71db31d6dc4ae9dcab6989182b7b533.zip |
work around breakage in sh/fdpic __unmapself function
the C implementation of __unmapself used for potentially-nommu sh assumed CRTJMP takes a function descriptor rather than a code address; however, the actual dynamic linker needs a code address, and so commit 7a9669e977e5f750cf72ccbd2614f8b72ce02c4c changed the definition of the macro in reloc.h. this commit puts the old macro back in a place where it only affects __unmapself. this is an ugly workaround and should be cleaned up at some point, but at least it's well isolated.
Diffstat (limited to 'src/thread/mtx_trylock.c')
0 files changed, 0 insertions, 0 deletions