svn commit: r355645 - head/contrib/libunwind/src
Conrad Meyer
cem at FreeBSD.org
Thu Dec 12 04:44:09 UTC 2019
Author: cem
Date: Thu Dec 12 04:44:09 2019
New Revision: 355645
URL: https://svnweb.freebsd.org/changeset/base/355645
Log:
arm: libgcc_s: Fix ABI breakage introduced in r354347
Provide the symbol version for llvm-libunwind's _Unwind_Backtrace that libgcc
has historically provided on arm, in addition to the (default) standard version
used on all other arch.
Reported by: mmel
Modified:
head/contrib/libunwind/src/UnwindLevel1-gcc-ext.c
Modified: head/contrib/libunwind/src/UnwindLevel1-gcc-ext.c
==============================================================================
--- head/contrib/libunwind/src/UnwindLevel1-gcc-ext.c Thu Dec 12 02:43:24 2019 (r355644)
+++ head/contrib/libunwind/src/UnwindLevel1-gcc-ext.c Thu Dec 12 04:44:09 2019 (r355645)
@@ -181,6 +181,10 @@ _Unwind_Backtrace(_Unwind_Trace_Fn callback, void *ref
}
}
}
+#ifdef __arm__
+/* Preserve legacy libgcc ARM ABI mistake. */
+__sym_compat(_Unwind_Backtrace, _Unwind_Backtrace, GCC_4.3.0);
+#endif
/// Find DWARF unwind info for an address 'pc' in some function.
More information about the svn-src-all
mailing list