summaryrefslogtreecommitdiff
path: root/lib/builtins/arm/aeabi_uldivmod.S
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-05-12 15:23:37 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-05-12 15:23:37 +0000
commiteee6d0a714aef5d40279f9f4608efc7abffa8c76 (patch)
tree2eafba93d6b7b4e0c389b8803a3d5c4bc83e9d52 /lib/builtins/arm/aeabi_uldivmod.S
parent1d5cc7bed35dfcb6932e587157b50f0cf6c19175 (diff)
downloadcompiler-rt-eee6d0a714aef5d40279f9f4608efc7abffa8c76.tar.gz
[CompilerRT] use .p2align, .balign instead of .align
The .align statements in ARM assembly routines is actually meant to be a power of 2 alignment (e.g. .align 2 == 4 byte alignment, not 2). Switch to using .p2align. .p2align is guaranteed to be a power-of-two alignment always and much more explicit. The .align in the case of x86_64 is byte alignment, use .balign instead of .align. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208578 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/builtins/arm/aeabi_uldivmod.S')
-rw-r--r--lib/builtins/arm/aeabi_uldivmod.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/builtins/arm/aeabi_uldivmod.S b/lib/builtins/arm/aeabi_uldivmod.S
index 62a2113cc..4e1f8e2a6 100644
--- a/lib/builtins/arm/aeabi_uldivmod.S
+++ b/lib/builtins/arm/aeabi_uldivmod.S
@@ -17,7 +17,7 @@
// }
.syntax unified
- .align 2
+ .p2align 2
DEFINE_COMPILERRT_FUNCTION(__aeabi_uldivmod)
push {r11, lr}
sub sp, sp, #16