summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-23 20:57:25 +0000
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-23 20:57:25 +0000
commit3fb25423f9f9186a6b76968f84890380bb12ddc8 (patch)
tree751016d73a999419b8204b19a6606873284e8f19 /libstdc++-v3
parentd0f928b5b4eb4e2c1fc5a9279850f694931a1d89 (diff)
downloadgcc-3fb25423f9f9186a6b76968f84890380bb12ddc8.tar.gz
2004-09-23 P.J. Darcy <darcypj@us.ibm.com>
gcc/ChangeLog: * gthr-tpf.h: New file. * config.gcc (s390x-ibm-tpf*): Add thread_file='tpf'. * gthr.h: Use gthr-tpf.h on TPF OS. libstdc++-v3/ChangeLog: * include/Makefile.am (thread_host_headers): Add gthr-tpf.h. Add rule to build ${host_builddir}/gthr-tpf.h. * include/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87982 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/include/Makefile.am9
-rw-r--r--libstdc++-v3/include/Makefile.in9
3 files changed, 24 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index e1f15152a0c..711157815e6 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2004-09-23 P.J. Darcy <darcypj@us.ibm.com>
+
+ * include/Makefile.am (thread_host_headers): Add gthr-tpf.h.
+ Add rule to build ${host_builddir}/gthr-tpf.h.
+ * include/Makefile.in: Regenerate.
+
2004-09-23 Paolo Carlini <pcarlini@suse.de>
Magnus Fromreide <magfr@lysator.liu.se>
diff --git a/libstdc++-v3/include/Makefile.am b/libstdc++-v3/include/Makefile.am
index 3e99d3329f2..2ab53ee59d3 100644
--- a/libstdc++-v3/include/Makefile.am
+++ b/libstdc++-v3/include/Makefile.am
@@ -361,6 +361,7 @@ thread_host_headers = \
${host_builddir}/gthr.h \
${host_builddir}/gthr-single.h \
${host_builddir}/gthr-posix.h \
+ ${host_builddir}/gthr-tpf.h \
${host_builddir}/gthr-default.h
pch_input = ${host_builddir}/stdc++.h
@@ -526,6 +527,14 @@ ${host_builddir}/gthr-posix.h: ${toplevel_srcdir}/gcc/gthr-posix.h \
-e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \
< ${toplevel_srcdir}/gcc/gthr-posix.h > $@
+${host_builddir}/gthr-tpf.h: ${toplevel_srcdir}/gcc/gthr-tpf.h \
+ stamp-${host_alias}
+ sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
+ -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
+ -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
+ -e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \
+ < ${toplevel_srcdir}/gcc/gthr-tpf.h > $@
+
${host_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcxx_thread_h} \
stamp-${host_alias}
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
diff --git a/libstdc++-v3/include/Makefile.in b/libstdc++-v3/include/Makefile.in
index 6f78ffac412..b6f4be72c69 100644
--- a/libstdc++-v3/include/Makefile.in
+++ b/libstdc++-v3/include/Makefile.in
@@ -575,6 +575,7 @@ thread_host_headers = \
${host_builddir}/gthr.h \
${host_builddir}/gthr-single.h \
${host_builddir}/gthr-posix.h \
+ ${host_builddir}/gthr-tpf.h \
${host_builddir}/gthr-default.h
pch_input = ${host_builddir}/stdc++.h
@@ -903,6 +904,14 @@ ${host_builddir}/gthr-posix.h: ${toplevel_srcdir}/gcc/gthr-posix.h \
-e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \
< ${toplevel_srcdir}/gcc/gthr-posix.h > $@
+${host_builddir}/gthr-tpf.h: ${toplevel_srcdir}/gcc/gthr-tpf.h \
+ stamp-${host_alias}
+ sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
+ -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
+ -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
+ -e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \
+ < ${toplevel_srcdir}/gcc/gthr-tpf.h > $@
+
${host_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcxx_thread_h} \
stamp-${host_alias}
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \