aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2004-10-03 10:00:39 +0200
committerEric Botcazou <ebotcazou@gcc.gnu.org>2004-10-03 08:00:39 +0000
commitfe7378d2bff681d1128bddcc3267e00fd80c3a6a (patch)
treec4edfc8a398acf5f0423907edd5f7d7506d3528f /gcc
parentbf276e5c28ae9cdde3edefac8385c0f95fd47dbe (diff)
downloadgcc-fe7378d2bff681d1128bddcc3267e00fd80c3a6a.zip
gcc-fe7378d2bff681d1128bddcc3267e00fd80c3a6a.tar.gz
gcc-fe7378d2bff681d1128bddcc3267e00fd80c3a6a.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config.gcc15
2 files changed, 14 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9c081a9..7b95322 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+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>
* config/rs6000/linux.h (TARGET_C99_FUNCTIONS): Define.
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 0ec389e..9b7800e 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1030,9 +1030,8 @@ i[34567]86-*-solaris2*)
esac
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
- no:*:*) ;;
- *:yes:* ) thread_file=posix ;;
- yes:*:* | *:*:yes ) thread_file=solaris ;;
+ "":yes:* | yes:yes:* ) thread_file=posix ;;
+ "":*:yes | yes:*:yes ) thread_file=solaris ;;
esac
;;
i[34567]86-*-sysv5*) # Intel x86 on System V Release 5
@@ -1883,9 +1882,8 @@ sparc64-*-solaris2* | sparcv9-*-solaris2*)
tm_p_file="${tm_p_file} sol2-protos.h"
extra_parts="crt1.o crti.o crtn.o gcrt1.o crtbegin.o crtend.o"
case ${enable_threads}:${have_pthread_h}:${have_thread_h} in
- no:*:*) ;;
- *:yes:* ) thread_file=posix ;;
- yes:*:* | *:*:yes ) thread_file=solaris ;;
+ "":yes:* | yes:yes:* ) thread_file=posix ;;
+ "":*:yes | yes:*:yes ) thread_file=solaris ;;
esac
need_64bit_hwint=yes
;;
@@ -1927,9 +1925,8 @@ sparc-*-solaris2*)
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"
case ${enable_threads}:${have_pthread_h}:${have_thread_h} in
- no:*:*) ;;
- *:yes:* ) thread_file=posix ;;
- yes:*:* | *:*:yes ) thread_file=solaris ;;
+ "":yes:* | yes:yes:* ) thread_file=posix ;;
+ "":*:yes | yes:*:yes ) thread_file=solaris ;;
esac
;;
sparc-*-sysv4*)