This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: RFH: Symbol versions for __aeabi symbols
Benjamin Kosnik wrote:
Right. I think it's even more subtle than that, in that it's arm only
with a particular ABI selected, no?
Yes, that's right.
This has been done in the past by using port_specific_symbol_files, say
adding a
Here's a patch, which fixes the problem in the way you suggested. I
imitated the ldbl-extra.ver approach.
OK to apply?
Thanks,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
2008-07-10 Mark Mitchell <mark@codesourcery.com>
* config/os/gnu-linux/arm-eabi-extra.ver: New file.
* configure.host: Use it for arm*-*-linux-*eabi.
Index: libstdc++-v3/configure.host
===================================================================
--- libstdc++-v3/configure.host (revision 137649)
+++ libstdc++-v3/configure.host (working copy)
@@ -308,6 +308,11 @@ case "${host}" in
abi_baseline_pair=${try_cpu}-linux-gnu
fi
esac
+ case "${host}" in
+ arm*-*-linux-*eabi)
+ port_specific_symbol_files="\$(srcdir)/../config/os/gnu-linux/arm-eabi-extra.ver"
+ ;;
+ esac
;;
powerpc*-*-darwin*)
port_specific_symbol_files="\$(srcdir)/../config/os/bsd/darwin/ppc-extra.ver"
Index: libstdc++-v3/config/os/gnu-linux/arm-eabi-extra.ver
===================================================================
--- libstdc++-v3/config/os/gnu-linux/arm-eabi-extra.ver (revision 0)
+++ libstdc++-v3/config/os/gnu-linux/arm-eabi-extra.ver (revision 0)
@@ -0,0 +1,18 @@
+# Appended to version file.
+
+CXXABI_ARM_1.3.3 {
+ # ARM ABI helper functions provided in libsupc++.
+ __aeabi_atexit;
+ __aeabi_vec_ctor_nocookie_nodtor;
+ __aeabi_vec_ctor_cookie_nodtor;
+ __aeabi_vec_cctor_nocookie_nodtor;
+ __aeabi_vec_new_cookie_noctor;
+ __aeabi_vec_new_nocookie;
+ __aeabi_vec_new_cookie_nodtor;
+ __aeabi_vec_new_cookie;
+ __aeabi_vec_dtor;
+ __aeabi_vec_dtor_cookie;
+ __aeabi_vec_delete;
+ __aeabi_vec_delete3;
+ __aeabi_vec_delete3_nodtor;
+};