summaryrefslogtreecommitdiff
path: root/libgomp/configure.tgt
diff options
context:
space:
mode:
authorsh <sh@138bc75d-0d04-0410-961f-82ee72b054a4>2015-03-13 10:57:07 +0000
committersh <sh@138bc75d-0d04-0410-961f-82ee72b054a4>2015-03-13 10:57:07 +0000
commita88ef88cc3429c3feb64df5eb16d6590b504535b (patch)
tree986b376731172e3e654d665a0958e076f287ef73 /libgomp/configure.tgt
parentce0764124791468577471432f1ced4899d9bd196 (diff)
downloadgcc-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.tgt4
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