2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-18 05:40:23 +08:00

Return gthr-posix.h to libgcc (PR bootstrap/50982)

libgcc:
	PR bootstrap/50982
	* config/gthr-posix.h: Move ...
	* gthr-posix.h: ... here.
	* config/gthr-lynx.h: Reflect this.
	* config/gthr-vxworks.h: Likewise.
	* config/rs6000/gthr-aix.h: Likewise.
	* configure.ac (target_thread_file): Likewise.
	* configure: Regenerate.

	libstdc++-v3:
	PR bootstrap/50982
	* include/Makefile.am (${host_builddir}/gthr-posix.h): Reflect
	gthr-posix.h move.
	* include/Makefile.in: Regenerate.

From-SVN: r181095
This commit is contained in:
Rainer Orth 2011-11-07 16:34:31 +00:00 committed by Rainer Orth
parent b5bf33351a
commit 9fbcc75d56
10 changed files with 25 additions and 7 deletions

@ -1,3 +1,14 @@
2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR bootstrap/50982
* config/gthr-posix.h: Move ...
* gthr-posix.h: ... here.
* config/gthr-lynx.h: Reflect this.
* config/gthr-vxworks.h: Likewise.
* config/rs6000/gthr-aix.h: Likewise.
* configure.ac (target_thread_file): Likewise.
* configure: Regenerate.
2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
* config.host (arm*-*-rtemseabi*): New target.

@ -52,7 +52,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#undef GTHREAD_USE_WEAK
#define GTHREAD_USE_WEAK 0
#include "config/gthr-posix.h"
#include "gthr-posix.h"
#else
#include "gthr-single.h"

@ -31,7 +31,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#ifdef _LIBOBJC
/* libobjc requires the optional pthreads component. */
#include "config/gthr-posix.h"
#include "gthr-posix.h"
#else
#ifdef __cplusplus

@ -27,7 +27,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define GCC_GTHR_AIX_H
#ifdef _THREAD_SAFE
#include "config/gthr-posix.h"
#include "gthr-posix.h"
#else
#include "gthr-single.h"
#endif

2
libgcc/configure vendored

@ -4798,7 +4798,7 @@ case $target_thread_file in
dce) thread_header=config/pa/gthr-dce.h ;;
lynx) thread_header=config/gthr-lynx.h ;;
mipssde) thread_header=config/mips/gthr-mipssde.h ;;
posix) thread_header=config/gthr-posix.h ;;
posix) thread_header=gthr-posix.h ;;
rtems) thread_header=config/gthr-rtems.h ;;
single) thread_header=gthr-single.h ;;
tpf) thread_header=config/s390/gthr-tpf.h ;;

@ -366,7 +366,7 @@ case $target_thread_file in
dce) thread_header=config/pa/gthr-dce.h ;;
lynx) thread_header=config/gthr-lynx.h ;;
mipssde) thread_header=config/mips/gthr-mipssde.h ;;
posix) thread_header=config/gthr-posix.h ;;
posix) thread_header=gthr-posix.h ;;
rtems) thread_header=config/gthr-rtems.h ;;
single) thread_header=gthr-single.h ;;
tpf) thread_header=config/s390/gthr-tpf.h ;;

@ -1,3 +1,10 @@
2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR bootstrap/50982
* include/Makefile.am (${host_builddir}/gthr-posix.h): Reflect
gthr-posix.h move.
* include/Makefile.in: Regenerate.
2011-11-07 Jonathan Wakely <jwakely.gcc@gmail.com>
* acinclude.m4 (GLIBCXX_CHECK_SC_NPROC_ONLN): Define.

@ -1133,7 +1133,7 @@ ${host_builddir}/gthr-single.h: ${toplevel_srcdir}/libgcc/gthr-single.h \
-e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
< $< > $@
${host_builddir}/gthr-posix.h: ${toplevel_srcdir}/libgcc/config/gthr-posix.h \
${host_builddir}/gthr-posix.h: ${toplevel_srcdir}/libgcc/gthr-posix.h \
stamp-${host_alias}
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
-e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \

@ -1521,7 +1521,7 @@ ${host_builddir}/gthr-single.h: ${toplevel_srcdir}/libgcc/gthr-single.h \
-e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
< $< > $@
${host_builddir}/gthr-posix.h: ${toplevel_srcdir}/libgcc/config/gthr-posix.h \
${host_builddir}/gthr-posix.h: ${toplevel_srcdir}/libgcc/gthr-posix.h \
stamp-${host_alias}
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
-e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \