mirror of git://gcc.gnu.org/git/gcc.git
acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
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. From-SVN: r97868
This commit is contained in:
parent
ad6aaeb698
commit
0cb7f060b2
|
@ -1,3 +1,9 @@
|
||||||
|
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>
|
2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
|
||||||
|
|
||||||
* linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
|
* linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
|
||||||
|
|
|
@ -42,7 +42,7 @@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/../config.guess \
|
||||||
$(srcdir)/../mkinstalldirs $(srcdir)/Makefile.am \
|
$(srcdir)/../mkinstalldirs $(srcdir)/Makefile.am \
|
||||||
$(srcdir)/Makefile.in $(srcdir)/config.h.in \
|
$(srcdir)/Makefile.in $(srcdir)/config.h.in \
|
||||||
$(top_srcdir)/configure $(top_srcdir)/fragment.am \
|
$(top_srcdir)/configure $(top_srcdir)/fragment.am \
|
||||||
$(top_srcdir)/scripts/testsuite_flags.in ChangeLog acconfig.h
|
$(top_srcdir)/scripts/testsuite_flags.in ChangeLog
|
||||||
subdir = .
|
subdir = .
|
||||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
am__aclocal_m4_deps = $(top_srcdir)/../config/no-executables.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
|
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
|
||||||
@rm -f stamp-h1
|
@rm -f stamp-h1
|
||||||
cd $(top_builddir) && $(SHELL) ./config.status config.h
|
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)
|
cd $(top_srcdir) && $(AUTOHEADER)
|
||||||
rm -f stamp-h1
|
rm -f stamp-h1
|
||||||
touch $@
|
touch $@
|
||||||
|
|
|
@ -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
|
|
|
@ -1764,6 +1764,20 @@ case $enable_symvers in
|
||||||
;;
|
;;
|
||||||
esac
|
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(SYMVER_MAP)
|
||||||
AC_SUBST(port_specific_symbol_files)
|
AC_SUBST(port_specific_symbol_files)
|
||||||
GLIBCXX_CONDITIONAL(GLIBCXX_BUILD_VERSIONED_SHLIB, test $enable_symvers != no)
|
GLIBCXX_CONDITIONAL(GLIBCXX_BUILD_VERSIONED_SHLIB, test $enable_symvers != no)
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||||
// Symbols and macros for libstdc++ -*- C++ -*-
|
|
||||||
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `acosf' function. */
|
/* Define to 1 if you have the `acosf' function. */
|
||||||
#undef HAVE_ACOSF
|
#undef HAVE_ACOSF
|
||||||
|
@ -666,6 +664,19 @@
|
||||||
/* Define to use symbol versioning in the shared library. */
|
/* Define to use symbol versioning in the shared library. */
|
||||||
#undef _GLIBCXX_SYMVER
|
#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>,
|
/* Define if C99 functions or macros from <wchar.h>, <math.h>, <complex.h>,
|
||||||
<stdio.h>, and <stdlib.h> can be used or exposed. */
|
<stdio.h>, and <stdlib.h> can be used or exposed. */
|
||||||
#undef _GLIBCXX_USE_C99
|
#undef _GLIBCXX_USE_C99
|
||||||
|
@ -1023,14 +1034,3 @@
|
||||||
# define HAVE_TANL 1
|
# define HAVE_TANL 1
|
||||||
# define tanl _tanl
|
# define tanl _tanl
|
||||||
#endif
|
#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
|
|
||||||
|
|
|
@ -87296,6 +87296,9 @@ esac
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{ echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
|
{ 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;}
|
echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue