[libcxxabi] r199941 - Use .p2align instead of .align

Nick Kledzik kledzik at apple.com
Thu Jan 23 13:46:36 PST 2014


Author: kledzik
Date: Thu Jan 23 15:46:35 2014
New Revision: 199941

URL: http://llvm.org/viewvc/llvm-project?rev=199941&view=rev
Log:
Use .p2align instead of .align

Modified:
    libcxxabi/trunk/src/Unwind/UnwindRegistersRestore.S
    libcxxabi/trunk/src/Unwind/UnwindRegistersSave.S

Modified: libcxxabi/trunk/src/Unwind/UnwindRegistersRestore.S
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/Unwind/UnwindRegistersRestore.S?rev=199941&r1=199940&r2=199941&view=diff
==============================================================================
--- libcxxabi/trunk/src/Unwind/UnwindRegistersRestore.S (original)
+++ libcxxabi/trunk/src/Unwind/UnwindRegistersRestore.S Thu Jan 23 15:46:35 2014
@@ -266,7 +266,7 @@ Lnovec:
 ; On entry:
 ;  thread_state pointer is in x0
 ;
-  .align 2
+  .p2align 2
 DEFINE_LIBUNWIND_PRIVATE_FUNCTION(_ZN9libunwind15Registers_arm646jumptoEv)
   ; skip restore of x0,x1 for now
   ldp    x2, x3,  [x0, #0x010]
@@ -316,7 +316,7 @@ DEFINE_LIBUNWIND_PRIVATE_FUNCTION(_ZN9li
 @ On entry:
 @  thread_state pointer is in r0
 @
-  .align 2
+  .p2align 2
 DEFINE_LIBUNWIND_PRIVATE_FUNCTION(_ZN9libunwind13Registers_arm6jumptoEv)
   @ Use lr as base so that r0 can be restored.
   mov lr, r0

Modified: libcxxabi/trunk/src/Unwind/UnwindRegistersSave.S
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/Unwind/UnwindRegistersSave.S?rev=199941&r1=199940&r2=199941&view=diff
==============================================================================
--- libcxxabi/trunk/src/Unwind/UnwindRegistersSave.S (original)
+++ libcxxabi/trunk/src/Unwind/UnwindRegistersSave.S Thu Jan 23 15:46:35 2014
@@ -238,7 +238,7 @@ DEFINE_LIBUNWIND_FUNCTION(unw_getcontext
 ; On entry:
 ;  thread_state pointer is in x0
 ;
-  .align 2
+  .p2align 2
 DEFINE_LIBUNWIND_FUNCTION(unw_getcontext)
   stp    x0, x1,  [x0, #0x000]
   stp    x2, x3,  [x0, #0x010]
@@ -288,7 +288,7 @@ DEFINE_LIBUNWIND_FUNCTION(unw_getcontext
 @ On entry:
 @  thread_state pointer is in r0
 @
-  .align 2
+  .p2align 2
 DEFINE_LIBUNWIND_FUNCTION(unw_getcontext)
   @ 32bit thumb-2 restrictions for stm:
   @ . the sp (r13) cannot be in the list





More information about the cfe-commits mailing list