From: Sebastian Huber Date: Wed, 17 Sep 2014 14:15:53 +0000 (+0000) Subject: config.gcc (*-*-rtems*): Default to 'rtems' thread model. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=776c9a0da190239f7b631e927a00c305acc9dbf1;p=gcc.git config.gcc (*-*-rtems*): Default to 'rtems' thread model. 2014-09-17 Sebastian Huber * config.gcc (*-*-rtems*): Default to 'rtems' thread model. Enable selection of 'posix' or no thread model. From-SVN: r215324 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 88e8eb2e4c0..d639a8e9755 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 a33bce92c56..caafa7e20f7 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"