Commit 26923657 by Rainer Orth Committed by Rainer Orth

Disable dl_iterate_phdr on Solaris 10

	* configure.ac (gcc_cv_target_dl_iterate_phdr): Only check on
	Solaris 11+.
	* configure: Regenerate.

From-SVN: r183235
parent 9e8fa6bf
2012-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* configure.ac (gcc_cv_target_dl_iterate_phdr): Only check on
Solaris 11+.
* configure: Regenerate.
2012-01-16 Jan Hubicka <jh@suse.cz> 2012-01-16 Jan Hubicka <jh@suse.cz>
PR c/12245 PR c/12245
......
...@@ -26726,7 +26726,11 @@ fi ...@@ -26726,7 +26726,11 @@ fi
$as_echo_n "checking dl_iterate_phdr in target C library... " >&6; } $as_echo_n "checking dl_iterate_phdr in target C library... " >&6; }
gcc_cv_target_dl_iterate_phdr=unknown gcc_cv_target_dl_iterate_phdr=unknown
case "$target" in case "$target" in
*-*-solaris2*) # Restrict to Solaris 11+. While most of the Solaris 11 linker changes
# were backported to Solaris 10 Update 10, dl_iterate_phdr only lives in
# libdl there, both complicating its use and breaking compatibility
# between Solaris 10 updates.
*-*-solaris2.1[1-9]*)
# <link.h> needs both a dl_iterate_phdr declaration and support for # <link.h> needs both a dl_iterate_phdr declaration and support for
# compilation with largefile support. # compilation with largefile support.
if grep dl_iterate_phdr $target_header_dir/link.h > /dev/null 2>&1 \ if grep dl_iterate_phdr $target_header_dir/link.h > /dev/null 2>&1 \
......
...@@ -4642,7 +4642,11 @@ fi ...@@ -4642,7 +4642,11 @@ fi
AC_MSG_CHECKING(dl_iterate_phdr in target C library) AC_MSG_CHECKING(dl_iterate_phdr in target C library)
gcc_cv_target_dl_iterate_phdr=unknown gcc_cv_target_dl_iterate_phdr=unknown
case "$target" in case "$target" in
*-*-solaris2*) # Restrict to Solaris 11+. While most of the Solaris 11 linker changes
# were backported to Solaris 10 Update 10, dl_iterate_phdr only lives in
# libdl there, both complicating its use and breaking compatibility
# between Solaris 10 updates.
*-*-solaris2.1[[1-9]]*)
# <link.h> needs both a dl_iterate_phdr declaration and support for # <link.h> needs both a dl_iterate_phdr declaration and support for
# compilation with largefile support. # compilation with largefile support.
if grep dl_iterate_phdr $target_header_dir/link.h > /dev/null 2>&1 \ if grep dl_iterate_phdr $target_header_dir/link.h > /dev/null 2>&1 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment