Dear all, Please find attached a patch to libunwind-1.1 that fixes a regression that crept in during the transition from 1.0.1 to 1.1.
The regression is that support for the ms_abi stopped working. Although ms_abi might be a minority interest (wine?), it seems that some Intel runtime libraries for linux save some of the xmm registers. I suspect that they are compiling this code with the ms_abi conventions. msabi needs to be enabled to unwind through this code. Regards, Ariel Burton
diff -rup ./include/dwarf.h ../../libunwind/libunwind-1.1/include/dwarf.h --- ./include/dwarf.h 2012-10-06 00:54:38.000000000 -0400 +++ ../../libunwind/libunwind-1.1/include/dwarf.h 2013-10-03 17:14:08.925192159 -0400 @@ -26,6 +26,12 @@ WITH THE SOFTWARE OR THE USE OR OTHER DE #ifndef dwarf_h #define dwarf_h +/* we need to pull config.h so that, minimally, we pick up the setting */ +/* for CONFIG_MSABI_SUPPORT. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <libunwind.h> struct dwarf_cursor; /* forward-declaration */
_______________________________________________ Libunwind-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/libunwind-devel
