# HG changeset patch
# Parent 3528e01004aef6c96846b94fb037050378483ddf
Return gthr-posix.h to libgcc (PR bootstrap/50982)
@@ -52,7 +52,7 @@ see the files COPYING3 and COPYING.RUNTI
#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.RUNTI
#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.RUNTI
#define GCC_GTHR_AIX_H
#ifdef _THREAD_SAFE
-#include "config/gthr-posix.h"
+#include "gthr-posix.h"
#else
#include "gthr-single.h"
#endif
@@ -4802,7 +4802,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 ;;
@@ -370,7 +370,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 ;;
rename from libgcc/config/gthr-posix.h
rename to libgcc/gthr-posix.h
@@ -1134,7 +1134,7 @@ uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_
-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' \
@@ -1522,7 +1522,7 @@ stamp-host: ${host_headers} ${host_heade
-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' \