diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-08-02 19:15:48 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-08-02 19:15:48 -0400 |
commit | 7dad9c212587267818de919dd9c5886f18f99779 (patch) | |
tree | c40a9c1b374304ffb30720fa9d35a92240217d0b /src/mman/mlock.c | |
parent | 14992d4384990d40f6d3cfb799780fb696d77762 (diff) | |
download | musl-7dad9c212587267818de919dd9c5886f18f99779.tar.gz musl-7dad9c212587267818de919dd9c5886f18f99779.tar.xz musl-7dad9c212587267818de919dd9c5886f18f99779.zip |
fix musl-gcc wrapper to be compatible with default-pie gcc toolchains
the specfile for the wrapper was written assuming output is pie only if -pie appears on the command line. recent (and older patched) versions of gcc can be configured to produce pie output by default, adn when used with such a toolchain, the wrapper linked the wrong startfiles (crt*) containing pic-incompatible code. rather than trying to figure out gcc's default, simply always use the pic-compatible start files.
Diffstat (limited to 'src/mman/mlock.c')
0 files changed, 0 insertions, 0 deletions