From: joel Date: Wed, 17 Sep 2014 14:15:53 +0000 (+0000) Subject: 2014-09-17 Sebastian Huber X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4f5951e7a99aaaf031912c2f4e40537df462d4c;p=thirdparty%2Fgcc.git 2014-09-17 Sebastian Huber * config.gcc (*-*-rtems*): Default to 'rtems' thread model. Enable selection of 'posix' or no thread model. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215324 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 88e8eb2e4c06..d639a8e97556 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-09-17 Sebastian Huber + + * config.gcc (*-*-rtems*): Default to 'rtems' thread model. + Enable selection of 'posix' or no thread model. + 2014-09-17 Andrew Stubbs * config/arm/arm.c (arm_option_override): Reject -mfpu=neon diff --git a/gcc/config.gcc b/gcc/config.gcc index a33bce92c56c..caafa7e20f7d 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -785,7 +785,13 @@ case ${target} in ;; *-*-rtems*) case ${enable_threads} in - yes) thread_file='rtems' ;; + "" | yes | rtems) thread_file='rtems' ;; + posix) thread_file='posix' ;; + no) ;; + *) + echo 'Unknown thread configuration for RTEMS' + exit 1 + ;; esac tmake_file="${tmake_file} t-rtems" extra_options="${extra_options} rtems.opt"