--- libstdc++-v3/src/Makefile.am.jj 2014-05-13 10:30:38.316053664 +0200 +++ libstdc++-v3/src/Makefile.am 2014-05-15 15:53:13.149790502 +0200 @@ -22,11 +22,13 @@ include $(top_srcdir)/fragment.am -SUBDIRS = c++98 c++11 +SUBDIRS = c++98 c++11 nonshared98 nonshared11 # Cross compiler support. toolexeclib_LTLIBRARIES = libstdc++.la +noinst_LTLIBRARIES = libstdc++_nonshared44.la libstdc++_nonshared48.la + vpath % $(top_srcdir)/src/c++98 vpath % $(top_srcdir)/src/c++11 @@ -40,6 +42,25 @@ endif parallel_compat_sources = \ compatibility-parallel_list.cc compatibility-parallel_list-2.cc +libstdc___nonshared44_la_SOURCES = + +libstdc___nonshared44_la_LIBADD = \ + $(top_builddir)/src/nonshared98/libnonshared98convenience44.la \ + $(top_builddir)/src/nonshared11/libnonshared11convenience44.la + +libstdc___nonshared44_la_DEPENDENCIES = \ + $(top_builddir)/src/nonshared98/libnonshared98convenience44.la \ + $(top_builddir)/src/nonshared11/libnonshared11convenience44.la + +libstdc___nonshared48_la_SOURCES = + +libstdc___nonshared48_la_LIBADD = \ + $(top_builddir)/src/nonshared98/libnonshared98convenience48.la \ + $(top_builddir)/src/nonshared11/libnonshared11convenience48.la + +libstdc___nonshared48_la_DEPENDENCIES = \ + $(top_builddir)/src/nonshared98/libnonshared98convenience48.la \ + $(top_builddir)/src/nonshared11/libnonshared11convenience48.la cxx98_sources = \ compatibility.cc \ --- libstdc++-v3/src/nonshared11/new_handler.cc.jj 2014-05-15 15:53:13.149790502 +0200 +++ libstdc++-v3/src/nonshared11/new_handler.cc 2014-05-15 15:53:13.149790502 +0200 @@ -0,0 +1,72 @@ +// Implementation file for the -*- C++ -*- dynamic memory management header. + +// Copyright (C) 1996-2014 Free Software Foundation, Inc. +// +// This file is part of GCC. +// +// GCC is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// GCC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include +#include + +// This is inherently thread-unsafe, but so is libstdc++ < 4.9 +// std::set_new_handler and this hopefully doesn't make things much worse +// than that. +namespace +{ + __gnu_cxx::__mutex mx; + std::new_handler handler; + + void new_handler_wrapper () + { + std::new_handler h; + { + __gnu_cxx::__scoped_lock l(mx); + h = handler; + } + h (); + } +} + +std::new_handler +std::get_new_handler () noexcept +{ + __gnu_cxx::__scoped_lock l(mx); + handler = std::set_new_handler (new_handler_wrapper); + std::set_new_handler (handler); + return handler; +} + +asm (".hidden _ZN9__gnu_cxx24__concurrence_lock_errorD0Ev"); +asm (".hidden _ZN9__gnu_cxx24__concurrence_lock_errorD1Ev"); +asm (".hidden _ZN9__gnu_cxx24__concurrence_lock_errorD2Ev"); +asm (".hidden _ZN9__gnu_cxx26__concurrence_unlock_errorD0Ev"); +asm (".hidden _ZN9__gnu_cxx26__concurrence_unlock_errorD1Ev"); +asm (".hidden _ZN9__gnu_cxx26__concurrence_unlock_errorD2Ev"); +asm (".hidden _ZN9__gnu_cxx30__throw_concurrence_lock_errorEv"); +asm (".hidden _ZN9__gnu_cxx32__throw_concurrence_unlock_errorEv"); +asm (".hidden _ZNK9__gnu_cxx24__concurrence_lock_error4whatEv"); +asm (".hidden _ZNK9__gnu_cxx26__concurrence_unlock_error4whatEv"); +asm (".hidden _ZTIN9__gnu_cxx24__concurrence_lock_errorE"); +asm (".hidden _ZTIN9__gnu_cxx26__concurrence_unlock_errorE"); +asm (".hidden _ZTSN9__gnu_cxx24__concurrence_lock_errorE"); +asm (".hidden _ZTSN9__gnu_cxx26__concurrence_unlock_errorE"); +asm (".hidden _ZTVN9__gnu_cxx24__concurrence_lock_errorE"); +asm (".hidden _ZTVN9__gnu_cxx26__concurrence_unlock_errorE"); --- libstdc++-v3/src/nonshared11/atexit_thread.cc.jj 2014-05-15 15:53:13.149790502 +0200 +++ libstdc++-v3/src/nonshared11/atexit_thread.cc 2014-05-15 15:53:13.149790502 +0200 @@ -0,0 +1,23 @@ +// Copyright (C) 2013-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include "../libsupc++/atexit_thread.cc" --- libstdc++-v3/src/nonshared11/future.cc.jj 2014-05-15 15:53:13.149790502 +0200 +++ libstdc++-v3/src/nonshared11/future.cc 2014-05-15 15:53:13.149790502 +0200 @@ -0,0 +1,29 @@ +// Copyright (C) 2012-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include +#undef _GLIBCXX_HAVE_AS_SYMVER_DIRECTIVE +#include "../c++11/future.cc" +const std::error_category* _ZSt15future_category = &__future_category_instance(); +asm (".hidden _ZNSt13__future_base11_State_base15_M_run_deferredEv"); +asm (".hidden _ZTSNSt13__future_base11_State_baseE"); +asm (".hidden _ZTSNSt13__future_base12_Result_baseE"); --- libstdc++-v3/src/nonshared11/snprintf_lite.cc.jj 2014-05-15 15:53:13.149790502 +0200 +++ libstdc++-v3/src/nonshared11/snprintf_lite.cc 2014-05-15 15:53:13.149790502 +0200 @@ -0,0 +1,31 @@ +// Copyright (C) 2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include "../c++11/snprintf_lite.cc" +#ifdef __i386__ +asm (".hidden _ZN9__gnu_cxx15__concat_size_tEPcjj"); +asm (".hidden _ZN9__gnu_cxx15__snprintf_liteEPcjPKcS0_"); +#else +asm (".hidden _ZN9__gnu_cxx15__concat_size_tEPcmm"); +asm (".hidden _ZN9__gnu_cxx15__snprintf_liteEPcmPKcP13__va_list_tag"); +#endif +asm (".hidden _ZN9__gnu_cxx26__throw_insufficient_spaceEPKcS1_"); --- libstdc++-v3/src/nonshared11/Makefile.am.jj 2014-05-15 15:53:13.149790502 +0200 +++ libstdc++-v3/src/nonshared11/Makefile.am 2014-05-15 15:53:13.149790502 +0200 @@ -0,0 +1,129 @@ +## Makefile for the C++03 sources of the GNU C++ Standard library. +## +## Copyright (C) 1997-2014 Free Software Foundation, Inc. +## +## This file is part of the libstdc++ version 3 distribution. +## Process this file with automake to produce Makefile.in. + +## This file is part of the GNU ISO C++ Library. This library is free +## software; you can redistribute it and/or modify it under the +## terms of the GNU General Public License as published by the +## Free Software Foundation; either version 3, or (at your option) +## any later version. + +## This library is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. + +## You should have received a copy of the GNU General Public License along +## with this library; see the file COPYING3. If not see +## . + +include $(top_srcdir)/fragment.am + +# Convenience library for C++11 runtime. +noinst_LTLIBRARIES = libnonshared11convenience44.la \ + libnonshared11convenience48.la + +headers = + +sources = \ + bad_array_length.cc \ + bad_array_new.cc \ + eh_aux_runtime.cc \ + eh_terminate.cc \ + new_handler.cc \ + snprintf_lite.cc + +sources44 = \ + limits.cc \ + future.cc \ + functexcept.cc \ + placeholders.cc \ + regex.cc \ + functional.cc \ + shared_ptr.cc \ + nested_exception.cc \ + debug.cc \ + compatibility-thread-c++0x.cc \ + atexit_thread.cc \ + random.cc \ + chrono.cc \ + compatibility-atomic-c++0x.cc \ + hashtable_c++0x.cc \ + system_error.cc \ + thread.cc \ + $(inst_sources44) + +sources48 = \ + regex48.cc \ + functexcept48.cc + +if ENABLE_EXTERN_TEMPLATE +# XTEMPLATE_FLAGS = -fno-implicit-templates +inst_sources44 = \ + string-inst.cc \ + wstring-inst.cc \ + fstream-inst.cc +else +# XTEMPLATE_FLAGS = +inst_sources44 = +endif + +vpath % $(top_srcdir)/src/nonshared11 +vpath % $(top_srcdir) + +libnonshared11convenience44_la_SOURCES = $(sources) $(sources44) +libnonshared11convenience48_la_SOURCES = $(sources) $(sources48) + +# AM_CXXFLAGS needs to be in each subdirectory so that it can be +# modified in a per-library or per-sub-library way. Need to manually +# set this option because CONFIG_CXXFLAGS has to be after +# OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden +# as the occasion calls for it. +AM_CXXFLAGS = \ + -std=gnu++11 \ + $(glibcxx_lt_pic_flag) $(glibcxx_compiler_shared_flag) \ + $(XTEMPLATE_FLAGS) $(VTV_CXXFLAGS) \ + $(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS) + +AM_MAKEFLAGS = \ + "gxx_include_dir=$(gxx_include_dir)" + +# Libtool notes + +# 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is +# last. (That way, things like -O2 passed down from the toplevel can +# be overridden by --enable-debug.) + +# 2) In general, libtool expects an argument such as `--tag=CXX' when +# using the C++ compiler, because that will enable the settings +# detected when C++ support was being configured. However, when no +# such flag is given in the command line, libtool attempts to figure +# it out by matching the compiler name in each configuration section +# against a prefix of the command line. The problem is that, if the +# compiler name and its initial flags stored in the libtool +# configuration file don't match those in the command line, libtool +# can't decide which configuration to use, and it gives up. The +# correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe +# CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to +# attempt to infer which configuration to use. +# We have to put --tag disable-shared after --tag CXX lest things +# CXX undo the affect of disable-shared. +LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared $(LIBTOOLFLAGS) \ + --mode=compile $(CXX) $(TOPLEVEL_INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(EXTRA_CXX_FLAGS) + +LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) + +# 3) We'd have a problem when building the shared libstdc++ object if +# the rules automake generates would be used. We cannot allow g++ to +# be used since this would add -lstdc++ to the link line which of +# course is problematic at this point. So, we get the top-level +# directory to configure libstdc++-v3 to use gcc as the C++ +# compilation driver. +CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared $(LIBTOOLFLAGS) \ + --mode=link $(CXX) \ + $(VTV_CXXLINKFLAGS) \ + $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ --- libstdc++-v3/src/nonshared11/eh_terminate.cc.jj 2014-05-15 15:53:13.149790502 +0200 +++ libstdc++-v3/src/nonshared11/eh_terminate.cc 2014-05-15 15:53:13.149790502 +0200 @@ -0,0 +1,92 @@ +// Implementation file for the -*- C++ -*- dynamic memory management header. + +// Copyright (C) 1994-2014 Free Software Foundation, Inc. +// +// This file is part of GCC. +// +// GCC is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// GCC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include +#include + +// This is inherently thread-unsafe, but so is libstdc++ < 4.9 +// std::set_terminate and std::set_unexpected and this hopefully +// doesn't make things much worse than that. +namespace +{ + __gnu_cxx::__mutex mx; + std::terminate_handler thandler; + std::unexpected_handler uhandler; + + void terminate_handler_wrapper () + { + std::terminate_handler h; + { + __gnu_cxx::__scoped_lock l(mx); + h = thandler; + } + h (); + } + + void unexpected_handler_wrapper () + { + std::terminate_handler h; + { + __gnu_cxx::__scoped_lock l(mx); + h = uhandler; + } + h (); + } +} + +std::terminate_handler +std::get_terminate () noexcept +{ + __gnu_cxx::__scoped_lock l(mx); + thandler = std::set_terminate (terminate_handler_wrapper); + std::set_terminate (thandler); + return thandler; +} + +std::unexpected_handler +std::get_unexpected () noexcept +{ + __gnu_cxx::__scoped_lock l(mx); + uhandler = std::set_unexpected (unexpected_handler_wrapper); + std::set_unexpected (uhandler); + return uhandler; +} + +asm (".hidden _ZN9__gnu_cxx24__concurrence_lock_errorD0Ev"); +asm (".hidden _ZN9__gnu_cxx24__concurrence_lock_errorD1Ev"); +asm (".hidden _ZN9__gnu_cxx24__concurrence_lock_errorD2Ev"); +asm (".hidden _ZN9__gnu_cxx26__concurrence_unlock_errorD0Ev"); +asm (".hidden _ZN9__gnu_cxx26__concurrence_unlock_errorD1Ev"); +asm (".hidden _ZN9__gnu_cxx26__concurrence_unlock_errorD2Ev"); +asm (".hidden _ZN9__gnu_cxx30__throw_concurrence_lock_errorEv"); +asm (".hidden _ZN9__gnu_cxx32__throw_concurrence_unlock_errorEv"); +asm (".hidden _ZNK9__gnu_cxx24__concurrence_lock_error4whatEv"); +asm (".hidden _ZNK9__gnu_cxx26__concurrence_unlock_error4whatEv"); +asm (".hidden _ZTIN9__gnu_cxx24__concurrence_lock_errorE"); +asm (".hidden _ZTIN9__gnu_cxx26__concurrence_unlock_errorE"); +asm (".hidden _ZTSN9__gnu_cxx24__concurrence_lock_errorE"); +asm (".hidden _ZTSN9__gnu_cxx26__concurrence_unlock_errorE"); +asm (".hidden _ZTVN9__gnu_cxx24__concurrence_lock_errorE"); +asm (".hidden _ZTVN9__gnu_cxx26__concurrence_unlock_errorE"); --- libstdc++-v3/src/nonshared11/functional.cc.jj 2014-05-15 15:53:13.150790583 +0200 +++ libstdc++-v3/src/nonshared11/functional.cc 2014-05-15 15:53:13.149790502 +0200 @@ -0,0 +1,24 @@ +// Copyright (C) 2012-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include "../c++11/functional.cc" +asm (".hidden _ZTSSt17bad_function_call"); --- libstdc++-v3/src/nonshared11/fstream-inst.cc.jj 2014-05-15 15:53:13.150790583 +0200 +++ libstdc++-v3/src/nonshared11/fstream-inst.cc 2014-05-15 15:53:13.150790583 +0200 @@ -0,0 +1,47 @@ +// Explicit instantiation file. + +// Copyright (C) 1997-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +// +// ISO C++ 14882: +// + +#include + +namespace std _GLIBCXX_VISIBILITY(default) +{ + + typedef basic_filebuf FIC; + + template + int FIC::_M_get_ext_pos(__state_type &); + +#ifdef _GLIBCXX_USE_WCHAR_T + typedef basic_filebuf FIW; + + template + int FIW::_M_get_ext_pos(__state_type &); + +#endif + +} --- libstdc++-v3/src/nonshared11/chrono.cc.jj 2014-05-15 15:53:13.150790583 +0200 +++ libstdc++-v3/src/nonshared11/chrono.cc 2014-05-15 15:53:13.150790583 +0200 @@ -0,0 +1,23 @@ +// Copyright (C) 2012-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include "../c++11/chrono.cc" --- libstdc++-v3/src/nonshared11/functexcept.cc.jj 2014-05-15 15:53:13.150790583 +0200 +++ libstdc++-v3/src/nonshared11/functexcept.cc 2014-05-15 15:53:13.150790583 +0200 @@ -0,0 +1,83 @@ +// Copyright (C) 2001-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#ifdef _GLIBCXX_USE_NLS +# include +# define _(msgid) gettext (msgid) +#else +# define _(msgid) (msgid) +#endif + +namespace __gnu_cxx +{ + int __snprintf_lite(char *__buf, size_t __bufsize, const char *__fmt, + va_list __ap); +} + +namespace std _GLIBCXX_VISIBILITY(default) +{ +_GLIBCXX_BEGIN_NAMESPACE_VERSION + + void + __throw_out_of_range_fmt(const char* __fmt, ...) + { + const size_t __len = __builtin_strlen(__fmt); + // We expect at most 2 numbers, and 1 short string. The additional + // 512 bytes should provide more than enough space for expansion. + const size_t __alloca_size = __len + 512; + char *const __s = static_cast(__builtin_alloca(__alloca_size)); + va_list __ap; + + va_start(__ap, __fmt); + __gnu_cxx::__snprintf_lite(__s, __alloca_size, __fmt, __ap); + _GLIBCXX_THROW_OR_ABORT(out_of_range(_(__s))); + va_end(__ap); // Not reached. + } + + void + __throw_future_error(int __i __attribute__((unused))) + { _GLIBCXX_THROW_OR_ABORT(future_error(make_error_code(future_errc(__i)))); } + + void + __throw_bad_function_call() + { _GLIBCXX_THROW_OR_ABORT(bad_function_call()); } + + void + __throw_regex_error(regex_constants::error_type __ecode + __attribute__((unused))) + { _GLIBCXX_THROW_OR_ABORT(regex_error(__ecode)); } + +_GLIBCXX_END_NAMESPACE_VERSION +} // namespace --- libstdc++-v3/src/nonshared11/debug.cc.jj 2014-05-15 15:53:13.150790583 +0200 +++ libstdc++-v3/src/nonshared11/debug.cc 2014-05-15 15:53:13.150790583 +0200 @@ -0,0 +1,234 @@ +// Copyright (C) 2003-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +using namespace std; + +namespace +{ + void + swap_its(__gnu_debug::_Safe_sequence_base& __lhs, + __gnu_debug::_Safe_iterator_base*& __lhs_its, + __gnu_debug::_Safe_sequence_base& __rhs, + __gnu_debug::_Safe_iterator_base*& __rhs_its) + { + swap(__lhs_its, __rhs_its); + __gnu_debug::_Safe_iterator_base* __iter; + for (__iter = __rhs_its; __iter; __iter = __iter->_M_next) + __iter->_M_sequence = &__rhs; + for (__iter = __lhs_its; __iter; __iter = __iter->_M_next) + __iter->_M_sequence = &__lhs; + } + + void + swap_seq(__gnu_debug::_Safe_sequence_base& __lhs, + __gnu_debug::_Safe_sequence_base& __rhs) + { + swap(__lhs._M_version, __rhs._M_version); + swap_its(__lhs, __lhs._M_iterators, + __rhs, __rhs._M_iterators); + swap_its(__lhs, __lhs._M_const_iterators, + __rhs, __rhs._M_const_iterators); + } + + void + swap_ucont(__gnu_debug::_Safe_unordered_container_base& __lhs, + __gnu_debug::_Safe_unordered_container_base& __rhs) + { + swap_seq(__lhs, __rhs); + swap_its(__lhs, __lhs._M_local_iterators, + __rhs, __rhs._M_local_iterators); + swap_its(__lhs, __lhs._M_const_local_iterators, + __rhs, __rhs._M_const_local_iterators); + } + + void + detach_all(__gnu_debug::_Safe_iterator_base* __iter) + { + for (; __iter;) + { + __gnu_debug::_Safe_iterator_base* __old = __iter; + __iter = __iter->_M_next; + __old->_M_reset(); + } + } +} // anonymous namespace + +namespace __gnu_debug +{ + void + _Safe_iterator_base:: + _M_reset() throw () + { + _M_sequence = 0; + _M_version = 0; + _M_prior = 0; + _M_next = 0; + } + + _Safe_unordered_container_base* + _Safe_local_iterator_base:: + _M_get_container() const _GLIBCXX_NOEXCEPT + { return static_cast<_Safe_unordered_container_base*>(_M_sequence); } + + void + _Safe_local_iterator_base:: + _M_attach(_Safe_sequence_base* __cont, bool __constant) + { + _M_detach(); + + // Attach to the new container (if there is one) + if (__cont) + { + _M_sequence = __cont; + _M_version = _M_sequence->_M_version; + _M_get_container()->_M_attach_local(this, __constant); + } + } + + void + _Safe_local_iterator_base:: + _M_detach() + { + if (_M_sequence) + _M_get_container()->_M_detach_local(this); + + _M_reset(); + } + + void + _Safe_unordered_container_base:: + _M_detach_all() + { + __gnu_cxx::__scoped_lock sentry(_M_get_mutex()); + detach_all(_M_iterators); + _M_iterators = 0; + + detach_all(_M_const_iterators); + _M_const_iterators = 0; + + detach_all(_M_local_iterators); + _M_local_iterators = 0; + + detach_all(_M_const_local_iterators); + _M_const_local_iterators = 0; + } + + void + _Safe_unordered_container_base:: + _M_swap(_Safe_unordered_container_base& __x) + { + // We need to lock both containers to swap + using namespace __gnu_cxx; + __mutex *__this_mutex = &_M_get_mutex(); + __mutex *__x_mutex = &__x._M_get_mutex(); + if (__this_mutex == __x_mutex) + { + __scoped_lock __lock(*__this_mutex); + swap_ucont(*this, __x); + } + else + { + __scoped_lock __l1(__this_mutex < __x_mutex + ? *__this_mutex : *__x_mutex); + __scoped_lock __l2(__this_mutex < __x_mutex + ? *__x_mutex : *__this_mutex); + swap_ucont(*this, __x); + } + } + + void + _Safe_unordered_container_base:: + _M_attach_local(_Safe_iterator_base* __it, bool __constant) + { + __gnu_cxx::__scoped_lock sentry(_M_get_mutex()); + _M_attach_local_single(__it, __constant); + } + + void + _Safe_unordered_container_base:: + _M_attach_local_single(_Safe_iterator_base* __it, bool __constant) throw () + { + _Safe_iterator_base*& __its = + __constant ? _M_const_local_iterators : _M_local_iterators; + __it->_M_next = __its; + if (__it->_M_next) + __it->_M_next->_M_prior = __it; + __its = __it; + } + + void + _Safe_unordered_container_base:: + _M_detach_local(_Safe_iterator_base* __it) + { + // Remove __it from this container's list + __gnu_cxx::__scoped_lock sentry(_M_get_mutex()); + _M_detach_local_single(__it); + } + + void + _Safe_unordered_container_base:: + _M_detach_local_single(_Safe_iterator_base* __it) throw () + { + // Remove __it from this container's list + __it->_M_unlink(); + if (_M_const_local_iterators == __it) + _M_const_local_iterators = __it->_M_next; + if (_M_local_iterators == __it) + _M_local_iterators = __it->_M_next; + } + +} // namespace __gnu_debug + +asm (".hidden _ZN9__gnu_cxx24__concurrence_lock_errorD0Ev"); +asm (".hidden _ZN9__gnu_cxx24__concurrence_lock_errorD1Ev"); +asm (".hidden _ZN9__gnu_cxx24__concurrence_lock_errorD2Ev"); +asm (".hidden _ZN9__gnu_cxx26__concurrence_unlock_errorD0Ev"); +asm (".hidden _ZN9__gnu_cxx26__concurrence_unlock_errorD1Ev"); +asm (".hidden _ZN9__gnu_cxx26__concurrence_unlock_errorD2Ev"); +asm (".hidden _ZN9__gnu_cxx30__throw_concurrence_lock_errorEv"); +asm (".hidden _ZN9__gnu_cxx32__throw_concurrence_unlock_errorEv"); +asm (".hidden _ZNK9__gnu_cxx24__concurrence_lock_error4whatEv"); +asm (".hidden _ZNK9__gnu_cxx26__concurrence_unlock_error4whatEv"); +asm (".hidden _ZTIN9__gnu_cxx24__concurrence_lock_errorE"); +asm (".hidden _ZTIN9__gnu_cxx26__concurrence_unlock_errorE"); +asm (".hidden _ZTSN9__gnu_cxx24__concurrence_lock_errorE"); +asm (".hidden _ZTSN9__gnu_cxx26__concurrence_unlock_errorE"); +asm (".hidden _ZTVN9__gnu_cxx24__concurrence_lock_errorE"); +asm (".hidden _ZTVN9__gnu_cxx26__concurrence_unlock_errorE"); +asm (".hidden _ZN11__gnu_debug19_Safe_iterator_base8_M_resetEv"); +asm (".hidden _ZN11__gnu_debug30_Safe_unordered_container_base15_M_attach_localEPNS_19_Safe_iterator_baseEb"); +asm (".hidden _ZN11__gnu_debug30_Safe_unordered_container_base15_M_detach_localEPNS_19_Safe_iterator_baseE"); +asm (".hidden _ZN11__gnu_debug30_Safe_unordered_container_base22_M_attach_local_singleEPNS_19_Safe_iterator_baseEb"); +asm (".hidden _ZN11__gnu_debug30_Safe_unordered_container_base22_M_detach_local_singleEPNS_19_Safe_iterator_baseE"); +asm (".hidden _ZNK11__gnu_debug25_Safe_local_iterator_base16_M_get_containerEv"); --- libstdc++-v3/src/nonshared11/compatibility-thread-c++0x.cc.jj 2014-05-15 15:53:13.150790583 +0200 +++ libstdc++-v3/src/nonshared11/compatibility-thread-c++0x.cc 2014-05-15 15:53:13.150790583 +0200 @@ -0,0 +1,40 @@ +// Copyright (C) 2012-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include +#if defined(_GLIBCXX_HAVE_TLS) && defined(PIC) +#define _GLIBCXX_ASYNC_ABI_COMPAT +#endif + +#include +#include + +#undef _GLIBCXX_HAVE_AS_SYMVER_DIRECTIVE +#include "../c++11/compatibility-thread-c++0x.cc" + +asm (".hidden _ZSt9call_onceIMSt6threadFvvEISt17reference_wrapperIS0_EEEvRSt9once_flagOT_DpOT0_"); +asm (".hidden _ZSt9call_onceIMSt6threadFvvEJSt17reference_wrapperIS0_EEEvRSt9once_flagOT_DpOT0_"); +asm (".hidden _ZSt16__once_call_implISt12_Bind_simpleIFSt7_Mem_fnIMSt6threadFvvEESt17reference_wrapperIS2_EEEEvv"); +asm (".hidden _ZSt13__bind_simpleIMSt6threadFvvEISt17reference_wrapperIS0_EEENSt19_Bind_simple_helperIT_IDpT0_EE6__typeEOS6_DpOS7_"); +asm (".hidden _ZSt13__bind_simpleIMSt6threadFvvEJSt17reference_wrapperIS0_EEENSt19_Bind_simple_helperIT_JDpT0_EE6__typeEOS6_DpOS7_"); +asm (".hidden _ZNSt13__future_base19_Async_state_common15_M_run_deferredEv"); +asm (".hidden _ZNSt13__future_base7_ResultIvE10_M_destroyEv"); --- libstdc++-v3/src/nonshared11/nested_exception.cc.jj 2014-05-15 15:53:13.150790583 +0200 +++ libstdc++-v3/src/nonshared11/nested_exception.cc 2014-05-15 15:53:13.150790583 +0200 @@ -0,0 +1,24 @@ +// Copyright (C) 2012-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include "../libsupc++/nested_exception.cc" +asm (".hidden _ZTSSt16nested_exception"); --- libstdc++-v3/src/nonshared11/bad_array_new.cc.jj 2014-05-15 15:53:13.151790659 +0200 +++ libstdc++-v3/src/nonshared11/bad_array_new.cc 2014-05-15 15:53:13.151790659 +0200 @@ -0,0 +1,23 @@ +// Copyright (C) 2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include "../libsupc++/bad_array_new.cc" --- libstdc++-v3/src/nonshared11/eh_aux_runtime.cc.jj 2014-05-15 15:53:13.151790659 +0200 +++ libstdc++-v3/src/nonshared11/eh_aux_runtime.cc 2014-05-15 15:53:13.151790659 +0200 @@ -0,0 +1,38 @@ +// -*- C++ -*- Common throw conditions. +// Copyright (C) 1994-2014 Free Software Foundation, Inc. +// +// This file is part of GCC. +// +// GCC is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// GCC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. +// +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include "typeinfo" +#include "exception" +#include "new" +#include +#include "unwind-cxx.h" +#include + +extern "C" void +__cxxabiv1::__cxa_throw_bad_array_new_length () +{ _GLIBCXX_THROW_OR_ABORT(std::bad_array_new_length()); } + +extern "C" void +__cxxabiv1::__cxa_throw_bad_array_length () +{ _GLIBCXX_THROW_OR_ABORT(std::bad_array_length()); } --- libstdc++-v3/src/nonshared11/limits.cc.jj 2014-05-15 15:53:13.151790659 +0200 +++ libstdc++-v3/src/nonshared11/limits.cc 2014-05-15 15:53:13.151790659 +0200 @@ -0,0 +1,99 @@ +// Copyright (C) 2012-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include + +namespace std _GLIBCXX_VISIBILITY(default) +{ + +#define const _GLIBCXX_USE_CONSTEXPR + + const int __numeric_limits_base::max_digits10; + const int numeric_limits::max_digits10; + const int numeric_limits::max_digits10; + const int numeric_limits::max_digits10; + const int numeric_limits::max_digits10; + const int numeric_limits::max_digits10; + const int numeric_limits::max_digits10; + const int numeric_limits::max_digits10; + const int numeric_limits::max_digits10; + const int numeric_limits::max_digits10; + const int numeric_limits::max_digits10; + const int numeric_limits::max_digits10; + const int numeric_limits::max_digits10; + const int numeric_limits::max_digits10; + const int numeric_limits::max_digits10; + const int numeric_limits::max_digits10; + const int numeric_limits::max_digits10; + const int numeric_limits::max_digits10; + const int numeric_limits::max_digits10; + +#if !defined(__STRICT_ANSI__) && defined(_GLIBCXX_USE_INT128) + const bool numeric_limits<__int128>::is_specialized; + const int numeric_limits<__int128>::digits; + const int numeric_limits<__int128>::digits10; + const int numeric_limits<__int128>::max_digits10; + const bool numeric_limits<__int128>::is_signed; + const bool numeric_limits<__int128>::is_integer; + const bool numeric_limits<__int128>::is_exact; + const int numeric_limits<__int128>::radix; + const int numeric_limits<__int128>::min_exponent; + const int numeric_limits<__int128>::min_exponent10; + const int numeric_limits<__int128>::max_exponent; + const int numeric_limits<__int128>::max_exponent10; + const bool numeric_limits<__int128>::has_infinity; + const bool numeric_limits<__int128>::has_quiet_NaN; + const bool numeric_limits<__int128>::has_signaling_NaN; + const float_denorm_style numeric_limits<__int128>::has_denorm; + const bool numeric_limits<__int128>::has_denorm_loss; + const bool numeric_limits<__int128>::is_iec559; + const bool numeric_limits<__int128>::is_bounded; + const bool numeric_limits<__int128>::is_modulo; + const bool numeric_limits<__int128>::traps; + const bool numeric_limits<__int128>::tinyness_before; + const float_round_style numeric_limits<__int128>::round_style; + + const bool numeric_limits::is_specialized; + const int numeric_limits::digits; + const int numeric_limits::digits10; + const int numeric_limits::max_digits10; + const bool numeric_limits::is_signed; + const bool numeric_limits::is_integer; + const bool numeric_limits::is_exact; + const int numeric_limits::radix; + const int numeric_limits::min_exponent; + const int numeric_limits::min_exponent10; + const int numeric_limits::max_exponent; + const int numeric_limits::max_exponent10; + const bool numeric_limits::has_infinity; + const bool numeric_limits::has_quiet_NaN; + const bool numeric_limits::has_signaling_NaN; + const float_denorm_style numeric_limits::has_denorm; + const bool numeric_limits::has_denorm_loss; + const bool numeric_limits::is_iec559; + const bool numeric_limits::is_bounded; + const bool numeric_limits::is_modulo; + const bool numeric_limits::traps; + const bool numeric_limits::tinyness_before; + const float_round_style numeric_limits::round_style; +#endif +} --- libstdc++-v3/src/nonshared11/functexcept48.cc.jj 2014-05-15 15:53:13.151790659 +0200 +++ libstdc++-v3/src/nonshared11/functexcept48.cc 2014-05-15 15:53:13.151790659 +0200 @@ -0,0 +1,66 @@ +// Copyright (C) 2001-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include +#include +#include +#include +#include +#include +#include +#include + +#ifdef _GLIBCXX_USE_NLS +# include +# define _(msgid) gettext (msgid) +#else +# define _(msgid) (msgid) +#endif + +namespace __gnu_cxx +{ + int __snprintf_lite(char *__buf, size_t __bufsize, const char *__fmt, + va_list __ap); +} + +namespace std _GLIBCXX_VISIBILITY(default) +{ +_GLIBCXX_BEGIN_NAMESPACE_VERSION + + void + __throw_out_of_range_fmt(const char* __fmt, ...) + { + const size_t __len = __builtin_strlen(__fmt); + // We expect at most 2 numbers, and 1 short string. The additional + // 512 bytes should provide more than enough space for expansion. + const size_t __alloca_size = __len + 512; + char *const __s = static_cast(__builtin_alloca(__alloca_size)); + va_list __ap; + + va_start(__ap, __fmt); + __gnu_cxx::__snprintf_lite(__s, __alloca_size, __fmt, __ap); + _GLIBCXX_THROW_OR_ABORT(out_of_range(_(__s))); + va_end(__ap); // Not reached. + } + +_GLIBCXX_END_NAMESPACE_VERSION +} // namespace --- libstdc++-v3/src/nonshared11/Makefile.in.jj 2014-05-15 15:53:13.151790659 +0200 +++ libstdc++-v3/src/nonshared11/Makefile.in 2014-05-15 16:13:18.866387096 +0200 @@ -0,0 +1,663 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +target_triplet = @target@ +DIST_COMMON = $(top_srcdir)/fragment.am $(srcdir)/Makefile.in \ + $(srcdir)/Makefile.am +subdir = src/nonshared11 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \ + $(top_srcdir)/../config/enable.m4 \ + $(top_srcdir)/../config/futex.m4 \ + $(top_srcdir)/../config/iconv.m4 \ + $(top_srcdir)/../config/lead-dot.m4 \ + $(top_srcdir)/../config/lib-ld.m4 \ + $(top_srcdir)/../config/lib-link.m4 \ + $(top_srcdir)/../config/lib-prefix.m4 \ + $(top_srcdir)/../config/lthostflags.m4 \ + $(top_srcdir)/../config/multi.m4 \ + $(top_srcdir)/../config/no-executables.m4 \ + $(top_srcdir)/../config/override.m4 \ + $(top_srcdir)/../config/stdint.m4 \ + $(top_srcdir)/../config/unwind_ipinfo.m4 \ + $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \ + $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \ + $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/crossconfig.m4 \ + $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/../config/gc++filt.m4 \ + $(top_srcdir)/../config/tls.m4 $(top_srcdir)/../config/gthr.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +LTLIBRARIES = $(noinst_LTLIBRARIES) +libnonshared11convenience44_la_LIBADD = +am__objects_1 = bad_array_length.lo bad_array_new.lo eh_aux_runtime.lo \ + eh_terminate.lo new_handler.lo snprintf_lite.lo +@ENABLE_EXTERN_TEMPLATE_TRUE@am__objects_2 = string-inst.lo \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ wstring-inst.lo fstream-inst.lo +am__objects_3 = limits.lo future.lo functexcept.lo placeholders.lo \ + regex.lo functional.lo shared_ptr.lo nested_exception.lo \ + debug.lo compatibility-thread-c++0x.lo atexit_thread.lo \ + random.lo chrono.lo compatibility-atomic-c++0x.lo \ + hashtable_c++0x.lo system_error.lo thread.lo $(am__objects_2) +am_libnonshared11convenience44_la_OBJECTS = $(am__objects_1) \ + $(am__objects_3) +libnonshared11convenience44_la_OBJECTS = \ + $(am_libnonshared11convenience44_la_OBJECTS) +libnonshared11convenience48_la_LIBADD = +am__objects_4 = regex48.lo functexcept48.lo +am_libnonshared11convenience48_la_OBJECTS = $(am__objects_1) \ + $(am__objects_4) +libnonshared11convenience48_la_OBJECTS = \ + $(am_libnonshared11convenience48_la_OBJECTS) +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = +am__depfiles_maybe = +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +CXXLD = $(CXX) +SOURCES = $(libnonshared11convenience44_la_SOURCES) \ + $(libnonshared11convenience48_la_SOURCES) +ETAGS = etags +CTAGS = ctags +ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@ +ACLOCAL = @ACLOCAL@ +ALLOCATOR_H = @ALLOCATOR_H@ +ALLOCATOR_NAME = @ALLOCATOR_NAME@ +AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ +ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@ +ATOMIC_FLAGS = @ATOMIC_FLAGS@ +ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +BASIC_FILE_CC = @BASIC_FILE_CC@ +BASIC_FILE_H = @BASIC_FILE_H@ +CC = @CC@ +CCAS = @CCAS@ +CCASFLAGS = @CCASFLAGS@ +CCODECVT_CC = @CCODECVT_CC@ +CCOLLATE_CC = @CCOLLATE_CC@ +CCTYPE_CC = @CCTYPE_CC@ +CFLAGS = @CFLAGS@ +CLOCALE_CC = @CLOCALE_CC@ +CLOCALE_H = @CLOCALE_H@ +CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@ +CMESSAGES_CC = @CMESSAGES_CC@ +CMESSAGES_H = @CMESSAGES_H@ +CMONEY_CC = @CMONEY_CC@ +CNUMERIC_CC = @CNUMERIC_CC@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@ +CPU_OPT_BITS_RANDOM = @CPU_OPT_BITS_RANDOM@ +CPU_OPT_EXT_RANDOM = @CPU_OPT_EXT_RANDOM@ +CSTDIO_H = @CSTDIO_H@ +CTIME_CC = @CTIME_CC@ +CTIME_H = @CTIME_H@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXFILT = @CXXFILT@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +C_INCLUDE_DIR = @C_INCLUDE_DIR@ +DBLATEX = @DBLATEX@ +DEBUG_FLAGS = @DEBUG_FLAGS@ +DEFS = @DEFS@ +DOT = @DOT@ +DOXYGEN = @DOXYGEN@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@ +EXEEXT = @EXEEXT@ +EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@ +FGREP = @FGREP@ +GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@ +GLIBCXX_LIBS = @GLIBCXX_LIBS@ +GREP = @GREP@ +HWCAP_FLAGS = @HWCAP_FLAGS@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBICONV = @LTLIBICONV@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@ +OPT_LDFLAGS = @OPT_LDFLAGS@ +OS_INC_SRCDIR = @OS_INC_SRCDIR@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PDFLATEX = @PDFLATEX@ +RANLIB = @RANLIB@ +SECTION_FLAGS = @SECTION_FLAGS@ +SECTION_LDFLAGS = @SECTION_LDFLAGS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +SYMVER_FILE = @SYMVER_FILE@ +TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +VTV_CXXFLAGS = @VTV_CXXFLAGS@ +VTV_CXXLINKFLAGS = @VTV_CXXLINKFLAGS@ +VTV_PCH_CXXFLAGS = @VTV_PCH_CXXFLAGS@ +WARN_FLAGS = @WARN_FLAGS@ +WERROR = @WERROR@ +XMLLINT = @XMLLINT@ +XSLTPROC = @XSLTPROC@ +XSL_STYLE_DIR = @XSL_STYLE_DIR@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__leading_dot = @am__leading_dot@ +am__tar = @am__tar@ +am__untar = @am__untar@ +baseline_dir = @baseline_dir@ +baseline_subdir_switch = @baseline_subdir_switch@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +check_msgfmt = @check_msgfmt@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +enable_shared = @enable_shared@ +enable_static = @enable_static@ +exec_prefix = @exec_prefix@ +glibcxx_MOFILES = @glibcxx_MOFILES@ +glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@ +glibcxx_POFILES = @glibcxx_POFILES@ +glibcxx_builddir = @glibcxx_builddir@ +glibcxx_compiler_pic_flag = @glibcxx_compiler_pic_flag@ +glibcxx_compiler_shared_flag = @glibcxx_compiler_shared_flag@ +glibcxx_localedir = @glibcxx_localedir@ +glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@ +glibcxx_prefixdir = @glibcxx_prefixdir@ +glibcxx_srcdir = @glibcxx_srcdir@ +glibcxx_toolexecdir = @glibcxx_toolexecdir@ +glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@ +gxx_include_dir = @gxx_include_dir@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +libtool_VERSION = @libtool_VERSION@ +localedir = @localedir@ +localstatedir = @localstatedir@ +lt_host_flags = @lt_host_flags@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +multi_basedir = @multi_basedir@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +port_specific_symbol_files = @port_specific_symbol_files@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +python_mod_dir = @python_mod_dir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ +thread_header = @thread_header@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +toplevel_builddir = @toplevel_builddir@ +toplevel_srcdir = @toplevel_srcdir@ + +# May be used by various substitution variables. +gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER) +MAINT_CHARSET = latin1 +mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs +PWD_COMMAND = $${PWDCMD-pwd} +STAMP = echo timestamp > +toolexecdir = $(glibcxx_toolexecdir) +toolexeclibdir = $(glibcxx_toolexeclibdir) +@ENABLE_WERROR_FALSE@WERROR_FLAG = +@ENABLE_WERROR_TRUE@WERROR_FLAG = $(WERROR) +@ENABLE_EXTERN_TEMPLATE_FALSE@XTEMPLATE_FLAGS = +@ENABLE_EXTERN_TEMPLATE_TRUE@XTEMPLATE_FLAGS = -fno-implicit-templates + +# These bits are all figured out from configure. Look in acinclude.m4 +# or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS. +CONFIG_CXXFLAGS = \ + $(SECTION_FLAGS) $(HWCAP_FLAGS) -frandom-seed=$@ + +WARN_CXXFLAGS = \ + $(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once + + +# -I/-D flags to pass when compiling. +AM_CPPFLAGS = $(GLIBCXX_INCLUDES) + +# Convenience library for C++11 runtime. +noinst_LTLIBRARIES = libnonshared11convenience44.la \ + libnonshared11convenience48.la + +headers = +sources = \ + bad_array_length.cc \ + bad_array_new.cc \ + eh_aux_runtime.cc \ + eh_terminate.cc \ + new_handler.cc \ + snprintf_lite.cc + +sources44 = \ + limits.cc \ + future.cc \ + functexcept.cc \ + placeholders.cc \ + regex.cc \ + functional.cc \ + shared_ptr.cc \ + nested_exception.cc \ + debug.cc \ + compatibility-thread-c++0x.cc \ + atexit_thread.cc \ + random.cc \ + chrono.cc \ + compatibility-atomic-c++0x.cc \ + hashtable_c++0x.cc \ + system_error.cc \ + thread.cc \ + $(inst_sources44) + +sources48 = \ + regex48.cc \ + functexcept48.cc + +# XTEMPLATE_FLAGS = +@ENABLE_EXTERN_TEMPLATE_FALSE@inst_sources44 = + +# XTEMPLATE_FLAGS = -fno-implicit-templates +@ENABLE_EXTERN_TEMPLATE_TRUE@inst_sources44 = \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ string-inst.cc \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ wstring-inst.cc \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ fstream-inst.cc + +libnonshared11convenience44_la_SOURCES = $(sources) $(sources44) +libnonshared11convenience48_la_SOURCES = $(sources) $(sources48) + +# AM_CXXFLAGS needs to be in each subdirectory so that it can be +# modified in a per-library or per-sub-library way. Need to manually +# set this option because CONFIG_CXXFLAGS has to be after +# OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden +# as the occasion calls for it. +AM_CXXFLAGS = \ + -std=gnu++11 \ + $(glibcxx_lt_pic_flag) $(glibcxx_compiler_shared_flag) \ + $(XTEMPLATE_FLAGS) $(VTV_CXXFLAGS) \ + $(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS) + +AM_MAKEFLAGS = \ + "gxx_include_dir=$(gxx_include_dir)" + + +# Libtool notes + +# 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is +# last. (That way, things like -O2 passed down from the toplevel can +# be overridden by --enable-debug.) + +# 2) In general, libtool expects an argument such as `--tag=CXX' when +# using the C++ compiler, because that will enable the settings +# detected when C++ support was being configured. However, when no +# such flag is given in the command line, libtool attempts to figure +# it out by matching the compiler name in each configuration section +# against a prefix of the command line. The problem is that, if the +# compiler name and its initial flags stored in the libtool +# configuration file don't match those in the command line, libtool +# can't decide which configuration to use, and it gives up. The +# correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe +# CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to +# attempt to infer which configuration to use. +# We have to put --tag disable-shared after --tag CXX lest things +# CXX undo the affect of disable-shared. +LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared $(LIBTOOLFLAGS) \ + --mode=compile $(CXX) $(TOPLEVEL_INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(EXTRA_CXX_FLAGS) + +LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) + +# 3) We'd have a problem when building the shared libstdc++ object if +# the rules automake generates would be used. We cannot allow g++ to +# be used since this would add -lstdc++ to the link line which of +# course is problematic at this point. So, we get the top-level +# directory to configure libstdc++-v3 to use gcc as the C++ +# compilation driver. +CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared $(LIBTOOLFLAGS) \ + --mode=link $(CXX) \ + $(VTV_CXXLINKFLAGS) \ + $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ + +all: all-am + +.SUFFIXES: +.SUFFIXES: .cc .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps src/nonshared11/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign --ignore-deps src/nonshared11/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +clean-noinstLTLIBRARIES: + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) + @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +libnonshared11convenience44.la: $(libnonshared11convenience44_la_OBJECTS) $(libnonshared11convenience44_la_DEPENDENCIES) + $(CXXLINK) $(libnonshared11convenience44_la_OBJECTS) $(libnonshared11convenience44_la_LIBADD) $(LIBS) +libnonshared11convenience48.la: $(libnonshared11convenience48_la_OBJECTS) $(libnonshared11convenience48_la_DEPENDENCIES) + $(CXXLINK) $(libnonshared11convenience48_la_OBJECTS) $(libnonshared11convenience48_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +.cc.o: + $(CXXCOMPILE) -c -o $@ $< + +.cc.obj: + $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.cc.lo: + $(LTCXXCOMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ + clean-libtool clean-noinstLTLIBRARIES ctags distclean \ + distclean-compile distclean-generic distclean-libtool \ + distclean-tags dvi dvi-am html html-am info info-am install \ + install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ + pdf pdf-am ps ps-am tags uninstall uninstall-am + + +vpath % $(top_srcdir)/src/nonshared11 +vpath % $(top_srcdir) + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: --- libstdc++-v3/src/nonshared11/wstring-inst.cc.jj 2014-05-15 15:53:13.152790734 +0200 +++ libstdc++-v3/src/nonshared11/wstring-inst.cc 2014-05-15 15:53:13.152790734 +0200 @@ -0,0 +1,34 @@ +// wide string support -*- C++ -*- + +// Copyright (C) 1999-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +// +// ISO C++ 14882: 21 Strings library +// + +#include + +#ifdef _GLIBCXX_USE_WCHAR_T +#define C wchar_t +#include "string-inst.cc" +#endif --- libstdc++-v3/src/nonshared11/random.cc.jj 2014-05-15 15:53:13.152790734 +0200 +++ libstdc++-v3/src/nonshared11/random.cc 2014-05-15 15:53:13.152790734 +0200 @@ -0,0 +1,71 @@ +// Copyright (C) 2013-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include "../c++11/random.cc" + +#if __WORDSIZE == 64 +asm (".hidden _ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE10shift_sizeE"); +asm (".hidden _ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE10state_sizeE"); +asm (".hidden _ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE11_M_gen_randEv"); +asm (".hidden _ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE11tempering_bE"); +asm (".hidden _ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE11tempering_cE"); +asm (".hidden _ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE11tempering_dE"); +asm (".hidden _ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE11tempering_lE"); +asm (".hidden _ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE11tempering_sE"); +asm (".hidden _ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE11tempering_tE"); +asm (".hidden _ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE11tempering_uE"); +asm (".hidden _ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE12default_seedE"); +asm (".hidden _ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE25initialization_multiplierE"); +asm (".hidden _ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE3maxEv"); +asm (".hidden _ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE3minEv"); +asm (".hidden _ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE4seedEm"); +asm (".hidden _ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE7discardEy"); +asm (".hidden _ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE8xor_maskE"); +asm (".hidden _ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE9mask_bitsE"); +asm (".hidden _ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE9word_sizeE"); +asm (".hidden _ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEC1Em"); +asm (".hidden _ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEC2Em"); +asm (".hidden _ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEclEv"); +#else +asm (".hidden _ZNSt23mersenne_twister_engineIjLj32ELj624ELj397ELj31ELj2567483615ELj11ELj4294967295ELj7ELj2636928640ELj15ELj4022730752ELj18ELj1812433253EE10shift_sizeE"); +asm (".hidden _ZNSt23mersenne_twister_engineIjLj32ELj624ELj397ELj31ELj2567483615ELj11ELj4294967295ELj7ELj2636928640ELj15ELj4022730752ELj18ELj1812433253EE10state_sizeE"); +asm (".hidden _ZNSt23mersenne_twister_engineIjLj32ELj624ELj397ELj31ELj2567483615ELj11ELj4294967295ELj7ELj2636928640ELj15ELj4022730752ELj18ELj1812433253EE11_M_gen_randEv"); +asm (".hidden _ZNSt23mersenne_twister_engineIjLj32ELj624ELj397ELj31ELj2567483615ELj11ELj4294967295ELj7ELj2636928640ELj15ELj4022730752ELj18ELj1812433253EE11tempering_bE"); +asm (".hidden _ZNSt23mersenne_twister_engineIjLj32ELj624ELj397ELj31ELj2567483615ELj11ELj4294967295ELj7ELj2636928640ELj15ELj4022730752ELj18ELj1812433253EE11tempering_cE"); +asm (".hidden _ZNSt23mersenne_twister_engineIjLj32ELj624ELj397ELj31ELj2567483615ELj11ELj4294967295ELj7ELj2636928640ELj15ELj4022730752ELj18ELj1812433253EE11tempering_dE"); +asm (".hidden _ZNSt23mersenne_twister_engineIjLj32ELj624ELj397ELj31ELj2567483615ELj11ELj4294967295ELj7ELj2636928640ELj15ELj4022730752ELj18ELj1812433253EE11tempering_lE"); +asm (".hidden _ZNSt23mersenne_twister_engineIjLj32ELj624ELj397ELj31ELj2567483615ELj11ELj4294967295ELj7ELj2636928640ELj15ELj4022730752ELj18ELj1812433253EE11tempering_sE"); +asm (".hidden _ZNSt23mersenne_twister_engineIjLj32ELj624ELj397ELj31ELj2567483615ELj11ELj4294967295ELj7ELj2636928640ELj15ELj4022730752ELj18ELj1812433253EE11tempering_tE"); +asm (".hidden _ZNSt23mersenne_twister_engineIjLj32ELj624ELj397ELj31ELj2567483615ELj11ELj4294967295ELj7ELj2636928640ELj15ELj4022730752ELj18ELj1812433253EE11tempering_uE"); +asm (".hidden _ZNSt23mersenne_twister_engineIjLj32ELj624ELj397ELj31ELj2567483615ELj11ELj4294967295ELj7ELj2636928640ELj15ELj4022730752ELj18ELj1812433253EE12default_seedE"); +asm (".hidden _ZNSt23mersenne_twister_engineIjLj32ELj624ELj397ELj31ELj2567483615ELj11ELj4294967295ELj7ELj2636928640ELj15ELj4022730752ELj18ELj1812433253EE25initialization_multiplierE"); +asm (".hidden _ZNSt23mersenne_twister_engineIjLj32ELj624ELj397ELj31ELj2567483615ELj11ELj4294967295ELj7ELj2636928640ELj15ELj4022730752ELj18ELj1812433253EE3maxEv"); +asm (".hidden _ZNSt23mersenne_twister_engineIjLj32ELj624ELj397ELj31ELj2567483615ELj11ELj4294967295ELj7ELj2636928640ELj15ELj4022730752ELj18ELj1812433253EE3minEv"); +asm (".hidden _ZNSt23mersenne_twister_engineIjLj32ELj624ELj397ELj31ELj2567483615ELj11ELj4294967295ELj7ELj2636928640ELj15ELj4022730752ELj18ELj1812433253EE4seedEj"); +asm (".hidden _ZNSt23mersenne_twister_engineIjLj32ELj624ELj397ELj31ELj2567483615ELj11ELj4294967295ELj7ELj2636928640ELj15ELj4022730752ELj18ELj1812433253EE7discardEy"); +asm (".hidden _ZNSt23mersenne_twister_engineIjLj32ELj624ELj397ELj31ELj2567483615ELj11ELj4294967295ELj7ELj2636928640ELj15ELj4022730752ELj18ELj1812433253EE8xor_maskE"); +asm (".hidden _ZNSt23mersenne_twister_engineIjLj32ELj624ELj397ELj31ELj2567483615ELj11ELj4294967295ELj7ELj2636928640ELj15ELj4022730752ELj18ELj1812433253EE9mask_bitsE"); +asm (".hidden _ZNSt23mersenne_twister_engineIjLj32ELj624ELj397ELj31ELj2567483615ELj11ELj4294967295ELj7ELj2636928640ELj15ELj4022730752ELj18ELj1812433253EE9word_sizeE"); +asm (".hidden _ZNSt23mersenne_twister_engineIjLj32ELj624ELj397ELj31ELj2567483615ELj11ELj4294967295ELj7ELj2636928640ELj15ELj4022730752ELj18ELj1812433253EEC1Ej"); +asm (".hidden _ZNSt23mersenne_twister_engineIjLj32ELj624ELj397ELj31ELj2567483615ELj11ELj4294967295ELj7ELj2636928640ELj15ELj4022730752ELj18ELj1812433253EEC2Ej"); +asm (".hidden _ZNSt23mersenne_twister_engineIjLj32ELj624ELj397ELj31ELj2567483615ELj11ELj4294967295ELj7ELj2636928640ELj15ELj4022730752ELj18ELj1812433253EEclEv"); +#endif --- libstdc++-v3/src/nonshared11/string-inst.cc.jj 2014-05-15 15:53:13.152790734 +0200 +++ libstdc++-v3/src/nonshared11/string-inst.cc 2014-05-15 15:53:13.152790734 +0200 @@ -0,0 +1,98 @@ +// Components for manipulating sequences of characters -*- C++ -*- + +// Copyright (C) 1997-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +// +// ISO C++ 14882: 21 Strings library +// + +// Written by Jason Merrill based upon the specification by Takanori Adachi +// in ANSI X3J16/94-0013R2. Rewritten by Nathan Myers. + +#include + +// Instantiation configuration. +#ifndef C +# define C char +# define NARROW +#endif + +namespace std _GLIBCXX_VISIBILITY(default) +{ + + typedef basic_string S; + + template + S::const_iterator S::cbegin() const; + + template + S::const_iterator S::cend() const; + + template + S::const_reverse_iterator S::crbegin() const; + + template + S::const_reverse_iterator S::crend() const; + + template + S::basic_string(S&&); + + template + S& S::operator=(S&&); + + template + S& S::assign(S&&); + + template + C *S::_S_construct_aux_2(size_type, C, const allocator_type&); + + template + void S::shrink_to_fit(); + + template + C *S::_S_construct(iterator, iterator, const allocator_type&, forward_iterator_tag); + + template + C *S::_S_construct(C *, C *, const allocator_type&, forward_iterator_tag); + + template + C *S::_S_construct(const C *, const C *, const allocator_type&, forward_iterator_tag); + + template + S::reference S::front(); + + template + S::const_reference S::front() const; + + template + S::reference S::back(); + + template + S::const_reference S::back() const; + + template + int S::_S_compare(size_type, size_type); + + template + void S::pop_back(); +} --- libstdc++-v3/src/nonshared11/shared_ptr.cc.jj 2014-05-15 15:53:13.152790734 +0200 +++ libstdc++-v3/src/nonshared11/shared_ptr.cc 2014-05-15 15:53:13.152790734 +0200 @@ -0,0 +1,24 @@ +// Copyright (C) 2012-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include "../c++11/shared_ptr.cc" +asm (".hidden _ZTSSt12bad_weak_ptr"); --- libstdc++-v3/src/nonshared11/system_error.cc.jj 2014-05-15 15:53:13.152790734 +0200 +++ libstdc++-v3/src/nonshared11/system_error.cc 2014-05-15 15:53:13.152790734 +0200 @@ -0,0 +1,50 @@ +// implementation file + +// Copyright (C) 2007-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include + +namespace std _GLIBCXX_VISIBILITY(default) +{ +_GLIBCXX_BEGIN_NAMESPACE_VERSION + + // Lie, to avoid emitting vtable/rtti here. + struct error_category + { + virtual const char* + name() const; + + error_category(); + + virtual ~error_category(); + + error_category(const error_category&) = delete; + error_category& operator=(const error_category&) = delete; + }; + + error_category::error_category() = default; + + error_category::~error_category() = default; + +_GLIBCXX_END_NAMESPACE_VERSION +} // namespace --- libstdc++-v3/src/nonshared11/placeholders.cc.jj 2014-05-15 15:53:13.152790734 +0200 +++ libstdc++-v3/src/nonshared11/placeholders.cc 2014-05-15 15:53:13.152790734 +0200 @@ -0,0 +1,23 @@ +// Copyright (C) 2012-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include "../c++11/placeholders.cc" --- libstdc++-v3/src/nonshared11/regex48.cc.jj 2014-05-15 15:53:13.153790805 +0200 +++ libstdc++-v3/src/nonshared11/regex48.cc 2014-05-15 15:53:13.153790805 +0200 @@ -0,0 +1,31 @@ +// Copyright (C) 2012-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include "../c++11/regex.cc" + +asm (".hidden _ZNSt11regex_errorC2ENSt15regex_constants10error_typeE"); +asm (".hidden _ZNSt11regex_errorD0Ev"); +asm (".hidden _ZNSt11regex_errorD1Ev"); +asm (".hidden _ZNSt11regex_errorD2Ev"); +asm (".hidden _ZTSSt11regex_error"); +asm (".hidden _ZTISt11regex_error"); +asm (".hidden _ZTVSt11regex_error"); --- libstdc++-v3/src/nonshared11/compatibility-atomic-c++0x.cc.jj 2014-05-15 15:53:13.153790805 +0200 +++ libstdc++-v3/src/nonshared11/compatibility-atomic-c++0x.cc 2014-05-15 15:53:13.153790805 +0200 @@ -0,0 +1,42 @@ +// Copyright (C) 2012-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include + +extern "C" +{ + extern bool _ZNVSt9__atomic011atomic_flag5clearESt12memory_order (std::memory_order); + + bool + _ZNSt9__atomic011atomic_flag5clearESt12memory_order (std::memory_order m) + { + return _ZNVSt9__atomic011atomic_flag5clearESt12memory_order (m); + } + + extern void _ZNVSt9__atomic011atomic_flag12test_and_setESt12memory_order (std::memory_order); + + void + _ZNSt9__atomic011atomic_flag12test_and_setESt12memory_order (std::memory_order m) + { + _ZNVSt9__atomic011atomic_flag12test_and_setESt12memory_order (m); + } +} --- libstdc++-v3/src/nonshared11/regex.cc.jj 2014-05-15 15:53:13.153790805 +0200 +++ libstdc++-v3/src/nonshared11/regex.cc 2014-05-15 15:53:13.153790805 +0200 @@ -0,0 +1,26 @@ +// Copyright (C) 2012-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include "../c++11/regex.cc" + +asm (".hidden _ZNSt11regex_errorC2ENSt15regex_constants10error_typeE"); +asm (".hidden _ZTSSt11regex_error"); --- libstdc++-v3/src/nonshared11/hashtable_c++0x.cc.jj 2014-05-15 15:53:13.153790805 +0200 +++ libstdc++-v3/src/nonshared11/hashtable_c++0x.cc 2014-05-15 15:53:13.153790805 +0200 @@ -0,0 +1,40 @@ +// Copyright (C) 2012-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include +#include +#include +#include +#include + +namespace std _GLIBCXX_VISIBILITY(default) +{ +namespace __detail +{ +_GLIBCXX_BEGIN_NAMESPACE_VERSION + extern const unsigned long __prime_list[]; +_GLIBCXX_END_NAMESPACE_VERSION +} // namespace __detail +} // namespace std + +#define HASHTABLE_AUX_CC 1 +#include "../c++11/hashtable_c++0x.cc" --- libstdc++-v3/src/nonshared11/thread.cc.jj 2014-05-15 15:53:13.153790805 +0200 +++ libstdc++-v3/src/nonshared11/thread.cc 2014-05-15 15:53:13.153790805 +0200 @@ -0,0 +1,122 @@ +// thread -*- C++ -*- + +// Copyright (C) 2008-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + + +#include +#include +#include +#include + +#if defined(_GLIBCXX_HAS_GTHREADS) && defined(_GLIBCXX_USE_C99_STDINT_TR1) + +#if defined(_GLIBCXX_USE_GET_NPROCS) +# include +# define _GLIBCXX_NPROCS get_nprocs() +#elif defined(_GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP) +# define _GLIBCXX_NPROCS pthread_num_processors_np() +#elif defined(_GLIBCXX_USE_SYSCTL_HW_NCPU) +# include +# include +static inline int get_nprocs() +{ + int count; + size_t size = sizeof(count); + int mib[] = { CTL_HW, HW_NCPU }; + if (!sysctl(mib, 2, &count, &size, NULL, 0)) + return count; + return 0; +} +# define _GLIBCXX_NPROCS get_nprocs() +#elif defined(_GLIBCXX_USE_SC_NPROCESSORS_ONLN) +# include +# define _GLIBCXX_NPROCS sysconf(_SC_NPROCESSORS_ONLN) +#elif defined(_GLIBCXX_USE_SC_NPROC_ONLN) +# include +# define _GLIBCXX_NPROCS sysconf(_SC_NPROC_ONLN) +#else +# define _GLIBCXX_NPROCS 0 +#endif + +#ifndef _GLIBCXX_USE_NANOSLEEP +# ifdef _GLIBCXX_HAVE_SLEEP +# include +# elif defined(_GLIBCXX_HAVE_WIN32_SLEEP) +# include +# else +# error "No sleep function known for this target" +# endif +#endif + +namespace std _GLIBCXX_VISIBILITY(default) +{ + unsigned int + thread::hardware_concurrency() noexcept + { + int __n = _GLIBCXX_NPROCS; + if (__n < 0) + __n = 0; + return __n; + } + +namespace this_thread +{ +_GLIBCXX_BEGIN_NAMESPACE_VERSION + + void + __sleep_for(chrono::seconds __s, chrono::nanoseconds __ns) + { +#ifdef _GLIBCXX_USE_NANOSLEEP + __gthread_time_t __ts = + { + static_cast(__s.count()), + static_cast(__ns.count()) + }; + ::nanosleep(&__ts, 0); +#elif defined(_GLIBCXX_HAVE_SLEEP) +# ifdef _GLIBCXX_HAVE_USLEEP + ::sleep(__s.count()); + if (__ns.count() > 0) + { + long __us = __ns.count() / 1000; + if (__us == 0) + __us = 1; + ::usleep(__us); + } +# else + ::sleep(__s.count() + (__ns >= 1000000)); +# endif +#elif defined(_GLIBCXX_HAVE_WIN32_SLEEP) + unsigned long ms = __ns.count() / 1000000; + if (__ns.count() > 0 && ms == 0) + ms = 1; + ::Sleep(chrono::milliseconds(__s).count() + ms); +#endif + } + +_GLIBCXX_END_NAMESPACE_VERSION +} + +} // namespace std + +#endif // _GLIBCXX_HAS_GTHREADS && _GLIBCXX_USE_C99_STDINT_TR1 --- libstdc++-v3/src/nonshared11/bad_array_length.cc.jj 2014-05-15 15:53:13.153790805 +0200 +++ libstdc++-v3/src/nonshared11/bad_array_length.cc 2014-05-15 15:53:13.153790805 +0200 @@ -0,0 +1,23 @@ +// Copyright (C) 2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include "../libsupc++/bad_array_length.cc" --- libstdc++-v3/src/nonshared98/hash_bytes.cc.jj 2014-05-15 15:53:13.154790876 +0200 +++ libstdc++-v3/src/nonshared98/hash_bytes.cc 2014-05-15 15:53:13.153790805 +0200 @@ -0,0 +1,23 @@ +// Copyright (C) 2012-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include "../libsupc++/hash_bytes.cc" --- libstdc++-v3/src/nonshared98/eh_alloc.cc.jj 2014-05-15 15:53:13.154790876 +0200 +++ libstdc++-v3/src/nonshared98/eh_alloc.cc 2014-05-15 15:53:13.154790876 +0200 @@ -0,0 +1,170 @@ +// -*- C++ -*- Allocate exception objects. +// Copyright (C) 2001-2014 Free Software Foundation, Inc. +// +// This file is part of GCC. +// +// GCC is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// GCC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +// This is derived from the C++ ABI for IA-64. Where we diverge +// for cross-architecture compatibility are noted with "@@@". + +#include +#include +#if _GLIBCXX_HOSTED +#include +#endif +#include +#include +#include "unwind-cxx.h" +#include + +#if _GLIBCXX_HOSTED +using std::free; +using std::malloc; +using std::memset; +#else +// In a freestanding environment, these functions may not be available +// -- but for now, we assume that they are. +extern "C" void *malloc (std::size_t); +extern "C" void free(void *); +extern "C" void *memset (void *, int, std::size_t); +#endif + +using namespace __cxxabiv1; + +// ??? How to control these parameters. + +// Guess from the size of basic types how large a buffer is reasonable. +// Note that the basic c++ exception header has 13 pointers and 2 ints, +// so on a system with PSImode pointers we're talking about 56 bytes +// just for overhead. + +#if INT_MAX == 32767 +# define EMERGENCY_OBJ_SIZE 128 +# define EMERGENCY_OBJ_COUNT 16 +#elif LONG_MAX == 2147483647 +# define EMERGENCY_OBJ_SIZE 512 +# define EMERGENCY_OBJ_COUNT 32 +#else +# define EMERGENCY_OBJ_SIZE 1024 +# define EMERGENCY_OBJ_COUNT 64 +#endif + +#ifndef __GTHREADS +# undef EMERGENCY_OBJ_COUNT +# define EMERGENCY_OBJ_COUNT 4 +#endif + +#if INT_MAX == 32767 || EMERGENCY_OBJ_COUNT <= 32 +typedef unsigned int bitmask_type; +#else +typedef unsigned long bitmask_type; +#endif + + +typedef char one_buffer[EMERGENCY_OBJ_SIZE] __attribute__((aligned)); + +static __cxa_dependent_exception dependents_buffer[EMERGENCY_OBJ_COUNT]; +static bitmask_type dependents_used; + +namespace +{ + // A single mutex controlling emergency allocations. + __gnu_cxx::__mutex emergency_mutex; +} + +extern "C" __cxa_dependent_exception* +__cxxabiv1::__cxa_allocate_dependent_exception() _GLIBCXX_NOTHROW +{ + __cxa_dependent_exception *ret; + + ret = static_cast<__cxa_dependent_exception*> + (malloc (sizeof (__cxa_dependent_exception))); + + if (!ret) + { + __gnu_cxx::__scoped_lock sentry(emergency_mutex); + + bitmask_type used = dependents_used; + unsigned int which = 0; + + while (used & 1) + { + used >>= 1; + if (++which >= EMERGENCY_OBJ_COUNT) + goto failed; + } + + dependents_used |= (bitmask_type)1 << which; + ret = &dependents_buffer[which]; + + failed:; + + if (!ret) + std::terminate (); + } + + // We have an uncaught exception as soon as we allocate memory. This + // yields uncaught_exception() true during the copy-constructor that + // initializes the exception object. See Issue 475. + __cxa_eh_globals *globals = __cxa_get_globals (); + globals->uncaughtExceptions += 1; + + memset (ret, 0, sizeof (__cxa_dependent_exception)); + + return ret; +} + + +extern "C" void +__cxxabiv1::__cxa_free_dependent_exception + (__cxa_dependent_exception *vptr) _GLIBCXX_NOTHROW +{ + char *base = (char *) dependents_buffer; + char *ptr = (char *) vptr; + if (ptr >= base + && ptr < base + sizeof (dependents_buffer)) + { + const unsigned int which + = (unsigned) (ptr - base) / sizeof (__cxa_dependent_exception); + + __gnu_cxx::__scoped_lock sentry(emergency_mutex); + dependents_used &= ~((bitmask_type)1 << which); + } + else + free (vptr); +} + +asm (".hidden _ZN9__gnu_cxx24__concurrence_lock_errorD0Ev"); +asm (".hidden _ZN9__gnu_cxx24__concurrence_lock_errorD1Ev"); +asm (".hidden _ZN9__gnu_cxx24__concurrence_lock_errorD2Ev"); +asm (".hidden _ZN9__gnu_cxx26__concurrence_unlock_errorD0Ev"); +asm (".hidden _ZN9__gnu_cxx26__concurrence_unlock_errorD1Ev"); +asm (".hidden _ZN9__gnu_cxx26__concurrence_unlock_errorD2Ev"); +asm (".hidden _ZN9__gnu_cxx30__throw_concurrence_lock_errorEv"); +asm (".hidden _ZN9__gnu_cxx32__throw_concurrence_unlock_errorEv"); +asm (".hidden _ZNK9__gnu_cxx24__concurrence_lock_error4whatEv"); +asm (".hidden _ZNK9__gnu_cxx26__concurrence_unlock_error4whatEv"); +asm (".hidden _ZTIN9__gnu_cxx24__concurrence_lock_errorE"); +asm (".hidden _ZTIN9__gnu_cxx26__concurrence_unlock_errorE"); +asm (".hidden _ZTSN9__gnu_cxx24__concurrence_lock_errorE"); +asm (".hidden _ZTSN9__gnu_cxx26__concurrence_unlock_errorE"); +asm (".hidden _ZTVN9__gnu_cxx24__concurrence_lock_errorE"); +asm (".hidden _ZTVN9__gnu_cxx26__concurrence_unlock_errorE"); --- libstdc++-v3/src/nonshared98/Makefile.am.jj 2014-05-15 15:53:13.154790876 +0200 +++ libstdc++-v3/src/nonshared98/Makefile.am 2014-05-15 16:13:11.424425297 +0200 @@ -0,0 +1,127 @@ +## Makefile for the C++03 sources of the GNU C++ Standard library. +## +## Copyright (C) 1997-2014 Free Software Foundation, Inc. +## +## This file is part of the libstdc++ version 3 distribution. +## Process this file with automake to produce Makefile.in. + +## This file is part of the GNU ISO C++ Library. This library is free +## software; you can redistribute it and/or modify it under the +## terms of the GNU General Public License as published by the +## Free Software Foundation; either version 3, or (at your option) +## any later version. + +## This library is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. + +## You should have received a copy of the GNU General Public License along +## with this library; see the file COPYING3. If not see +## . + +include $(top_srcdir)/fragment.am + +# Convenience library for C++98 runtime. +noinst_LTLIBRARIES = libnonshared98convenience44.la \ + libnonshared98convenience48.la + +headers = + +# Source files linked in via configuration/make substitution for a +# particular host, but with ad hoc naming rules. +host_sources_extra = \ + basic_file.cc c++locale.cc \ + ${ldbl_compat_sources} ${parallel_sources} + +parallel_sources44 = list_associated-2.cc + +if ENABLE_EXTERN_TEMPLATE +# XTEMPLATE_FLAGS = -fno-implicit-templates +inst_sources = \ + snprintf_lite-inst.cc +inst_sources44 = \ + locale-inst.cc \ + wlocale-inst.cc \ + sstream-inst.cc \ + streambuf-inst.cc +else +# XTEMPLATE_FLAGS = +inst_sources = +inst_sources44 = +endif + +# Sources present in the src directory, always present. +sources = \ + ${inst_sources} +sources44 = \ + list-aux-2.cc \ + decimal-rtti.S \ + nullptr-rtti.S \ + int128.S \ + compatibility-debug_list-2.cc \ + list.cc \ + hash_bytes.cc \ + stdexcept.cc \ + eh_alloc.cc \ + eh_tm.cc \ + pure.cc \ + ${parallel_sources44} \ + ${inst_sources44} +sources48 = + +vpath % $(top_srcdir)/src/nonshared98 +vpath % $(top_srcdir) + +libnonshared98convenience44_la_SOURCES = $(sources) $(sources44) +libnonshared98convenience48_la_SOURCES = $(sources) $(sources48) + +# AM_CXXFLAGS needs to be in each subdirectory so that it can be +# modified in a per-library or per-sub-library way. Need to manually +# set this option because CONFIG_CXXFLAGS has to be after +# OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden +# as the occasion calls for it. +AM_CXXFLAGS = \ + $(glibcxx_lt_pic_flag) $(glibcxx_compiler_shared_flag) \ + $(XTEMPLATE_FLAGS) $(VTV_CXXFLAGS) \ + $(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS) + +AM_MAKEFLAGS = \ + "gxx_include_dir=$(gxx_include_dir)" + +# Libtool notes + +# 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is +# last. (That way, things like -O2 passed down from the toplevel can +# be overridden by --enable-debug.) + +# 2) In general, libtool expects an argument such as `--tag=CXX' when +# using the C++ compiler, because that will enable the settings +# detected when C++ support was being configured. However, when no +# such flag is given in the command line, libtool attempts to figure +# it out by matching the compiler name in each configuration section +# against a prefix of the command line. The problem is that, if the +# compiler name and its initial flags stored in the libtool +# configuration file don't match those in the command line, libtool +# can't decide which configuration to use, and it gives up. The +# correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe +# CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to +# attempt to infer which configuration to use. +# We have to put --tag disable-shared after --tag CXX lest things +# CXX undo the affect of disable-shared. +LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared $(LIBTOOLFLAGS) \ + --mode=compile $(CXX) $(TOPLEVEL_INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(EXTRA_CXX_FLAGS) + +LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) + +# 3) We'd have a problem when building the shared libstdc++ object if +# the rules automake generates would be used. We cannot allow g++ to +# be used since this would add -lstdc++ to the link line which of +# course is problematic at this point. So, we get the top-level +# directory to configure libstdc++-v3 to use gcc as the C++ +# compilation driver. +CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared $(LIBTOOLFLAGS) \ + --mode=link $(CXX) \ + $(VTV_CXXLINKFLAGS) \ + $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ --- libstdc++-v3/src/nonshared98/sstream-inst.cc.jj 2014-05-15 15:53:13.154790876 +0200 +++ libstdc++-v3/src/nonshared98/sstream-inst.cc 2014-05-15 15:53:13.154790876 +0200 @@ -0,0 +1,39 @@ +// Explicit instantiation file. + +// Copyright (C) 1997-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +// +// ISO C++ 14882: +// + +#include + +namespace std _GLIBCXX_VISIBILITY(default) +{ + template void basic_stringbuf::_M_pbump(char_type*, char_type*, off_type); + +#ifdef _GLIBCXX_USE_WCHAR_T + template void basic_stringbuf::_M_pbump(char_type*, char_type*, off_type); +#endif + +} // namespace --- libstdc++-v3/src/nonshared98/eh_tm.cc.jj 2014-05-15 15:53:13.154790876 +0200 +++ libstdc++-v3/src/nonshared98/eh_tm.cc 2014-05-15 15:53:13.154790876 +0200 @@ -0,0 +1,23 @@ +// Copyright (C) 2012-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include "../libsupc++/eh_tm.cc" --- libstdc++-v3/src/nonshared98/pure.cc.jj 2014-05-15 15:53:13.154790876 +0200 +++ libstdc++-v3/src/nonshared98/pure.cc 2014-05-15 15:53:13.154790876 +0200 @@ -0,0 +1,51 @@ +// -*- C++ -*- +// Copyright (C) 2000-2014 Free Software Foundation +// +// This file is part of GCC. +// +// GCC is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// GCC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include +#include +#include "unwind-cxx.h" + +#if _GLIBCXX_HOSTED +#ifdef _GLIBCXX_HAVE_UNISTD_H +# include +# define writestr(str) write(2, str, sizeof(str) - 1) +# ifdef __GNU_LIBRARY__ + /* Avoid forcing the library's meaning of `write' on the user program + by using the "internal" name (for use within the library). */ +/*# define write(fd, buf, n) __write((fd), (buf), (n))*/ +# endif +#else +# include +# define writestr(str) std::fputs(str, stderr) +#endif +#else +# define writestr(str) /* Empty */ +#endif + +extern "C" void +__cxxabiv1::__cxa_deleted_virtual (void) +{ + writestr ("deleted virtual method called\n"); + std::terminate (); +} --- libstdc++-v3/src/nonshared98/locale-inst.cc.jj 2014-05-15 15:53:13.154790876 +0200 +++ libstdc++-v3/src/nonshared98/locale-inst.cc 2014-05-15 15:53:13.154790876 +0200 @@ -0,0 +1,39 @@ +// Copyright (C) 2012-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include + +#ifndef C +# define C char +#endif + +namespace std _GLIBCXX_VISIBILITY(default) +{ + + typedef time_get S; + + template + S::iter_type S::_M_extract_wday_or_month(iter_type, iter_type, int&, + const C **, size_t, ios_base&, + ios_base::iostate&) const; + +} --- libstdc++-v3/src/nonshared98/list-aux-2.cc.jj 2014-05-15 15:53:13.155790942 +0200 +++ libstdc++-v3/src/nonshared98/list-aux-2.cc 2014-05-15 15:53:13.155790942 +0200 @@ -0,0 +1,56 @@ +// Copyright (C) 2012-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +extern "C" +{ + extern void _ZNSt15_List_node_base8transferEPS_S0_(void *f, void *l) throw(); + + void + _ZNSt15_List_node_base11_M_transferEPS_S0_(void *f, void *l) throw() + { + _ZNSt15_List_node_base8transferEPS_S0_(f, l); + } + + extern void _ZNSt15_List_node_base7reverseEv() throw(); + + void + _ZNSt15_List_node_base10_M_reverseEv() throw() + { + _ZNSt15_List_node_base7reverseEv(); + } + + extern void _ZNSt15_List_node_base4hookEPS_(void *p) throw(); + + void + _ZNSt15_List_node_base7_M_hookEPS_(void *p) throw() + { + _ZNSt15_List_node_base4hookEPS_(p); + } + + extern void _ZNSt15_List_node_base6unhookEv() throw(); + + void + _ZNSt15_List_node_base9_M_unhookEv() throw() + { + _ZNSt15_List_node_base6unhookEv(); + } +} --- libstdc++-v3/src/nonshared98/decimal-rtti.S.jj 2014-05-15 15:53:13.155790942 +0200 +++ libstdc++-v3/src/nonshared98/decimal-rtti.S 2014-05-15 15:53:13.155790942 +0200 @@ -0,0 +1,266 @@ +/* Copyright (C) 2012-2014 Free Software Foundation, Inc. + + This file is part of the GNU ISO C++ Library. This library is free + software; you can redistribute it and/or modify it under the + terms of the GNU General Public License as published by the + Free Software Foundation; either version 3, or (at your option) + any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + Under Section 7 of GPL version 3, you are granted additional + permissions described in the GCC Runtime Library Exception, version + 3.1, as published by the Free Software Foundation. + + You should have received a copy of the GNU General Public License and + a copy of the GCC Runtime Library Exception along with this program; + see the files COPYING3 and COPYING.RUNTIME respectively. If not, see + . */ + +#if defined __x86_64__ || defined __powerpc64__ || defined __s390x__ || defined __ia64__ \ + || defined __i386__ || defined __powerpc__ || defined __s390__ +#ifdef __i386__ +#define ALIGN1 .align 4 +#elif defined __x86_64__ +#define ALIGN1 .align 32 +#define ALIGN2 .align 16 +#elif defined __ia64__ +#define SYM(x)x# +#define ALIGN1 .align 8 +#define ALIGN3 .align 8 +#define SECTION3(x).section .gnu.linkonce.s.x,"aws",@progbits +#define POINTER data8 +#define FLAGS data4 +#define PAD .skip 4 +#define STRING stringz +#elif defined __powerpc64__ +#define ALIGN1 .align 3 +#define ALIGN3 .align 3 +#elif defined __powerpc__ +#define ALIGN1 .align 2 +#define ALIGN3 .align 2 +#define SECTION2(x).section .gnu.linkonce.s.x,"aw",@progbits +#define SECTION3(x)SECTION2(x) +#elif defined __s390x__ +#define ALIGN1 .align 8 +#define ALIGN3 .align 2 +#elif defined __s390__ +#define ALIGN1 .align 4 +#define ALIGN3 .align 2 +#endif +#if defined __x86_64__ || defined __powerpc64__ || defined __s390x__ || defined __ia64__ +#define SIZE1 32 +#define SIZE2 16 +#define OFF 16 +#ifndef POINTER +#define POINTER .quad +#endif +#ifndef FLAGS +#define FLAGS .long +#endif +#ifndef PAD +#define PAD .zero 4 +#endif +#else +#define SIZE1 16 +#define SIZE2 8 +#define OFF 8 +#ifndef POINTER +#define POINTER .long +#endif +#ifndef FLAGS +#define FLAGS .long +#endif +#ifndef PAD +#define PAD +#endif +#endif +#ifndef SYM +#define SYM(x)x +#endif +#ifndef ALIGN2 +#define ALIGN2 ALIGN1 +#endif +#ifndef ALIGN3 +#define ALIGN3 +#endif +#ifndef SECTION1 +#define SECTION1(x).section .gnu.linkonce.d.rel.ro.x,"aw",@progbits +#endif +#ifndef SECTION2 +#define SECTION2(x)SECTION1(x) +#endif +#ifndef SECTION3 +#define SECTION3(x).section .gnu.linkonce.r.x,"a",@progbits +#endif +#ifndef STRING +#define STRING .string +#endif + + .weak SYM(_ZTIPKDd) + SECTION1(_ZTIPKDd) + ALIGN1 + .type SYM(_ZTIPKDd), @object + .size SYM(_ZTIPKDd), SIZE1 +_ZTIPKDd: + POINTER SYM(_ZTVN10__cxxabiv119__pointer_type_infoE)+OFF + POINTER SYM(_ZTSPKDd) + FLAGS 1 + PAD + POINTER SYM(_ZTIDd) + .weak SYM(_ZTIPDd) + SECTION1(_ZTIPDd) + ALIGN1 + .type SYM(_ZTIPDd), @object + .size SYM(_ZTIPDd), SIZE1 +_ZTIPDd: + POINTER SYM(_ZTVN10__cxxabiv119__pointer_type_infoE)+OFF + POINTER SYM(_ZTSPDd) + FLAGS 0 + PAD + POINTER SYM(_ZTIDd) + .weak SYM(_ZTIDd) + SECTION2(_ZTIDd) + ALIGN2 + .type SYM(_ZTIDd), @object + .size SYM(_ZTIDd), SIZE2 +_ZTIDd: + POINTER SYM(_ZTVN10__cxxabiv123__fundamental_type_infoE)+OFF + POINTER SYM(_ZTSDd) + .weak SYM(_ZTIPKDe) + SECTION1(_ZTIPKDe) + ALIGN1 + .type SYM(_ZTIPKDe), @object + .size SYM(_ZTIPKDe), SIZE1 +_ZTIPKDe: + POINTER SYM(_ZTVN10__cxxabiv119__pointer_type_infoE)+OFF + POINTER SYM(_ZTSPKDe) + FLAGS 1 + PAD + POINTER SYM(_ZTIDe) + .weak SYM(_ZTIPDe) + SECTION1(_ZTIPDe) + ALIGN1 + .type SYM(_ZTIPDe), @object + .size SYM(_ZTIPDe), SIZE1 +_ZTIPDe: + POINTER SYM(_ZTVN10__cxxabiv119__pointer_type_infoE)+OFF + POINTER SYM(_ZTSPDe) + FLAGS 0 + PAD + POINTER SYM(_ZTIDe) + .weak SYM(_ZTIDe) + SECTION2(_ZTIDe) + ALIGN2 + .type SYM(_ZTIDe), @object + .size SYM(_ZTIDe), SIZE2 +_ZTIDe: + POINTER SYM(_ZTVN10__cxxabiv123__fundamental_type_infoE)+OFF + POINTER SYM(_ZTSDe) + .weak SYM(_ZTIPKDf) + SECTION1(_ZTIPKDf) + ALIGN1 + .type SYM(_ZTIPKDf), @object + .size SYM(_ZTIPKDf), SIZE1 +_ZTIPKDf: + POINTER SYM(_ZTVN10__cxxabiv119__pointer_type_infoE)+OFF + POINTER SYM(_ZTSPKDf) + FLAGS 1 + PAD + POINTER SYM(_ZTIDf) + .weak SYM(_ZTIPDf) + SECTION1(_ZTIPDf) + ALIGN1 + .type SYM(_ZTIPDf), @object + .size SYM(_ZTIPDf), SIZE1 +_ZTIPDf: + POINTER SYM(_ZTVN10__cxxabiv119__pointer_type_infoE)+OFF + POINTER SYM(_ZTSPDf) + FLAGS 0 + PAD + POINTER SYM(_ZTIDf) + .weak SYM(_ZTIDf) + SECTION2(_ZTIDf) + ALIGN2 + .type SYM(_ZTIDf), @object + .size SYM(_ZTIDf), SIZE2 +_ZTIDf: + POINTER SYM(_ZTVN10__cxxabiv123__fundamental_type_infoE)+OFF + POINTER SYM(_ZTSDf) + .weak SYM(_ZTSPKDd) + .hidden SYM(_ZTSPKDd) + SECTION3(_ZTSPKDd) + ALIGN3 + .type SYM(_ZTSPKDd), @object + .size SYM(_ZTSPKDd), 5 +_ZTSPKDd: + STRING "PKDd" + .weak SYM(_ZTSPDd) + .hidden SYM(_ZTSPDd) + SECTION3(_ZTSPDd) + ALIGN3 + .type SYM(_ZTSPDd), @object + .size SYM(_ZTSPDd), 4 +_ZTSPDd: + STRING "PDd" + .weak SYM(_ZTSDd) + .hidden SYM(_ZTSDd) + SECTION3(_ZTSDd) + ALIGN3 + .type SYM(_ZTSDd), @object + .size SYM(_ZTSDd), 3 +_ZTSDd: + STRING "Dd" + .weak SYM(_ZTSPKDe) + .hidden SYM(_ZTSPKDe) + SECTION3(_ZTSPKDe) + ALIGN3 + .type SYM(_ZTSPKDe), @object + .size SYM(_ZTSPKDe), 5 +_ZTSPKDe: + STRING "PKDe" + .weak SYM(_ZTSPDe) + .hidden SYM(_ZTSPDe) + SECTION3(_ZTSPDe) + ALIGN3 + .type SYM(_ZTSPDe), @object + .size SYM(_ZTSPDe), 4 +_ZTSPDe: + STRING "PDe" + .weak SYM(_ZTSDe) + .hidden SYM(_ZTSDe) + SECTION3(_ZTSDe) + ALIGN3 + .type SYM(_ZTSDe), @object + .size SYM(_ZTSDe), 3 +_ZTSDe: + STRING "De" + .weak SYM(_ZTSPKDf) + .hidden SYM(_ZTSPKDf) + SECTION3(_ZTSPKDf) + ALIGN3 + .type SYM(_ZTSPKDf), @object + .size SYM(_ZTSPKDf), 5 +_ZTSPKDf: + STRING "PKDf" + .weak SYM(_ZTSPDf) + .hidden SYM(_ZTSPDf) + SECTION3(_ZTSPDf) + ALIGN3 + .type SYM(_ZTSPDf), @object + .size SYM(_ZTSPDf), 4 +_ZTSPDf: + STRING "PDf" + .weak SYM(_ZTSDf) + .hidden SYM(_ZTSDf) + SECTION3(_ZTSDf) + ALIGN3 + .type SYM(_ZTSDf), @object + .size SYM(_ZTSDf), 3 +_ZTSDf: + STRING "Df" +#endif + .section .note.GNU-stack,"",@progbits --- libstdc++-v3/src/nonshared98/Makefile.in.jj 2014-05-15 15:53:13.155790942 +0200 +++ libstdc++-v3/src/nonshared98/Makefile.in 2014-05-15 16:13:18.904386894 +0200 @@ -0,0 +1,688 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +target_triplet = @target@ +DIST_COMMON = $(top_srcdir)/fragment.am $(srcdir)/Makefile.in \ + $(srcdir)/Makefile.am +subdir = src/nonshared98 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \ + $(top_srcdir)/../config/enable.m4 \ + $(top_srcdir)/../config/futex.m4 \ + $(top_srcdir)/../config/iconv.m4 \ + $(top_srcdir)/../config/lead-dot.m4 \ + $(top_srcdir)/../config/lib-ld.m4 \ + $(top_srcdir)/../config/lib-link.m4 \ + $(top_srcdir)/../config/lib-prefix.m4 \ + $(top_srcdir)/../config/lthostflags.m4 \ + $(top_srcdir)/../config/multi.m4 \ + $(top_srcdir)/../config/no-executables.m4 \ + $(top_srcdir)/../config/override.m4 \ + $(top_srcdir)/../config/stdint.m4 \ + $(top_srcdir)/../config/unwind_ipinfo.m4 \ + $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \ + $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \ + $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/crossconfig.m4 \ + $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/../config/gc++filt.m4 \ + $(top_srcdir)/../config/tls.m4 $(top_srcdir)/../config/gthr.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +LTLIBRARIES = $(noinst_LTLIBRARIES) +libnonshared98convenience44_la_LIBADD = +@ENABLE_EXTERN_TEMPLATE_TRUE@am__objects_1 = snprintf_lite-inst.lo +am__objects_2 = $(am__objects_1) +am__objects_3 = list_associated-2.lo +@ENABLE_EXTERN_TEMPLATE_TRUE@am__objects_4 = locale-inst.lo \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ wlocale-inst.lo sstream-inst.lo \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ streambuf-inst.lo +am__objects_5 = list-aux-2.lo decimal-rtti.lo nullptr-rtti.lo \ + int128.lo compatibility-debug_list-2.lo list.lo hash_bytes.lo \ + stdexcept.lo eh_alloc.lo eh_tm.lo pure.lo $(am__objects_3) \ + $(am__objects_4) +am_libnonshared98convenience44_la_OBJECTS = $(am__objects_2) \ + $(am__objects_5) +libnonshared98convenience44_la_OBJECTS = \ + $(am_libnonshared98convenience44_la_OBJECTS) +libnonshared98convenience48_la_LIBADD = +am__objects_6 = +am_libnonshared98convenience48_la_OBJECTS = $(am__objects_2) \ + $(am__objects_6) +libnonshared98convenience48_la_OBJECTS = \ + $(am_libnonshared98convenience48_la_OBJECTS) +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = +am__depfiles_maybe = +CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS) +LTCPPASCOMPILE = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=compile $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS) +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +CXXLD = $(CXX) +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ +SOURCES = $(libnonshared98convenience44_la_SOURCES) \ + $(libnonshared98convenience48_la_SOURCES) +ETAGS = etags +CTAGS = ctags +ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@ +ACLOCAL = @ACLOCAL@ +ALLOCATOR_H = @ALLOCATOR_H@ +ALLOCATOR_NAME = @ALLOCATOR_NAME@ +AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ +ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@ +ATOMIC_FLAGS = @ATOMIC_FLAGS@ +ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +BASIC_FILE_CC = @BASIC_FILE_CC@ +BASIC_FILE_H = @BASIC_FILE_H@ +CC = @CC@ +CCAS = @CCAS@ +CCASFLAGS = @CCASFLAGS@ +CCODECVT_CC = @CCODECVT_CC@ +CCOLLATE_CC = @CCOLLATE_CC@ +CCTYPE_CC = @CCTYPE_CC@ +CFLAGS = @CFLAGS@ +CLOCALE_CC = @CLOCALE_CC@ +CLOCALE_H = @CLOCALE_H@ +CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@ +CMESSAGES_CC = @CMESSAGES_CC@ +CMESSAGES_H = @CMESSAGES_H@ +CMONEY_CC = @CMONEY_CC@ +CNUMERIC_CC = @CNUMERIC_CC@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@ +CPU_OPT_BITS_RANDOM = @CPU_OPT_BITS_RANDOM@ +CPU_OPT_EXT_RANDOM = @CPU_OPT_EXT_RANDOM@ +CSTDIO_H = @CSTDIO_H@ +CTIME_CC = @CTIME_CC@ +CTIME_H = @CTIME_H@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXFILT = @CXXFILT@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +C_INCLUDE_DIR = @C_INCLUDE_DIR@ +DBLATEX = @DBLATEX@ +DEBUG_FLAGS = @DEBUG_FLAGS@ +DEFS = @DEFS@ +DOT = @DOT@ +DOXYGEN = @DOXYGEN@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@ +EXEEXT = @EXEEXT@ +EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@ +FGREP = @FGREP@ +GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@ +GLIBCXX_LIBS = @GLIBCXX_LIBS@ +GREP = @GREP@ +HWCAP_FLAGS = @HWCAP_FLAGS@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBICONV = @LTLIBICONV@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@ +OPT_LDFLAGS = @OPT_LDFLAGS@ +OS_INC_SRCDIR = @OS_INC_SRCDIR@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PDFLATEX = @PDFLATEX@ +RANLIB = @RANLIB@ +SECTION_FLAGS = @SECTION_FLAGS@ +SECTION_LDFLAGS = @SECTION_LDFLAGS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +SYMVER_FILE = @SYMVER_FILE@ +TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +VTV_CXXFLAGS = @VTV_CXXFLAGS@ +VTV_CXXLINKFLAGS = @VTV_CXXLINKFLAGS@ +VTV_PCH_CXXFLAGS = @VTV_PCH_CXXFLAGS@ +WARN_FLAGS = @WARN_FLAGS@ +WERROR = @WERROR@ +XMLLINT = @XMLLINT@ +XSLTPROC = @XSLTPROC@ +XSL_STYLE_DIR = @XSL_STYLE_DIR@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__leading_dot = @am__leading_dot@ +am__tar = @am__tar@ +am__untar = @am__untar@ +baseline_dir = @baseline_dir@ +baseline_subdir_switch = @baseline_subdir_switch@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +check_msgfmt = @check_msgfmt@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +enable_shared = @enable_shared@ +enable_static = @enable_static@ +exec_prefix = @exec_prefix@ +glibcxx_MOFILES = @glibcxx_MOFILES@ +glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@ +glibcxx_POFILES = @glibcxx_POFILES@ +glibcxx_builddir = @glibcxx_builddir@ +glibcxx_compiler_pic_flag = @glibcxx_compiler_pic_flag@ +glibcxx_compiler_shared_flag = @glibcxx_compiler_shared_flag@ +glibcxx_localedir = @glibcxx_localedir@ +glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@ +glibcxx_prefixdir = @glibcxx_prefixdir@ +glibcxx_srcdir = @glibcxx_srcdir@ +glibcxx_toolexecdir = @glibcxx_toolexecdir@ +glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@ +gxx_include_dir = @gxx_include_dir@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +libtool_VERSION = @libtool_VERSION@ +localedir = @localedir@ +localstatedir = @localstatedir@ +lt_host_flags = @lt_host_flags@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +multi_basedir = @multi_basedir@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +port_specific_symbol_files = @port_specific_symbol_files@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +python_mod_dir = @python_mod_dir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ +thread_header = @thread_header@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +toplevel_builddir = @toplevel_builddir@ +toplevel_srcdir = @toplevel_srcdir@ + +# May be used by various substitution variables. +gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER) +MAINT_CHARSET = latin1 +mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs +PWD_COMMAND = $${PWDCMD-pwd} +STAMP = echo timestamp > +toolexecdir = $(glibcxx_toolexecdir) +toolexeclibdir = $(glibcxx_toolexeclibdir) +@ENABLE_WERROR_FALSE@WERROR_FLAG = +@ENABLE_WERROR_TRUE@WERROR_FLAG = $(WERROR) +@ENABLE_EXTERN_TEMPLATE_FALSE@XTEMPLATE_FLAGS = +@ENABLE_EXTERN_TEMPLATE_TRUE@XTEMPLATE_FLAGS = -fno-implicit-templates + +# These bits are all figured out from configure. Look in acinclude.m4 +# or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS. +CONFIG_CXXFLAGS = \ + $(SECTION_FLAGS) $(HWCAP_FLAGS) -frandom-seed=$@ + +WARN_CXXFLAGS = \ + $(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once + + +# -I/-D flags to pass when compiling. +AM_CPPFLAGS = $(GLIBCXX_INCLUDES) + +# Convenience library for C++98 runtime. +noinst_LTLIBRARIES = libnonshared98convenience44.la \ + libnonshared98convenience48.la + +headers = + +# Source files linked in via configuration/make substitution for a +# particular host, but with ad hoc naming rules. +host_sources_extra = \ + basic_file.cc c++locale.cc \ + ${ldbl_compat_sources} ${parallel_sources} + +parallel_sources44 = list_associated-2.cc +# XTEMPLATE_FLAGS = +@ENABLE_EXTERN_TEMPLATE_FALSE@inst_sources = + +# XTEMPLATE_FLAGS = -fno-implicit-templates +@ENABLE_EXTERN_TEMPLATE_TRUE@inst_sources = \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ snprintf_lite-inst.cc + +@ENABLE_EXTERN_TEMPLATE_FALSE@inst_sources44 = +@ENABLE_EXTERN_TEMPLATE_TRUE@inst_sources44 = \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ locale-inst.cc \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ wlocale-inst.cc \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ sstream-inst.cc \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ streambuf-inst.cc + + +# Sources present in the src directory, always present. +sources = \ + ${inst_sources} + +sources44 = \ + list-aux-2.cc \ + decimal-rtti.S \ + nullptr-rtti.S \ + int128.S \ + compatibility-debug_list-2.cc \ + list.cc \ + hash_bytes.cc \ + stdexcept.cc \ + eh_alloc.cc \ + eh_tm.cc \ + pure.cc \ + ${parallel_sources44} \ + ${inst_sources44} + +sources48 = +libnonshared98convenience44_la_SOURCES = $(sources) $(sources44) +libnonshared98convenience48_la_SOURCES = $(sources) $(sources48) + +# AM_CXXFLAGS needs to be in each subdirectory so that it can be +# modified in a per-library or per-sub-library way. Need to manually +# set this option because CONFIG_CXXFLAGS has to be after +# OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden +# as the occasion calls for it. +AM_CXXFLAGS = \ + $(glibcxx_lt_pic_flag) $(glibcxx_compiler_shared_flag) \ + $(XTEMPLATE_FLAGS) $(VTV_CXXFLAGS) \ + $(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS) + +AM_MAKEFLAGS = \ + "gxx_include_dir=$(gxx_include_dir)" + + +# Libtool notes + +# 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is +# last. (That way, things like -O2 passed down from the toplevel can +# be overridden by --enable-debug.) + +# 2) In general, libtool expects an argument such as `--tag=CXX' when +# using the C++ compiler, because that will enable the settings +# detected when C++ support was being configured. However, when no +# such flag is given in the command line, libtool attempts to figure +# it out by matching the compiler name in each configuration section +# against a prefix of the command line. The problem is that, if the +# compiler name and its initial flags stored in the libtool +# configuration file don't match those in the command line, libtool +# can't decide which configuration to use, and it gives up. The +# correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe +# CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to +# attempt to infer which configuration to use. +# We have to put --tag disable-shared after --tag CXX lest things +# CXX undo the affect of disable-shared. +LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared $(LIBTOOLFLAGS) \ + --mode=compile $(CXX) $(TOPLEVEL_INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(EXTRA_CXX_FLAGS) + +LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) + +# 3) We'd have a problem when building the shared libstdc++ object if +# the rules automake generates would be used. We cannot allow g++ to +# be used since this would add -lstdc++ to the link line which of +# course is problematic at this point. So, we get the top-level +# directory to configure libstdc++-v3 to use gcc as the C++ +# compilation driver. +CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared $(LIBTOOLFLAGS) \ + --mode=link $(CXX) \ + $(VTV_CXXLINKFLAGS) \ + $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ + +all: all-am + +.SUFFIXES: +.SUFFIXES: .S .cc .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps src/nonshared98/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign --ignore-deps src/nonshared98/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +clean-noinstLTLIBRARIES: + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) + @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +libnonshared98convenience44.la: $(libnonshared98convenience44_la_OBJECTS) $(libnonshared98convenience44_la_DEPENDENCIES) + $(CXXLINK) $(libnonshared98convenience44_la_OBJECTS) $(libnonshared98convenience44_la_LIBADD) $(LIBS) +libnonshared98convenience48.la: $(libnonshared98convenience48_la_OBJECTS) $(libnonshared98convenience48_la_DEPENDENCIES) + $(CXXLINK) $(libnonshared98convenience48_la_OBJECTS) $(libnonshared98convenience48_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +.S.o: + $(CPPASCOMPILE) -c -o $@ $< + +.S.obj: + $(CPPASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.S.lo: + $(LTCPPASCOMPILE) -c -o $@ $< + +.cc.o: + $(CXXCOMPILE) -c -o $@ $< + +.cc.obj: + $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.cc.lo: + $(LTCXXCOMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ + clean-libtool clean-noinstLTLIBRARIES ctags distclean \ + distclean-compile distclean-generic distclean-libtool \ + distclean-tags dvi dvi-am html html-am info info-am install \ + install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ + pdf pdf-am ps ps-am tags uninstall uninstall-am + + +vpath % $(top_srcdir)/src/nonshared98 +vpath % $(top_srcdir) + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: --- libstdc++-v3/src/nonshared98/stdexcept.cc.jj 2014-05-15 15:53:13.155790942 +0200 +++ libstdc++-v3/src/nonshared98/stdexcept.cc 2014-05-15 15:53:13.155790942 +0200 @@ -0,0 +1,44 @@ +// Copyright (C) 2012-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#ifdef __ARM_EABI__ +#define RET const void * +#else +#define RET void +#endif +#define BASE_DTOR(name) \ +extern RET _ZN##name##D1Ev (const void *t); \ +RET _ZN##name##D2Ev (const void *t) \ +{ \ + return _ZN##name##D1Ev (t); \ +} \ + +extern "C" +{ + BASE_DTOR (St11range_error) + BASE_DTOR (St12domain_error) + BASE_DTOR (St12length_error) + BASE_DTOR (St12out_of_range) + BASE_DTOR (St14overflow_error) + BASE_DTOR (St15underflow_error) + BASE_DTOR (St16invalid_argument) +} --- libstdc++-v3/src/nonshared98/nullptr-rtti.S.jj 2014-05-15 15:53:13.156791007 +0200 +++ libstdc++-v3/src/nonshared98/nullptr-rtti.S 2014-05-15 15:53:13.155790942 +0200 @@ -0,0 +1,158 @@ +/* Copyright (C) 2012-2014 Free Software Foundation, Inc. + + This file is part of the GNU ISO C++ Library. This library is free + software; you can redistribute it and/or modify it under the + terms of the GNU General Public License as published by the + Free Software Foundation; either version 3, or (at your option) + any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + Under Section 7 of GPL version 3, you are granted additional + permissions described in the GCC Runtime Library Exception, version + 3.1, as published by the Free Software Foundation. + + You should have received a copy of the GNU General Public License and + a copy of the GCC Runtime Library Exception along with this program; + see the files COPYING3 and COPYING.RUNTIME respectively. If not, see + . */ + +#if defined __x86_64__ || defined __powerpc64__ || defined __s390x__ || defined __ia64__ \ + || defined __i386__ || defined __powerpc__ || defined __s390__ +#ifdef __i386__ +#define ALIGN1 .align 4 +#elif defined __x86_64__ +#define ALIGN1 .align 32 +#define ALIGN2 .align 16 +#elif defined __ia64__ +#define SYM(x)x# +#define ALIGN1 .align 8 +#define ALIGN3 .align 8 +#define SECTION3(x).section .gnu.linkonce.s.x,"aws",@progbits +#define POINTER data8 +#define FLAGS data4 +#define PAD .skip 4 +#define STRING stringz +#elif defined __powerpc64__ +#define ALIGN1 .align 3 +#define ALIGN3 .align 3 +#elif defined __powerpc__ +#define ALIGN1 .align 2 +#define ALIGN3 .align 2 +#define SECTION2(x).section .gnu.linkonce.s.x,"aw",@progbits +#define SECTION3(x)SECTION2(x) +#elif defined __s390x__ +#define ALIGN1 .align 8 +#define ALIGN3 .align 2 +#elif defined __s390__ +#define ALIGN1 .align 4 +#define ALIGN3 .align 2 +#endif +#if defined __x86_64__ || defined __powerpc64__ || defined __s390x__ || defined __ia64__ +#define SIZE1 32 +#define SIZE2 16 +#define OFF 16 +#ifndef POINTER +#define POINTER .quad +#endif +#ifndef FLAGS +#define FLAGS .long +#endif +#ifndef PAD +#define PAD .zero 4 +#endif +#else +#define SIZE1 16 +#define SIZE2 8 +#define OFF 8 +#ifndef POINTER +#define POINTER .long +#endif +#ifndef FLAGS +#define FLAGS .long +#endif +#ifndef PAD +#define PAD +#endif +#endif +#ifndef SYM +#define SYM(x)x +#endif +#ifndef ALIGN2 +#define ALIGN2 ALIGN1 +#endif +#ifndef ALIGN3 +#define ALIGN3 +#endif +#ifndef SECTION1 +#define SECTION1(x).section .gnu.linkonce.d.rel.ro.x,"aw",@progbits +#endif +#ifndef SECTION2 +#define SECTION2(x)SECTION1(x) +#endif +#ifndef SECTION3 +#define SECTION3(x).section .gnu.linkonce.r.x,"a",@progbits +#endif +#ifndef STRING +#define STRING .string +#endif + + .weak SYM(_ZTIPKDn) + SECTION1(_ZTIPKDn) + ALIGN1 + .type SYM(_ZTIPKDn), @object + .size SYM(_ZTIPKDn), SIZE1 +_ZTIPKDn: + POINTER SYM(_ZTVN10__cxxabiv119__pointer_type_infoE)+OFF + POINTER SYM(_ZTSPKDn) + FLAGS 1 + PAD + POINTER SYM(_ZTIDn) + .weak SYM(_ZTIPDn) + SECTION1(_ZTIPDn) + ALIGN1 + .type SYM(_ZTIPDn), @object + .size SYM(_ZTIPDn), SIZE1 +_ZTIPDn: + POINTER SYM(_ZTVN10__cxxabiv119__pointer_type_infoE)+OFF + POINTER SYM(_ZTSPDn) + FLAGS 0 + PAD + POINTER SYM(_ZTIDn) + .weak SYM(_ZTIDn) + SECTION2(_ZTIDn) + ALIGN2 + .type SYM(_ZTIDn), @object + .size SYM(_ZTIDn), SIZE2 +_ZTIDn: + POINTER SYM(_ZTVN10__cxxabiv123__fundamental_type_infoE)+OFF + POINTER SYM(_ZTSDn) + .weak SYM(_ZTSPKDn) + .hidden SYM(_ZTSPKDn) + SECTION3(_ZTSPKDn) + ALIGN3 + .type SYM(_ZTSPKDn), @object + .size SYM(_ZTSPKDn), 5 +_ZTSPKDn: + STRING "PKDn" + .weak SYM(_ZTSPDn) + .hidden SYM(_ZTSPDn) + SECTION3(_ZTSPDn) + ALIGN3 + .type SYM(_ZTSPDn), @object + .size SYM(_ZTSPDn), 4 +_ZTSPDn: + STRING "PDn" + .weak SYM(_ZTSDn) + .hidden SYM(_ZTSDn) + SECTION3(_ZTSDn) + ALIGN3 + .type SYM(_ZTSDn), @object + .size SYM(_ZTSDn), 3 +_ZTSDn: + STRING "Dn" +#endif + .section .note.GNU-stack,"",@progbits --- libstdc++-v3/src/nonshared98/int128.S.jj 2014-05-15 15:53:13.156791007 +0200 +++ libstdc++-v3/src/nonshared98/int128.S 2014-05-15 15:53:13.156791007 +0200 @@ -0,0 +1,212 @@ +/* Copyright (C) 2012-2014 Free Software Foundation, Inc. + + This file is part of the GNU ISO C++ Library. This library is free + software; you can redistribute it and/or modify it under the + terms of the GNU General Public License as published by the + Free Software Foundation; either version 3, or (at your option) + any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + Under Section 7 of GPL version 3, you are granted additional + permissions described in the GCC Runtime Library Exception, version + 3.1, as published by the Free Software Foundation. + + You should have received a copy of the GNU General Public License and + a copy of the GCC Runtime Library Exception along with this program; + see the files COPYING3 and COPYING.RUNTIME respectively. If not, see + . */ + +#if defined __x86_64__ || defined __powerpc64__ || defined __s390x__ || defined __ia64__ \ + /* || defined __i386__ || defined __powerpc__ || defined __s390__ */ +#ifdef __i386__ +#define ALIGN1 .align 4 +#elif defined __x86_64__ +#define ALIGN1 .align 32 +#define ALIGN2 .align 16 +#elif defined __ia64__ +#define SYM(x)x# +#define ALIGN1 .align 8 +#define ALIGN3 .align 8 +#define SECTION3(x).section .gnu.linkonce.s.x,"aws",@progbits +#define POINTER data8 +#define FLAGS data4 +#define PAD .skip 4 +#define STRING stringz +#elif defined __powerpc64__ +#define ALIGN1 .align 3 +#define ALIGN3 .align 3 +#elif defined __powerpc__ +#define ALIGN1 .align 2 +#define ALIGN3 .align 2 +#define SECTION2(x).section .gnu.linkonce.s.x,"aw",@progbits +#define SECTION3(x)SECTION2(x) +#elif defined __s390x__ +#define ALIGN1 .align 8 +#define ALIGN3 .align 2 +#elif defined __s390__ +#define ALIGN1 .align 4 +#define ALIGN3 .align 2 +#endif +#if defined __x86_64__ || defined __powerpc64__ || defined __s390x__ || defined __ia64__ +#define SIZE1 32 +#define SIZE2 16 +#define OFF 16 +#ifndef POINTER +#define POINTER .quad +#endif +#ifndef FLAGS +#define FLAGS .long +#endif +#ifndef PAD +#define PAD .zero 4 +#endif +#else +#define SIZE1 16 +#define SIZE2 8 +#define OFF 8 +#ifndef POINTER +#define POINTER .long +#endif +#ifndef FLAGS +#define FLAGS .long +#endif +#ifndef PAD +#define PAD +#endif +#endif +#ifndef SYM +#define SYM(x)x +#endif +#ifndef ALIGN2 +#define ALIGN2 ALIGN1 +#endif +#ifndef ALIGN3 +#define ALIGN3 +#endif +#ifndef SECTION1 +#define SECTION1(x).section .gnu.linkonce.d.rel.ro.x,"aw",@progbits +#endif +#ifndef SECTION2 +#define SECTION2(x)SECTION1(x) +#endif +#ifndef SECTION3 +#define SECTION3(x).section .gnu.linkonce.r.x,"a",@progbits +#endif +#ifndef STRING +#define STRING .string +#endif + + .weak SYM(_ZTIPKn) + SECTION1(_ZTIPKn) + ALIGN1 + .type SYM(_ZTIPKn), @object + .size SYM(_ZTIPKn), SIZE1 +_ZTIPKn: + POINTER SYM(_ZTVN10__cxxabiv119__pointer_type_infoE)+OFF + POINTER SYM(_ZTSPKn) + FLAGS 1 + PAD + POINTER SYM(_ZTIn) + .weak SYM(_ZTIPn) + SECTION1(_ZTIPn) + ALIGN1 + .type SYM(_ZTIPn), @object + .size SYM(_ZTIPn), SIZE1 +_ZTIPn: + POINTER SYM(_ZTVN10__cxxabiv119__pointer_type_infoE)+OFF + POINTER SYM(_ZTSPn) + FLAGS 0 + PAD + POINTER SYM(_ZTIn) + .weak SYM(_ZTIn) + SECTION2(_ZTIn) + ALIGN2 + .type SYM(_ZTIn), @object + .size SYM(_ZTIn), SIZE2 +_ZTIn: + POINTER SYM(_ZTVN10__cxxabiv123__fundamental_type_infoE)+OFF + POINTER SYM(_ZTSn) + .weak SYM(_ZTIPKo) + SECTION1(_ZTIPKo) + ALIGN1 + .type SYM(_ZTIPKo), @object + .size SYM(_ZTIPKo), SIZE1 +_ZTIPKo: + POINTER SYM(_ZTVN10__cxxabiv119__pointer_type_infoE)+OFF + POINTER SYM(_ZTSPKo) + FLAGS 1 + PAD + POINTER SYM(_ZTIo) + .weak SYM(_ZTIPo) + SECTION1(_ZTIPo) + ALIGN1 + .type SYM(_ZTIPo), @object + .size SYM(_ZTIPo), SIZE1 +_ZTIPo: + POINTER SYM(_ZTVN10__cxxabiv119__pointer_type_infoE)+OFF + POINTER SYM(_ZTSPo) + FLAGS 0 + PAD + POINTER SYM(_ZTIo) + .weak SYM(_ZTIo) + SECTION2(_ZTIo) + ALIGN2 + .type SYM(_ZTIo), @object + .size SYM(_ZTIo), SIZE2 +_ZTIo: + POINTER SYM(_ZTVN10__cxxabiv123__fundamental_type_infoE)+OFF + POINTER SYM(_ZTSo) + .weak SYM(_ZTSPKn) + .hidden SYM(_ZTSPKn) + SECTION3(_ZTSPKn) + ALIGN3 + .type SYM(_ZTSPKn), @object + .size SYM(_ZTSPKn), 4 +_ZTSPKn: + STRING "PKn" + .weak SYM(_ZTSPn) + .hidden SYM(_ZTSPn) + SECTION3(_ZTSPn) + ALIGN3 + .type SYM(_ZTSPn), @object + .size SYM(_ZTSPn), 3 +_ZTSPn: + STRING "Pn" + .weak SYM(_ZTSn) + .hidden SYM(_ZTSn) + SECTION3(_ZTSn) + ALIGN3 + .type SYM(_ZTSn), @object + .size SYM(_ZTSn), 2 +_ZTSn: + STRING "n" + .weak SYM(_ZTSPKo) + .hidden SYM(_ZTSPKo) + SECTION3(_ZTSPKo) + ALIGN3 + .type SYM(_ZTSPKo), @object + .size SYM(_ZTSPKo), 4 +_ZTSPKo: + STRING "PKo" + .weak SYM(_ZTSPo) + .hidden SYM(_ZTSPo) + SECTION3(_ZTSPo) + ALIGN3 + .type SYM(_ZTSPo), @object + .size SYM(_ZTSPo), 3 +_ZTSPo: + STRING "Po" + .weak SYM(_ZTSo) + .hidden SYM(_ZTSo) + SECTION3(_ZTSo) + ALIGN3 + .type SYM(_ZTSo), @object + .size SYM(_ZTSo), 2 +_ZTSo: + STRING "o" +#endif + .section .note.GNU-stack,"",@progbits --- libstdc++-v3/src/nonshared98/wlocale-inst.cc.jj 2014-05-15 15:53:13.156791007 +0200 +++ libstdc++-v3/src/nonshared98/wlocale-inst.cc 2014-05-15 15:53:13.156791007 +0200 @@ -0,0 +1,28 @@ +// Copyright (C) 2012-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include + +#ifdef _GLIBCXX_USE_WCHAR_T +#define C wchar_t +#include "locale-inst.cc" +#endif --- libstdc++-v3/src/nonshared98/compatibility-debug_list-2.cc.jj 2014-05-15 15:53:13.156791007 +0200 +++ libstdc++-v3/src/nonshared98/compatibility-debug_list-2.cc 2014-05-15 15:53:13.156791007 +0200 @@ -0,0 +1,23 @@ +// Copyright (C) 2012-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include "../c++98/compatibility-debug_list-2.cc" --- libstdc++-v3/src/nonshared98/streambuf-inst.cc.jj 2014-05-15 15:53:13.156791007 +0200 +++ libstdc++-v3/src/nonshared98/streambuf-inst.cc 2014-05-15 15:53:13.156791007 +0200 @@ -0,0 +1,36 @@ +// Copyright (C) 1997-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include +#include + +namespace std _GLIBCXX_VISIBILITY(default) +{ + + template void basic_streambuf::__safe_gbump(std::streamsize); + template void basic_streambuf::__safe_pbump(std::streamsize); +#ifdef _GLIBCXX_USE_WCHAR_T + template void basic_streambuf::__safe_gbump(std::streamsize); + template void basic_streambuf::__safe_pbump(std::streamsize); +#endif + +} --- libstdc++-v3/src/nonshared98/list_associated-2.cc.jj 2014-05-15 15:53:13.161791302 +0200 +++ libstdc++-v3/src/nonshared98/list_associated-2.cc 2014-05-15 15:53:13.161791302 +0200 @@ -0,0 +1,23 @@ +// Copyright (C) 2012-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include "../c++98/list_associated-2.cc" --- libstdc++-v3/src/nonshared98/list.cc.jj 2014-05-15 15:53:13.161791302 +0200 +++ libstdc++-v3/src/nonshared98/list.cc 2014-05-15 15:53:13.161791302 +0200 @@ -0,0 +1,23 @@ +// Copyright (C) 2012-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include "../c++98/list.cc" --- libstdc++-v3/src/nonshared98/snprintf_lite-inst.cc.jj 2014-05-15 16:06:46.465470137 +0200 +++ libstdc++-v3/src/nonshared98/snprintf_lite-inst.cc 2014-05-15 16:23:01.509392006 +0200 @@ -0,0 +1,41 @@ +// Copyright (C) 2012-2014 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// Under Section 7 of GPL version 3, you are granted additional +// permissions described in the GCC Runtime Library Exception, version +// 3.1, as published by the Free Software Foundation. + +// You should have received a copy of the GNU General Public License and +// a copy of the GCC Runtime Library Exception along with this program; +// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +// . + +#include + +namespace std _GLIBCXX_VISIBILITY(default) +{ + template + int + __int_to_char(char*, +#ifdef _GLIBCXX_USE_LONG_LONG + unsigned long long, +#else + unsigned long, +#endif + const char*, ios_base::fmtflags, bool); +} +#ifdef _GLIBCXX_USE_LONG_LONG +asm (".hidden _ZSt13__int_to_charIcyEiPT_T0_PKS0_St13_Ios_Fmtflagsb"); +#else +asm (".hidden _ZSt13__int_to_charIcmEiPT_T0_PKS0_St13_Ios_Fmtflagsb"); +#endif --- libstdc++-v3/src/Makefile.in.jj 2014-05-13 10:30:38.315053669 +0200 +++ libstdc++-v3/src/Makefile.in 2014-05-15 16:13:18.761387653 +0200 @@ -87,7 +87,7 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__installdirs = "$(DESTDIR)$(toolexeclibdir)" -LTLIBRARIES = $(toolexeclib_LTLIBRARIES) +LTLIBRARIES = $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES) am__DEPENDENCIES_1 = @GLIBCXX_LDBL_COMPAT_TRUE@am__objects_1 = compatibility-ldbl.lo am__objects_2 = compatibility.lo compatibility-debug_list.lo \ @@ -97,13 +97,29 @@ am__objects_3 = compatibility-c++0x.lo c compatibility-condvar.lo am_libstdc___la_OBJECTS = $(am__objects_2) $(am__objects_3) libstdc___la_OBJECTS = $(am_libstdc___la_OBJECTS) +am_libstdc___nonshared44_la_OBJECTS = +libstdc___nonshared44_la_OBJECTS = \ + $(am_libstdc___nonshared44_la_OBJECTS) +am_libstdc___nonshared48_la_OBJECTS = +libstdc___nonshared48_la_OBJECTS = \ + $(am_libstdc___nonshared48_la_OBJECTS) DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = am__depfiles_maybe = CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) -SOURCES = $(libstdc___la_SOURCES) +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ +SOURCES = $(libstdc___la_SOURCES) $(libstdc___nonshared44_la_SOURCES) \ + $(libstdc___nonshared48_la_SOURCES) RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ @@ -135,6 +151,8 @@ AWK = @AWK@ BASIC_FILE_CC = @BASIC_FILE_CC@ BASIC_FILE_H = @BASIC_FILE_H@ CC = @CC@ +CCAS = @CCAS@ +CCASFLAGS = @CCASFLAGS@ CCODECVT_CC = @CCODECVT_CC@ CCOLLATE_CC = @CCOLLATE_CC@ CCTYPE_CC = @CCTYPE_CC@ @@ -339,15 +357,34 @@ WARN_CXXFLAGS = \ # -I/-D flags to pass when compiling. AM_CPPFLAGS = $(GLIBCXX_INCLUDES) -SUBDIRS = c++98 c++11 +SUBDIRS = c++98 c++11 nonshared98 nonshared11 # Cross compiler support. toolexeclib_LTLIBRARIES = libstdc++.la +noinst_LTLIBRARIES = libstdc++_nonshared44.la libstdc++_nonshared48.la @GLIBCXX_LDBL_COMPAT_FALSE@ldbl_compat_sources = @GLIBCXX_LDBL_COMPAT_TRUE@ldbl_compat_sources = compatibility-ldbl.cc parallel_compat_sources = \ compatibility-parallel_list.cc compatibility-parallel_list-2.cc +libstdc___nonshared44_la_SOURCES = +libstdc___nonshared44_la_LIBADD = \ + $(top_builddir)/src/nonshared98/libnonshared98convenience44.la \ + $(top_builddir)/src/nonshared11/libnonshared11convenience44.la + +libstdc___nonshared44_la_DEPENDENCIES = \ + $(top_builddir)/src/nonshared98/libnonshared98convenience44.la \ + $(top_builddir)/src/nonshared11/libnonshared11convenience44.la + +libstdc___nonshared48_la_SOURCES = +libstdc___nonshared48_la_LIBADD = \ + $(top_builddir)/src/nonshared98/libnonshared98convenience48.la \ + $(top_builddir)/src/nonshared11/libnonshared11convenience48.la + +libstdc___nonshared48_la_DEPENDENCIES = \ + $(top_builddir)/src/nonshared98/libnonshared98convenience48.la \ + $(top_builddir)/src/nonshared11/libnonshared11convenience48.la + cxx98_sources = \ compatibility.cc \ compatibility-debug_list.cc \ @@ -518,6 +555,15 @@ $(top_srcdir)/configure: @MAINTAINER_MOD $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): + +clean-noinstLTLIBRARIES: + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) + @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES) @$(NORMAL_INSTALL) test -z "$(toolexeclibdir)" || $(MKDIR_P) "$(DESTDIR)$(toolexeclibdir)" @@ -551,6 +597,10 @@ clean-toolexeclibLTLIBRARIES: done libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES) $(libstdc___la_LINK) -rpath $(toolexeclibdir) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS) +libstdc++_nonshared44.la: $(libstdc___nonshared44_la_OBJECTS) $(libstdc___nonshared44_la_DEPENDENCIES) + $(LINK) $(libstdc___nonshared44_la_OBJECTS) $(libstdc___nonshared44_la_LIBADD) $(LIBS) +libstdc++_nonshared48.la: $(libstdc___nonshared48_la_OBJECTS) $(libstdc___nonshared48_la_DEPENDENCIES) + $(LINK) $(libstdc___nonshared48_la_OBJECTS) $(libstdc___nonshared48_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -744,7 +794,8 @@ maintainer-clean-generic: clean: clean-recursive clean-am: clean-generic clean-libtool clean-local \ - clean-toolexeclibLTLIBRARIES mostlyclean-am + clean-noinstLTLIBRARIES clean-toolexeclibLTLIBRARIES \ + mostlyclean-am distclean: distclean-recursive -rm -f Makefile @@ -815,19 +866,19 @@ uninstall-am: uninstall-toolexeclibLTLIB .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am all-local check check-am clean clean-generic \ - clean-libtool clean-local clean-toolexeclibLTLIBRARIES ctags \ - ctags-recursive distclean distclean-compile distclean-generic \ - distclean-libtool distclean-tags dvi dvi-am html html-am info \ - info-am install install-am install-data install-data-am \ - install-data-local install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip \ - install-toolexeclibLTLIBRARIES installcheck installcheck-am \ - installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags tags-recursive uninstall uninstall-am \ + clean-libtool clean-local clean-noinstLTLIBRARIES \ + clean-toolexeclibLTLIBRARIES ctags ctags-recursive distclean \ + distclean-compile distclean-generic distclean-libtool \ + distclean-tags dvi dvi-am html html-am info info-am install \ + install-am install-data install-data-am install-data-local \ + install-dvi install-dvi-am install-exec install-exec-am \ + install-html install-html-am install-info install-info-am \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip install-toolexeclibLTLIBRARIES \ + installcheck installcheck-am installdirs installdirs-am \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ + pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ uninstall-toolexeclibLTLIBRARIES --- libstdc++-v3/src/shared/hashtable-aux.cc.jj 2014-05-13 10:30:38.316053664 +0200 +++ libstdc++-v3/src/shared/hashtable-aux.cc 2014-05-15 15:53:13.165791498 +0200 @@ -22,6 +22,9 @@ // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // . +#ifndef HASHTABLE_AUX_CC +#define HASHTABLE_AUX_CC 1 + namespace __detail { _GLIBCXX_BEGIN_NAMESPACE_VERSION @@ -91,3 +94,5 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION }; _GLIBCXX_END_NAMESPACE_VERSION } // namespace __detail + +#endif --- libstdc++-v3/acinclude.m4.jj 2014-05-13 10:30:38.312053685 +0200 +++ libstdc++-v3/acinclude.m4 2014-05-15 15:53:13.179792001 +0200 @@ -49,7 +49,7 @@ AC_DEFUN([GLIBCXX_CONFIGURE], [ # Keep these sync'd with the list in Makefile.am. The first provides an # expandable list at autoconf time; the second provides an expandable list # (i.e., shell variable) at configure time. - m4_define([glibcxx_SUBDIRS],[include libsupc++ python src src/c++98 src/c++11 doc po testsuite]) + m4_define([glibcxx_SUBDIRS],[include libsupc++ python src src/c++98 src/c++11 src/nonshared98 src/nonshared11 doc po testsuite]) SUBDIRS='glibcxx_SUBDIRS' # These need to be absolute paths, yet at the same time need to --- libstdc++-v3/configure.ac.jj 2014-05-13 10:30:38.200054276 +0200 +++ libstdc++-v3/configure.ac 2014-05-15 15:53:13.195792652 +0200 @@ -483,6 +483,11 @@ GLIBCXX_EXPORT_INSTALL_INFO GLIBCXX_EXPORT_INCLUDES GLIBCXX_EXPORT_FLAGS +CCAS='$(CXX)' +CCASFLAGS='$(CXXFLAGS)' +AC_SUBST(CCAS) +AC_SUBST(CCASFLAGS) + dnl In autoconf 2.5x, AC_OUTPUT is replaced by four AC_CONFIG_* macros, dnl which can all be called multiple times as needed, plus one (different) dnl AC_OUTPUT macro. This one lists the files to be created: --- libstdc++-v3/configure.jj 2014-05-13 10:30:38.314053675 +0200 +++ libstdc++-v3/configure 2014-05-15 15:53:13.234792687 +0200 @@ -602,6 +602,8 @@ ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS +CCASFLAGS +CCAS WARN_FLAGS OPTIMIZE_CXXFLAGS TOPLEVEL_INCLUDES @@ -4884,7 +4886,7 @@ $as_echo "$ac_cv_path_EGREP" >&6; } # expandable list at autoconf time; the second provides an expandable list # (i.e., shell variable) at configure time. - SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite' + SUBDIRS='include libsupc++ python src src/c++98 src/c++11 src/nonshared98 src/nonshared11 doc po testsuite' # These need to be absolute paths, yet at the same time need to # canonicalize only relative paths, because then amd will not unmount @@ -11526,7 +11528,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11529 "configure" +#line 11531 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11632,7 +11634,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11635 "configure" +#line 11637 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -15052,7 +15054,7 @@ fi # # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style. cat > conftest.$ac_ext << EOF -#line 15055 "configure" +#line 15057 "configure" struct S { ~S(); }; void bar(); void foo() @@ -15404,7 +15406,7 @@ $as_echo "$glibcxx_cv_atomic_long_long" # Fake what AC_TRY_COMPILE does. cat > conftest.$ac_ext << EOF -#line 15407 "configure" +#line 15409 "configure" int main() { typedef bool atomic_type; @@ -15439,7 +15441,7 @@ $as_echo "$glibcxx_cv_atomic_bool" >&6; rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15442 "configure" +#line 15444 "configure" int main() { typedef short atomic_type; @@ -15474,7 +15476,7 @@ $as_echo "$glibcxx_cv_atomic_short" >&6; rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15477 "configure" +#line 15479 "configure" int main() { // NB: _Atomic_word not necessarily int. @@ -15510,7 +15512,7 @@ $as_echo "$glibcxx_cv_atomic_int" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15513 "configure" +#line 15515 "configure" int main() { typedef long long atomic_type; @@ -15589,7 +15591,7 @@ $as_echo "$as_me: WARNING: Performance o # unnecessary for this test. cat > conftest.$ac_ext << EOF -#line 15592 "configure" +#line 15594 "configure" int main() { _Decimal32 d1; @@ -15631,7 +15633,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu # unnecessary for this test. cat > conftest.$ac_ext << EOF -#line 15634 "configure" +#line 15636 "configure" template struct same { typedef T2 type; }; @@ -15665,7 +15667,7 @@ $as_echo "$enable_int128" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15668 "configure" +#line 15670 "configure" template struct same { typedef T2 type; }; @@ -79530,6 +79532,11 @@ $as_echo "$gxx_include_dir" >&6; } +CCAS='$(CXX)' +CCASFLAGS='$(CXXFLAGS)' + + + ac_config_files="$ac_config_files Makefile" ac_config_files="$ac_config_files scripts/testsuite_flags" @@ -79547,7 +79554,7 @@ ac_config_files="$ac_config_files doc/xs # append it here. Only modify Makefiles that have just been created. # # Also, get rid of this simulated-VPATH thing that automake does. -ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile" +ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/nonshared98/Makefile src/nonshared11/Makefile doc/Makefile po/Makefile testsuite/Makefile" ac_config_commands="$ac_config_commands generate-headers" @@ -80756,6 +80763,8 @@ do "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;; "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;; + "src/nonshared98/Makefile") CONFIG_FILES="$CONFIG_FILES src/nonshared98/Makefile" ;; + "src/nonshared11/Makefile") CONFIG_FILES="$CONFIG_FILES src/nonshared11/Makefile" ;; "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;; "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;; @@ -82595,6 +82604,28 @@ _EOF s!`test -f '$<' || echo '$(srcdir)/'`!! _EOF sed -f vpsed$$ $ac_file > tmp$$ + mv tmp$$ $ac_file + rm vpsed$$ + echo 'MULTISUBDIR =' >> $ac_file + ml_norecursion=yes + . ${multi_basedir}/config-ml.in + { ml_norecursion=; unset ml_norecursion;} + ;; + "src/nonshared98/Makefile":F) cat > vpsed$$ << \_EOF +s!`test -f '$<' || echo '$(srcdir)/'`!! +_EOF + sed -f vpsed$$ $ac_file > tmp$$ + mv tmp$$ $ac_file + rm vpsed$$ + echo 'MULTISUBDIR =' >> $ac_file + ml_norecursion=yes + . ${multi_basedir}/config-ml.in + { ml_norecursion=; unset ml_norecursion;} + ;; + "src/nonshared11/Makefile":F) cat > vpsed$$ << \_EOF +s!`test -f '$<' || echo '$(srcdir)/'`!! +_EOF + sed -f vpsed$$ $ac_file > tmp$$ mv tmp$$ $ac_file rm vpsed$$ echo 'MULTISUBDIR =' >> $ac_file