2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
authorkcook <kcook@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Apr 2005 23:09:32 +0000 (23:09 +0000)
committerkcook <kcook@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Apr 2005 23:09:32 +0000 (23:09 +0000)
* acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
* acconfig.h: Delete file.
* Makefile.in, acinclude.m4, configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97868 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/Makefile.in
libstdc++-v3/acconfig.h [deleted file]
libstdc++-v3/acinclude.m4
libstdc++-v3/config.h.in
libstdc++-v3/configure

index e7c0c3b..fc8b84a 100644 (file)
@@ -1,5 +1,11 @@
 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
 
+       * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
+       * acconfig.h: Delete file.
+       * Makefile.in, acinclude.m4, configure: Regenerate.
+
+2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
+
        * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
        (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
        GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
index 4c9cad6..1a46a54 100644 (file)
@@ -42,7 +42,7 @@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/../config.guess \
        $(srcdir)/../mkinstalldirs $(srcdir)/Makefile.am \
        $(srcdir)/Makefile.in $(srcdir)/config.h.in \
        $(top_srcdir)/configure $(top_srcdir)/fragment.am \
-       $(top_srcdir)/scripts/testsuite_flags.in ChangeLog acconfig.h
+       $(top_srcdir)/scripts/testsuite_flags.in ChangeLog
 subdir = .
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/../config/no-executables.m4 \
@@ -369,7 +369,7 @@ config.h: stamp-h1
 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
        @rm -f stamp-h1
        cd $(top_builddir) && $(SHELL) ./config.status config.h
-$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(top_srcdir)/acconfig.h
+$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
        cd $(top_srcdir) && $(AUTOHEADER)
        rm -f stamp-h1
        touch $@
diff --git a/libstdc++-v3/acconfig.h b/libstdc++-v3/acconfig.h
deleted file mode 100644 (file)
index 9bee01f..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-// Symbols and macros for libstdc++ -*- C++ -*-
-
-// @BOTTOM@
-//
-// Define symbol versioning in assember directives. If symbol
-// versioning is beigng used, and the assembler supports this kind of
-// thing, then use it.
-// NB: _GLIBCXX_AT_AT is a hack to work around quoting issues in m4.
-#if _GLIBCXX_SYMVER
-  #define _GLIBCXX_ASM_SYMVER(cur, old, version) \
-   asm (".symver " #cur "," #old _GLIBCXX_AT_AT #version);
-#else
-  #define _GLIBCXX_ASM_SYMVER(cur, old, version)
-#endif
index 2478071..601e456 100644 (file)
@@ -1764,6 +1764,20 @@ case $enable_symvers in
     ;;
 esac
 
+AH_VERBATIM([_GLIBCXX_SYMVERextra],
+[/* Define symbol versioning in assember directives. If symbol
+   versioning is being used, and the assembler supports this kind of
+   thing, then use it.
+   
+   NB: _GLIBCXX_AT_AT is a hack to work around quoting issues in m4. */
+
+#if _GLIBCXX_SYMVER
+  #define _GLIBCXX_ASM_SYMVER(cur, old, version) \
+   asm (".symver " #cur "," #old _GLIBCXX_AT_AT #version);
+#else
+  #define _GLIBCXX_ASM_SYMVER(cur, old, version)
+#endif])
+
 AC_SUBST(SYMVER_MAP)
 AC_SUBST(port_specific_symbol_files)
 GLIBCXX_CONDITIONAL(GLIBCXX_BUILD_VERSIONED_SHLIB, test $enable_symvers != no)
index 6a4871c..f8e5305 100644 (file)
@@ -1,6 +1,4 @@
 /* config.h.in.  Generated from configure.ac by autoheader.  */
-// Symbols and macros for libstdc++ -*- C++ -*-
-
 
 /* Define to 1 if you have the `acosf' function. */
 #undef HAVE_ACOSF
 /* Define to use symbol versioning in the shared library. */
 #undef _GLIBCXX_SYMVER
 
+/* Define symbol versioning in assember directives. If symbol
+   versioning is being used, and the assembler supports this kind of
+   thing, then use it.
+   
+   NB: _GLIBCXX_AT_AT is a hack to work around quoting issues in m4. */
+
+#if _GLIBCXX_SYMVER
+  #define _GLIBCXX_ASM_SYMVER(cur, old, version) \
+   asm (".symver " #cur "," #old _GLIBCXX_AT_AT #version);
+#else
+  #define _GLIBCXX_ASM_SYMVER(cur, old, version)
+#endif
+
 /* Define if C99 functions or macros from <wchar.h>, <math.h>, <complex.h>,
    <stdio.h>, and <stdlib.h> can be used or exposed. */
 #undef _GLIBCXX_USE_C99
 # define HAVE_TANL 1
 # define tanl _tanl
 #endif
-//
-// Define symbol versioning in assember directives. If symbol
-// versioning is beigng used, and the assembler supports this kind of
-// thing, then use it.
-// NB: _GLIBCXX_AT_AT is a hack to work around quoting issues in m4.
-#if _GLIBCXX_SYMVER
-  #define _GLIBCXX_ASM_SYMVER(cur, old, version) \
-   asm (".symver " #cur "," #old _GLIBCXX_AT_AT #version);
-#else
-  #define _GLIBCXX_ASM_SYMVER(cur, old, version)
-#endif
index 4e9fbc2..97a1a85 100755 (executable)
@@ -87296,6 +87296,9 @@ esac
 
 
 
+
+
+
 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}