diff options
author | sh <sh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-03-13 10:57:07 +0000 |
---|---|---|
committer | sh <sh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-03-13 10:57:07 +0000 |
commit | a88ef88cc3429c3feb64df5eb16d6590b504535b (patch) | |
tree | 986b376731172e3e654d665a0958e076f287ef73 /libgomp/configure.tgt | |
parent | ce0764124791468577471432f1ced4899d9bd196 (diff) | |
download | gcc-a88ef88cc3429c3feb64df5eb16d6590b504535b.tar.gz |
libgomp: Add RTEMS support
libgomp/ChangeLog
* configure.tgt (*-*-rtems*): Use local-exec TLS model.
* configure.ac (*-*-rtems*): Assume Pthread is supported.
(pthread.h): Check for this header file.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221415 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/configure.tgt')
-rw-r--r-- | libgomp/configure.tgt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libgomp/configure.tgt b/libgomp/configure.tgt index ad98de13228..2970f6f7b82 100644 --- a/libgomp/configure.tgt +++ b/libgomp/configure.tgt @@ -20,6 +20,10 @@ if test $gcc_cv_have_tls = yes ; then *-*-linux* | *-*-gnu*) XCFLAGS="${XCFLAGS} -ftls-model=initial-exec" ;; + + *-*-rtems*) + XCFLAGS="${XCFLAGS} -ftls-model=local-exec" + ;; esac fi |