mirror of git://gcc.gnu.org/git/gcc.git
configure.ac: Do not use dl_iterate_phdr on Solaris 10.
* configure.ac: Do not use dl_iterate_phdr on Solaris 10. * configure: Rebuild. From-SVN: r192371
This commit is contained in:
parent
cf1e4683aa
commit
5551b12c31
|
|
@ -1,3 +1,8 @@
|
||||||
|
2012-10-11 Ian Lance Taylor <iant@google.com>
|
||||||
|
|
||||||
|
* configure.ac: Do not use dl_iterate_phdr on Solaris 10.
|
||||||
|
* configure: Rebuild.
|
||||||
|
|
||||||
2012-10-10 Ian Lance Taylor <iant@google.com>
|
2012-10-10 Ian Lance Taylor <iant@google.com>
|
||||||
|
|
||||||
* elf.c: Rename all Elf typedefs to start with b_elf, and be all
|
* elf.c: Rename all Elf typedefs to start with b_elf, and be all
|
||||||
|
|
|
||||||
|
|
@ -12213,6 +12213,12 @@ else
|
||||||
fi
|
fi
|
||||||
rm -f conftest*
|
rm -f conftest*
|
||||||
|
|
||||||
|
case "${host}" in
|
||||||
|
*-*-solaris2.10*)
|
||||||
|
# Avoid dl_iterate_phdr on Solaris 10, where it is in the
|
||||||
|
# header file but is only in -ldl.
|
||||||
|
have_dl_iterate_phdr=no ;;
|
||||||
|
esac
|
||||||
else
|
else
|
||||||
ac_fn_c_check_func "$LINENO" "dl_iterate_phdr" "ac_cv_func_dl_iterate_phdr"
|
ac_fn_c_check_func "$LINENO" "dl_iterate_phdr" "ac_cv_func_dl_iterate_phdr"
|
||||||
if test "x$ac_cv_func_dl_iterate_phdr" = x""yes; then :
|
if test "x$ac_cv_func_dl_iterate_phdr" = x""yes; then :
|
||||||
|
|
|
||||||
|
|
@ -235,6 +235,12 @@ else
|
||||||
# When built as a GCC target library, we can't do a link test.
|
# When built as a GCC target library, we can't do a link test.
|
||||||
AC_EGREP_HEADER([dl_iterate_phdr], [link.h], [have_dl_iterate_phdr=yes],
|
AC_EGREP_HEADER([dl_iterate_phdr], [link.h], [have_dl_iterate_phdr=yes],
|
||||||
[have_dl_iterate_phdr=no])
|
[have_dl_iterate_phdr=no])
|
||||||
|
case "${host}" in
|
||||||
|
*-*-solaris2.10*)
|
||||||
|
# Avoid dl_iterate_phdr on Solaris 10, where it is in the
|
||||||
|
# header file but is only in -ldl.
|
||||||
|
have_dl_iterate_phdr=no ;;
|
||||||
|
esac
|
||||||
else
|
else
|
||||||
AC_CHECK_FUNC([dl_iterate_phdr], [have_dl_iterate_phdr=yes],
|
AC_CHECK_FUNC([dl_iterate_phdr], [have_dl_iterate_phdr=yes],
|
||||||
[have_dl_iterate_phdr=no])
|
[have_dl_iterate_phdr=no])
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue