]> git.ipfire.org Git - thirdparty/gcc.git/commit
Move gthr to toplevel libgcc
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Wed, 2 Nov 2011 15:28:43 +0000 (15:28 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Wed, 2 Nov 2011 15:28:43 +0000 (15:28 +0000)
commit5d1c8e77cfcc007c21bfdf2077afffcb720a48b2
treecf3984b6d1138277f5083eed6653ca512143e59c
parent852b75ed97493f2742b9747d08129eb5f255735c
Move gthr to toplevel libgcc

gcc:
* gthr-single.h, gthr.h: Move to ../libgcc.
* gthr-aix.h: Move to ../libgcc/config/rs6000.
* gthr-dce.h: Move to ../libgcc/config/pa.
* gthr-lynx.h: Move to ../libgcc/config.
* gthr-mipssde.h: Move to ../libgcc/config/mips.
* gthr-posix.h: Move to ../libgcc/config.
* gthr-rtems.h: Likewise.
* gthr-tpf.h: Move to ../libgcc/config/s390.
* gthr-vxworks.h: Move to ../libgcc/config.
* gthr-win32.h: Move to ../libgcc/config/i386.
* configure.ac (gthread_flags): Remove
(gthr-default.h): Don't create.
(thread_file): Don't substitute.
* configure: Regenerate.
* Makefile.in (GCC_THREAD_FILE): Remove.
(GTHREAD_FLAGS): Remove.
(libgcc.mvars): Remove GTHREAD_FLAGS.
* config/t-vxworks (EXTRA_HEADERS): Remove.

gcc/po:
* EXCLUDES (gthr-aix.h, gthr-dce.h, gthr-posix.c, gthr-posix.h)
(gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h)
(gthr-win32.h, gthr.h): Remove.

libgcc:
* gthr-single.h, gthr.h: New files.
* config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
config/gthr-vxworks.h, config/i386/gthr-win32.h,
config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
* config/i386/gthr-win32.c: Include "gthr-win32.h".
* configure.ac (thread_header): New variable.
Set it depending on target_thread_file.
(gthr-default.h): Link from $thread_header.
* configure: Regenerate.
* Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).

libgfortran:
* Makefile.am (AM_CPPFLAGS): Add
-I$(srcdir)/$(MULTISRCTOP)../libgcc, -I$(MULTIBUILDTOP)../libgcc.
* Makefile.in: Regenerate.
* acinclude.m4 (LIBGFOR_CHECK_GTHR_DEFAULT): Remove.
* configure.ac (LIBGFOR_CHECK_GTHR_DEFAULT): Likewise.
* configure: Regenerate.
* config.h.in: Regenerate.

libobjc:
* Makefile.in (INCLUDES): Add -I$(MULTIBUILDTOP)../libgcc.
* configure.ac (target_thread_file, HAVE_GTHR_DEFAULT): Remove.
* configure: Regenerate.
* config.h.in: Regenerate.

libstdc++-v3:
* acinclude.m4 (GLIBCXX_CONFIGURE): Determine and substitute
toplevel_builddir.
(GLIBCXX_ENABLE_THREADS): Remove glibcxx_thread_h,
HAVE_GTHR_DEFAULT, enable_thread.
(GLIBCXX_CHECK_GTHREADS): Reflect gthr move to libgcc.
* include/Makefile.am (thread_host_headers): Remove
${host_builddir}/gthr-tpf.h.
(${host_builddir}/gthr.h): Reflect gthr move to libgcc.
Use $<.
(${host_builddir}/gthr-single.h): Likewise.
(${host_builddir}/gthr-posix.h): Likewise.
(${host_builddir}/gthr-tpf.h): Remove.
(${host_builddir}/gthr-default.h): Likewise.
* configure, config.h.in: Regenerate.
* Makefile.in, doc/Makefile.in, include/Makefile.in,
libsupc++/Makefile.in, po/Makefile.in, python/Makefile.in,
src/Makefile.intestsuite/Makefile.in: Regenerate.

From-SVN: r180776
48 files changed:
gcc/ChangeLog
gcc/Makefile.in
gcc/config/t-vxworks
gcc/configure
gcc/configure.ac
gcc/po/ChangeLog
gcc/po/EXCLUDES
libgcc/ChangeLog
libgcc/Makefile.in
libgcc/config/gthr-lynx.h [moved from gcc/gthr-lynx.h with 95% similarity]
libgcc/config/gthr-posix.h [moved from gcc/gthr-posix.h with 100% similarity]
libgcc/config/gthr-rtems.h [moved from gcc/gthr-rtems.h with 100% similarity]
libgcc/config/gthr-vxworks.h [moved from gcc/gthr-vxworks.h with 97% similarity]
libgcc/config/i386/gthr-win32.c
libgcc/config/i386/gthr-win32.h [moved from gcc/gthr-win32.h with 100% similarity]
libgcc/config/mips/gthr-mipssde.h [moved from gcc/gthr-mipssde.h with 100% similarity]
libgcc/config/pa/gthr-dce.h [moved from gcc/gthr-dce.h with 100% similarity]
libgcc/config/rs6000/gthr-aix.h [moved from gcc/gthr-aix.h with 92% similarity]
libgcc/config/s390/gthr-tpf.h [moved from gcc/gthr-tpf.h with 100% similarity]
libgcc/configure
libgcc/configure.ac
libgcc/gthr-single.h [moved from gcc/gthr-single.h with 100% similarity]
libgcc/gthr.h [moved from gcc/gthr.h with 91% similarity]
libgfortran/ChangeLog
libgfortran/Makefile.am
libgfortran/Makefile.in
libgfortran/acinclude.m4
libgfortran/config.h.in
libgfortran/configure
libgfortran/configure.ac
libobjc/ChangeLog
libobjc/Makefile.in
libobjc/config.h.in
libobjc/configure
libobjc/configure.ac
libstdc++-v3/ChangeLog
libstdc++-v3/Makefile.in
libstdc++-v3/acinclude.m4
libstdc++-v3/config.h.in
libstdc++-v3/configure
libstdc++-v3/doc/Makefile.in
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in
libstdc++-v3/libsupc++/Makefile.in
libstdc++-v3/po/Makefile.in
libstdc++-v3/python/Makefile.in
libstdc++-v3/src/Makefile.in
libstdc++-v3/testsuite/Makefile.in