diff options
author | Nick Kledzik <kledzik@apple.com> | 2014-01-23 21:46:35 +0000 |
---|---|---|
committer | Nick Kledzik <kledzik@apple.com> | 2014-01-23 21:46:35 +0000 |
commit | b599e66f83a53986fea0ef5dbd50ab235bfe6cda (patch) | |
tree | ad9b649a1b12297804c4359326bdbb163272175d | |
parent | a3667741192e8ef640535b4af0d7ad6f22230b36 (diff) | |
download | libcxxabi_35a-b599e66f83a53986fea0ef5dbd50ab235bfe6cda.tar.gz |
Use .p2align instead of .align
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@199941 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | src/Unwind/UnwindRegistersRestore.S | 4 | ||||
-rw-r--r-- | src/Unwind/UnwindRegistersSave.S | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Unwind/UnwindRegistersRestore.S b/src/Unwind/UnwindRegistersRestore.S index 9f07705..cf36e7d 100644 --- a/src/Unwind/UnwindRegistersRestore.S +++ b/src/Unwind/UnwindRegistersRestore.S @@ -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(_ZN9libunwind15Registers_arm646jumptoEv) @ 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 diff --git a/src/Unwind/UnwindRegistersSave.S b/src/Unwind/UnwindRegistersSave.S index 681b44c..a3617ed 100644 --- a/src/Unwind/UnwindRegistersSave.S +++ b/src/Unwind/UnwindRegistersSave.S @@ -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 |