<div dir="ltr">On Fri, Feb 13, 2015 at 4:21 PM, Jonathan Roelofs <span dir="ltr"><<a href="mailto:jonathan@codesourcery.com" target="_blank">jonathan@codesourcery.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: jroelofs<br>
Date: Fri Feb 13 18:21:03 2015<br>
New Revision: 229194<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=229194&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=229194&view=rev</a><br>
Log:<br>
Make the unwinder build on thumbv6-m with the integrated assembler.<br>
<br>
<a href="http://reviews.llvm.org/D7630" target="_blank">http://reviews.llvm.org/D7630</a><br>
<br>
Modified:<br>
libcxxabi/trunk/src/Unwind/UnwindRegistersSave.S<br>
<br>
Modified: libcxxabi/trunk/src/Unwind/UnwindRegistersSave.S<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/Unwind/UnwindRegistersSave.S?rev=229194&r1=229193&r2=229194&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/Unwind/UnwindRegistersSave.S?rev=229194&r1=229193&r2=229194&view=diff</a><br>
==============================================================================<br>
--- libcxxabi/trunk/src/Unwind/UnwindRegistersSave.S (original)<br>
+++ libcxxabi/trunk/src/Unwind/UnwindRegistersSave.S Fri Feb 13 18:21:03 2015<br>
@@ -316,7 +316,11 @@ DEFINE_LIBUNWIND_FUNCTION(unw_getcontext<br>
str lr, [r0, #56]<br>
str lr, [r0, #60] @ store return address as pc<br>
#endif<br>
+#if __ARM_ARCH_ISA_THUMB1 == 1<br></blockquote><div> ^</div><div>Unexpected 1 means that this shouldn't work correctly right?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
+ movs r0, #0 @ return UNW_ESUCCESS<br>
+#else<br>
mov r0, #0 @ return UNW_ESUCCESS<br>
+#endif<br>
JMP(lr)<br>
<br>
@<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Saleem Abdulrasool<br>compnerd (at) compnerd (dot) org</div>
</div></div>