diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-22 00:19:07 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-22 00:19:07 +0000 |
commit | d5b896a6b4f4120afe67e37afc1a7110b02426a4 (patch) | |
tree | 78d2cc8f3f9ce3e207a3d8589b10081ebb510aa5 /libstdc++-v3/libsupc++ | |
parent | ccff1f7db466a1904e51cd246f4356cd4b9d97f7 (diff) | |
download | gcc-d5b896a6b4f4120afe67e37afc1a7110b02426a4.tar.gz |
2005-11-21 Benjamin Kosnik <bkoz@redhat.com>
* libsupc++/del_op.cc: Include c++config.h first.
* libsupc++/eh_alloc.cc: Same.
* libsupc++/new_opv.cc: Same.
* libsupc++/eh_throw.cc: Same.
* libsupc++/new_op.cc: Same.
* libsupc++/del_opv.cc: Same.
* libsupc++/eh_catch.cc: Same.
* libsupc++/guard.cc: Same.
* libsupc++/del_opnt.cc: Same.
* libsupc++/eh_exception.cc: Same.
* libsupc++/new_opvnt.cc: Same.
* libsupc++/eh_term_handler.cc: Same.
* libsupc++/eh_personality.cc: Same.
* libsupc++/eh_call.cc: Same.
* libsupc++/new_opnt.cc: Same.
* libsupc++/del_opvnt.cc: Same.
2005-11-21 Benjamin Kosnik <bkoz@redhat.com>
* src/Makefile.am (LTCXXCOMPILE): CXXFLAGS last.
* libsupc++/Makefile.am: Same.
* src/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107343 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/libsupc++')
-rw-r--r-- | libstdc++-v3/libsupc++/Makefile.am | 5 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/Makefile.in | 2 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/del_op.cc | 2 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/del_opnt.cc | 2 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/del_opv.cc | 2 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/del_opvnt.cc | 2 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/eh_alloc.cc | 4 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/eh_call.cc | 1 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/eh_catch.cc | 1 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/eh_exception.cc | 1 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/eh_personality.cc | 1 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/eh_term_handler.cc | 2 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/eh_throw.cc | 1 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/guard.cc | 2 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/new_op.cc | 4 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/new_opnt.cc | 4 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/new_opv.cc | 2 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/new_opvnt.cc | 2 |
18 files changed, 18 insertions, 22 deletions
diff --git a/libstdc++-v3/libsupc++/Makefile.am b/libstdc++-v3/libsupc++/Makefile.am index 161a4a02d83..2c749cb0dbe 100644 --- a/libstdc++-v3/libsupc++/Makefile.am +++ b/libstdc++-v3/libsupc++/Makefile.am @@ -1,6 +1,7 @@ ## Makefile for the GNU C++ Support library. ## -## Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +## Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 +## Free Software Foundation, Inc. ## ## Process this file with automake to produce Makefile.in. ## @@ -136,7 +137,7 @@ cp-demangle.o: cp-demangle.c # CXX undo the affect of disable-shared. LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared \ --mode=compile $(CXX) $(TOPLEVEL_INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS) + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) # 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 diff --git a/libstdc++-v3/libsupc++/Makefile.in b/libstdc++-v3/libsupc++/Makefile.in index 44d57cc2e4c..016bdb3dba9 100644 --- a/libstdc++-v3/libsupc++/Makefile.in +++ b/libstdc++-v3/libsupc++/Makefile.in @@ -395,7 +395,7 @@ LTCOMPILE = $(LIBTOOL) --tag CC --tag disable-shared --mode=compile $(CC) \ # CXX undo the affect of disable-shared. LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared \ --mode=compile $(CXX) $(TOPLEVEL_INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS) + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) # 3) We'd have a problem when building the shared libstdc++ object if diff --git a/libstdc++-v3/libsupc++/del_op.cc b/libstdc++-v3/libsupc++/del_op.cc index 194a87aa65e..93f4aa8373c 100644 --- a/libstdc++-v3/libsupc++/del_op.cc +++ b/libstdc++-v3/libsupc++/del_op.cc @@ -28,8 +28,8 @@ // invalidate any other reasons why the executable file might be covered by // the GNU General Public License. -#include "new" #include <bits/c++config.h> +#include "new" #if _GLIBCXX_HOSTED #include <cstdlib> #endif diff --git a/libstdc++-v3/libsupc++/del_opnt.cc b/libstdc++-v3/libsupc++/del_opnt.cc index b03a0798133..1aa25d76ba5 100644 --- a/libstdc++-v3/libsupc++/del_opnt.cc +++ b/libstdc++-v3/libsupc++/del_opnt.cc @@ -28,8 +28,8 @@ // invalidate any other reasons why the executable file might be covered by // the GNU General Public License. -#include "new" #include <bits/c++config.h> +#include "new" extern "C" void free (void *); diff --git a/libstdc++-v3/libsupc++/del_opv.cc b/libstdc++-v3/libsupc++/del_opv.cc index 98aaa9b2736..9a08afbb54b 100644 --- a/libstdc++-v3/libsupc++/del_opv.cc +++ b/libstdc++-v3/libsupc++/del_opv.cc @@ -28,8 +28,8 @@ // invalidate any other reasons why the executable file might be covered by // the GNU General Public License. -#include "new" #include <bits/c++config.h> +#include "new" _GLIBCXX_WEAK_DEFINITION void operator delete[] (void *ptr) throw () diff --git a/libstdc++-v3/libsupc++/del_opvnt.cc b/libstdc++-v3/libsupc++/del_opvnt.cc index b9c81ce74e0..4dbe48931cf 100644 --- a/libstdc++-v3/libsupc++/del_opvnt.cc +++ b/libstdc++-v3/libsupc++/del_opvnt.cc @@ -28,8 +28,8 @@ // invalidate any other reasons why the executable file might be covered by // the GNU General Public License. -#include "new" #include <bits/c++config.h> +#include "new" _GLIBCXX_WEAK_DEFINITION void operator delete[] (void *ptr, const std::nothrow_t&) throw () diff --git a/libstdc++-v3/libsupc++/eh_alloc.cc b/libstdc++-v3/libsupc++/eh_alloc.cc index 3577920e0f3..5a0d50c8058 100644 --- a/libstdc++-v3/libsupc++/eh_alloc.cc +++ b/libstdc++-v3/libsupc++/eh_alloc.cc @@ -1,5 +1,5 @@ // -*- C++ -*- Allocate exception objects. -// Copyright (C) 2001, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc. // // This file is part of GCC. // @@ -30,6 +30,7 @@ // This is derived from the C++ ABI for IA-64. Where we diverge // for cross-architecture compatibility are noted with "@@@". +#include <bits/c++config.h> #include <cstdlib> #if _GLIBCXX_HOSTED #include <cstring> @@ -37,7 +38,6 @@ #include <climits> #include <exception> #include "unwind-cxx.h" -#include "bits/c++config.h" #include "bits/gthr.h" #if _GLIBCXX_HOSTED diff --git a/libstdc++-v3/libsupc++/eh_call.cc b/libstdc++-v3/libsupc++/eh_call.cc index 4db8023fcdb..edf62188a6b 100644 --- a/libstdc++-v3/libsupc++/eh_call.cc +++ b/libstdc++-v3/libsupc++/eh_call.cc @@ -27,7 +27,6 @@ // invalidate any other reasons why the executable file might be covered by // the GNU General Public License. - #include <bits/c++config.h> #include <cstdlib> #include <exception_defines.h> diff --git a/libstdc++-v3/libsupc++/eh_catch.cc b/libstdc++-v3/libsupc++/eh_catch.cc index d84584029be..77b8a82dd16 100644 --- a/libstdc++-v3/libsupc++/eh_catch.cc +++ b/libstdc++-v3/libsupc++/eh_catch.cc @@ -27,7 +27,6 @@ // invalidate any other reasons why the executable file might be covered by // the GNU General Public License. - #include <cstdlib> #include "unwind-cxx.h" diff --git a/libstdc++-v3/libsupc++/eh_exception.cc b/libstdc++-v3/libsupc++/eh_exception.cc index fc78d9be9c2..81d7e70bcf3 100644 --- a/libstdc++-v3/libsupc++/eh_exception.cc +++ b/libstdc++-v3/libsupc++/eh_exception.cc @@ -28,7 +28,6 @@ // invalidate any other reasons why the executable file might be covered by // the GNU General Public License. - #include "typeinfo" #include "exception" #include "unwind-cxx.h" diff --git a/libstdc++-v3/libsupc++/eh_personality.cc b/libstdc++-v3/libsupc++/eh_personality.cc index f07864f1d6f..917a397569c 100644 --- a/libstdc++-v3/libsupc++/eh_personality.cc +++ b/libstdc++-v3/libsupc++/eh_personality.cc @@ -27,7 +27,6 @@ // invalidate any other reasons why the executable file might be covered by // the GNU General Public License. - #include <bits/c++config.h> #include <cstdlib> #include <exception_defines.h> diff --git a/libstdc++-v3/libsupc++/eh_term_handler.cc b/libstdc++-v3/libsupc++/eh_term_handler.cc index 66025ed6a78..b3914974931 100644 --- a/libstdc++-v3/libsupc++/eh_term_handler.cc +++ b/libstdc++-v3/libsupc++/eh_term_handler.cc @@ -27,8 +27,8 @@ // invalidate any other reasons why the executable file might be covered by // the GNU General Public License. -#include "unwind-cxx.h" #include <bits/c++config.h> +#include "unwind-cxx.h" /* We default to the talkative, informative handler in a normal hosted library. This pulls in the demangler, the dyn-string utilities, and diff --git a/libstdc++-v3/libsupc++/eh_throw.cc b/libstdc++-v3/libsupc++/eh_throw.cc index 9f26be008ab..b405f8f7c64 100644 --- a/libstdc++-v3/libsupc++/eh_throw.cc +++ b/libstdc++-v3/libsupc++/eh_throw.cc @@ -27,7 +27,6 @@ // invalidate any other reasons why the executable file might be covered by // the GNU General Public License. - #include <bits/c++config.h> #include "unwind-cxx.h" diff --git a/libstdc++-v3/libsupc++/guard.cc b/libstdc++-v3/libsupc++/guard.cc index e75dc42a428..e7fe2b6e7b9 100644 --- a/libstdc++-v3/libsupc++/guard.cc +++ b/libstdc++-v3/libsupc++/guard.cc @@ -29,9 +29,9 @@ // Written by Mark Mitchell, CodeSourcery LLC, <mark@codesourcery.com> // Thread support written by Jason Merrill, Red Hat Inc. <jason@redhat.com> +#include <bits/c++config.h> #include <cxxabi.h> #include <exception> -#include <bits/c++config.h> #include <bits/gthr.h> #include <bits/atomicity.h> diff --git a/libstdc++-v3/libsupc++/new_op.cc b/libstdc++-v3/libsupc++/new_op.cc index 76ede3097ea..8059d1d110c 100644 --- a/libstdc++-v3/libsupc++/new_op.cc +++ b/libstdc++-v3/libsupc++/new_op.cc @@ -29,10 +29,10 @@ // invalidate any other reasons why the executable file might be covered by // the GNU General Public License. -#include "new" +#include <bits/c++config.h> #include <cstdlib> #include <exception_defines.h> -#include <bits/c++config.h> +#include "new" using std::new_handler; using std::bad_alloc; diff --git a/libstdc++-v3/libsupc++/new_opnt.cc b/libstdc++-v3/libsupc++/new_opnt.cc index 4a44bc79d49..65b79a355f0 100644 --- a/libstdc++-v3/libsupc++/new_opnt.cc +++ b/libstdc++-v3/libsupc++/new_opnt.cc @@ -27,9 +27,9 @@ // invalidate any other reasons why the executable file might be covered by // the GNU General Public License. -#include "new" -#include <exception_defines.h> #include <bits/c++config.h> +#include <exception_defines.h> +#include "new" using std::new_handler; using std::bad_alloc; diff --git a/libstdc++-v3/libsupc++/new_opv.cc b/libstdc++-v3/libsupc++/new_opv.cc index 5f761353280..e40565bada7 100644 --- a/libstdc++-v3/libsupc++/new_opv.cc +++ b/libstdc++-v3/libsupc++/new_opv.cc @@ -28,8 +28,8 @@ // invalidate any other reasons why the executable file might be covered by // the GNU General Public License. -#include "new" #include <bits/c++config.h> +#include "new" _GLIBCXX_WEAK_DEFINITION void* operator new[] (std::size_t sz) throw (std::bad_alloc) diff --git a/libstdc++-v3/libsupc++/new_opvnt.cc b/libstdc++-v3/libsupc++/new_opvnt.cc index f681e33e806..7d59d43c33f 100644 --- a/libstdc++-v3/libsupc++/new_opvnt.cc +++ b/libstdc++-v3/libsupc++/new_opvnt.cc @@ -28,8 +28,8 @@ // invalidate any other reasons why the executable file might be covered by // the GNU General Public License. -#include "new" #include <bits/c++config.h> +#include "new" _GLIBCXX_WEAK_DEFINITION void* operator new[] (std::size_t sz, const std::nothrow_t& nothrow) throw() |