Hi! I pushed the following two obvious patches to trunk:
commit 6731634deb51e8aebd43b7fc34fe8330d6a0edba Author: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Thu Jun 6 10:04:34 2013 +0000 libgomp/ * config/posix/ptrlock.h: Fix comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199724 138bc75d-0d04-0410-961f-82ee72b054a4 diff --git libgomp/ChangeLog libgomp/ChangeLog index 1747cec..f4d6cd6 100644 --- libgomp/ChangeLog +++ libgomp/ChangeLog @@ -1,3 +1,7 @@ +2013-06-06 Thomas Schwinge <tho...@codesourcery.com> + + * config/posix/ptrlock.h: Fix comment. + 2013-05-27 Tobias Burnus <bur...@net-b.de> PR fortran/57423 diff --git libgomp/config/posix/ptrlock.h libgomp/config/posix/ptrlock.h index eec4e19..76c2deb 100644 --- libgomp/config/posix/ptrlock.h +++ libgomp/config/posix/ptrlock.h @@ -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 diff --git libgomp/ChangeLog libgomp/ChangeLog index f4d6cd6..a78190f 100644 --- libgomp/ChangeLog +++ libgomp/ChangeLog @@ -1,5 +1,8 @@ 2013-06-06 Thomas Schwinge <tho...@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 <bur...@net-b.de> diff --git libgomp/configure.tgt libgomp/configure.tgt index 2eecc93..8b18417 100644 --- libgomp/configure.tgt +++ libgomp/configure.tgt @@ -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 GNU/k*bsd not changed, because I don't know whether that'd be fine with their LinuxThreads pthread implementation. Grüße, Thomas
pgphBbAIRC64F.pgp
Description: PGP signature