aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2003-07-31 12:01:07 +0000
committerRainer Orth <ro@gcc.gnu.org>2003-07-31 12:01:07 +0000
commit2a4e8ebc137e8a04d1d6b66f93a93ae215acf33a (patch)
tree9da070fa50d61c24f4bb30ee44be274f1103d7fc /gcc/config.gcc
parent620a329bbbaec71ba345a5c015983538fff18818 (diff)
downloadgcc-2a4e8ebc137e8a04d1d6b66f93a93ae215acf33a.zip
gcc-2a4e8ebc137e8a04d1d6b66f93a93ae215acf33a.tar.gz
gcc-2a4e8ebc137e8a04d1d6b66f93a93ae215acf33a.tar.bz2
re PR bootstrap/9330 ([alpha-osf]small alphaev56-dec-osf5.1 --enable-threads=posix problem)
* config.gcc (alpha*-dec-osf[45]*): Enable POSIX thread support by default. * gthr-posix.c: New file. * gthr-posix.h: Define _REENTRANT if missing. Make _LIBOBJC #pragma weak visible with _LIBOBJC_WEAK. * config/alpha/t-osf4 (SHLIB_LINK): Hide dummy functions provided by gthr-posix.o. * config/alpha/t-osf-pthread: New file. * fixinc/inclhack.def (alpha_pthread): New fix. * fixinc/fixincl.x: Regenerate. * fixinc/tests/base/pthread.h [ALPHA_PTHREAD_CHECK]: New testcase. * doc/install.texi (alpha*-dec-osf*): Remove --enable-threads warning. Fixes PR bootstrap/9330. From-SVN: r69998
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 427298e..c9266a5 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -609,6 +609,12 @@ alpha*-dec-osf[45]*)
target_cpu_default=MASK_SUPPORT_ARCH
;;
esac
+ case x${enable_threads} in
+ x | xyes | xpthreads | xposix)
+ thread_file='posix'
+ tmake_file="${tmake_file} alpha/t-osf-pthread"
+ ;;
+ esac
;;
alpha64-dec-*vms*)
tm_file="${tm_file} alpha/vms.h alpha/vms64.h"