diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-09-12 03:22:19 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-09-12 03:23:49 +0000 |
commit | d4c82d05b8d0ee97f6356d60986799a95ed5bd74 (patch) | |
tree | de0fdcb0f480af72fa10ffe7197fd861a16a5257 /configure | |
parent | 4ccc1a01e037251a0ddc3dd07dd1a1fb91a8aa16 (diff) | |
download | musl-d4c82d05b8d0ee97f6356d60986799a95ed5bd74.tar.gz musl-d4c82d05b8d0ee97f6356d60986799a95ed5bd74.tar.xz musl-d4c82d05b8d0ee97f6356d60986799a95ed5bd74.zip |
add sh fdpic subarch variants
with this commit it should be possible to produce a working static-linked fdpic libc and application binaries for sh. the changes in reloc.h are largely unused at this point since dynamic linking is not supported, but the CRTJMP macro is used one place outside of dynamic linking, in __unmapself.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure index 70b77fb8..c277764a 100755 --- a/configure +++ b/configure @@ -558,6 +558,10 @@ fi else SUBARCH=${SUBARCH}-nofpu fi +if trycppif __SH_FDPIC__ "$t" ; then +SUBARCH=${SUBARCH}-fdpic +shared=no +fi fi test "$SUBARCH" \ |