Commit fe7378d2 by Eric Botcazou Committed by Eric Botcazou

re PR target/17443 (--enable-threads=single is ignored)

	PR target/17443
	* config.gcc (i?86-*-solaris2*): Restore correct logic
	for --enable-threads option.
	(sparc64-*-solaris2*): Likewise.
	(sparc-*-solaris2*): Likewise.

From-SVN: r88442
parent bf276e5c
2004-10-03 Eric Botcazou <ebotcazou@libertysurf.fr>
PR target/17443
* config.gcc (i?86-*-solaris2*): Restore correct logic
for --enable-threads option.
(sparc64-*-solaris2*): Likewise.
(sparc-*-solaris2*): Likewise.
2004-10-03 Alan Modra <amodra@bigpond.net.au> 2004-10-03 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/linux.h (TARGET_C99_FUNCTIONS): Define. * config/rs6000/linux.h (TARGET_C99_FUNCTIONS): Define.
......
...@@ -1030,9 +1030,8 @@ i[34567]86-*-solaris2*) ...@@ -1030,9 +1030,8 @@ i[34567]86-*-solaris2*)
esac esac
extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o" extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
case ${enable_threads}:${have_pthread_h}:${have_thread_h} in case ${enable_threads}:${have_pthread_h}:${have_thread_h} in
no:*:*) ;; "":yes:* | yes:yes:* ) thread_file=posix ;;
*:yes:* ) thread_file=posix ;; "":*:yes | yes:*:yes ) thread_file=solaris ;;
yes:*:* | *:*:yes ) thread_file=solaris ;;
esac esac
;; ;;
i[34567]86-*-sysv5*) # Intel x86 on System V Release 5 i[34567]86-*-sysv5*) # Intel x86 on System V Release 5
...@@ -1883,9 +1882,8 @@ sparc64-*-solaris2* | sparcv9-*-solaris2*) ...@@ -1883,9 +1882,8 @@ sparc64-*-solaris2* | sparcv9-*-solaris2*)
tm_p_file="${tm_p_file} sol2-protos.h" tm_p_file="${tm_p_file} sol2-protos.h"
extra_parts="crt1.o crti.o crtn.o gcrt1.o crtbegin.o crtend.o" extra_parts="crt1.o crti.o crtn.o gcrt1.o crtbegin.o crtend.o"
case ${enable_threads}:${have_pthread_h}:${have_thread_h} in case ${enable_threads}:${have_pthread_h}:${have_thread_h} in
no:*:*) ;; "":yes:* | yes:yes:* ) thread_file=posix ;;
*:yes:* ) thread_file=posix ;; "":*:yes | yes:*:yes ) thread_file=solaris ;;
yes:*:* | *:*:yes ) thread_file=solaris ;;
esac esac
need_64bit_hwint=yes need_64bit_hwint=yes
;; ;;
...@@ -1927,9 +1925,8 @@ sparc-*-solaris2*) ...@@ -1927,9 +1925,8 @@ sparc-*-solaris2*)
tm_p_file="${tm_p_file} sol2-protos.h" tm_p_file="${tm_p_file} sol2-protos.h"
extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o" extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
case ${enable_threads}:${have_pthread_h}:${have_thread_h} in case ${enable_threads}:${have_pthread_h}:${have_thread_h} in
no:*:*) ;; "":yes:* | yes:yes:* ) thread_file=posix ;;
*:yes:* ) thread_file=posix ;; "":*:yes | yes:*:yes ) thread_file=solaris ;;
yes:*:* | *:*:yes ) thread_file=solaris ;;
esac esac
;; ;;
sparc-*-sysv4*) sparc-*-sysv4*)
......
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