@@ -1,3 +1,7 @@
+2013-06-06 Thomas Schwinge <thomas@codesourcery.com>
+
+ * config/posix/ptrlock.h: Fix comment.
+
2013-05-27 Tobias Burnus <burnus@net-b.de>
PR fortran/57423
@@ -22,9 +22,8 @@
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
-/* This is a Linux specific implementation of a mutex synchronization
- mechanism for libgomp. This type is private to the library. This
- implementation uses atomic instructions and the futex syscall. */
+/* This is a generic POSIX implementation of a mutex synchronization
+ mechanism for libgomp. This type is private to the library. */
#ifndef GOMP_PTRLOCK_H
#define GOMP_PTRLOCK_H 1
This has probably been copy'n'pasted from the Linux-specific file.
commit 3a930d3fc68785662f5f3f4af02474cb21a62056
Author: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Thu Jun 6 10:04:49 2013 +0000
libgomp/
* configure.tgt (XCFLAGS): Add -ftls-model=initial-exec for
GNU/Hurd, as done for Linux-based systems.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199725 138bc75d-0d04-0410-961f-82ee72b054a4
@@ -1,5 +1,8 @@
2013-06-06 Thomas Schwinge <thomas@codesourcery.com>
+ * configure.tgt (XCFLAGS): Add -ftls-model=initial-exec for
+ GNU/Hurd, as done for Linux-based systems.
+
* config/posix/ptrlock.h: Fix comment.
2013-05-27 Tobias Burnus <burnus@net-b.de>
@@ -14,7 +14,10 @@
if test $gcc_cv_have_tls = yes ; then
case "${target}" in
- *-*-linux*)
+ *-*-k*bsd*-gnu*)
+ ;;
+
+ *-*-linux* | *-*-gnu*)
XCFLAGS="${XCFLAGS} -ftls-model=initial-exec"
;;
esac