summaryrefslogtreecommitdiffstats
path: root/libcxxabi/src
diff options
context:
space:
mode:
authorNick Kledzik <kledzik@apple.com>2014-01-23 21:46:35 +0000
committerNick Kledzik <kledzik@apple.com>2014-01-23 21:46:35 +0000
commit53c98b071e7440b3694b2b14b16db3db4e29d1a0 (patch)
tree9c8928b069c3f634d3d9c45bb7273ca94a2a8b8e /libcxxabi/src
parent7383d4a9c5ed9bd90a3dab039fa0bf8efb687748 (diff)
downloadbcm5719-llvm-53c98b071e7440b3694b2b14b16db3db4e29d1a0.tar.gz
bcm5719-llvm-53c98b071e7440b3694b2b14b16db3db4e29d1a0.zip
Use .p2align instead of .align
llvm-svn: 199941
Diffstat (limited to 'libcxxabi/src')
-rw-r--r--libcxxabi/src/Unwind/UnwindRegistersRestore.S4
-rw-r--r--libcxxabi/src/Unwind/UnwindRegistersSave.S4
2 files changed, 4 insertions, 4 deletions
diff --git a/libcxxabi/src/Unwind/UnwindRegistersRestore.S b/libcxxabi/src/Unwind/UnwindRegistersRestore.S
index 9f077051b99..cf36e7d1a45 100644
--- a/libcxxabi/src/Unwind/UnwindRegistersRestore.S
+++ b/libcxxabi/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/libcxxabi/src/Unwind/UnwindRegistersSave.S b/libcxxabi/src/Unwind/UnwindRegistersSave.S
index 681b44c7442..a3617ed14aa 100644
--- a/libcxxabi/src/Unwind/UnwindRegistersSave.S
+++ b/libcxxabi/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
OpenPOWER on IntegriCloud