diff options
author | Kelley Cook <kcook@gcc.gnu.org> | 2005-04-08 23:09:32 +0000 |
---|---|---|
committer | R. Kelley Cook <kcook@gcc.gnu.org> | 2005-04-08 23:09:32 +0000 |
commit | 0cb7f060b25987814c87f163e1327ff9d811225c (patch) | |
tree | 4eb7f129572ab9e87edac0c1a5253334039f12b5 /libstdc++-v3/acinclude.m4 | |
parent | ad6aaeb698a79ea8ad25ac585a1bc688d91d6ced (diff) | |
download | gcc-0cb7f060b25987814c87f163e1327ff9d811225c.tar.gz |
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
Diffstat (limited to 'libstdc++-v3/acinclude.m4')
-rw-r--r-- | libstdc++-v3/acinclude.m4 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index 24780718a28..601e456a4ea 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -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) |