diff options
| author | Manoj Gupta <manojgupta@google.com> | 2017-09-26 22:37:08 +0000 |
|---|---|---|
| committer | Manoj Gupta <manojgupta@google.com> | 2017-09-26 22:37:08 +0000 |
| commit | 347ff633f72492f8a23cd638c4efcf62b06201d9 (patch) | |
| tree | 230320f4bd3ebadd93c7e1068bcc3a411fe55954 | |
| parent | 1e584a7082571e71c331d993f177271f8cfda4e0 (diff) | |
| download | bcm5719-llvm-347ff633f72492f8a23cd638c4efcf62b06201d9.tar.gz bcm5719-llvm-347ff633f72492f8a23cd638c4efcf62b06201d9.zip | |
[Builtins] Use 4 byte alignment for __aeabi_memclr.
Summary:
Align __aeabi_memclr to 4 bytes. All other ARM functions are already aligned to
4-bytes in compiler-rt.
(Split off from review D38227)
Reviewers: compnerd, peter.smith, srhines, weimingz, rengolin, kristof.beyls
Reviewed By: compnerd
Subscribers: aemerson, javed.absar, llvm-commits
Differential Revision: https://reviews.llvm.org/D38271
llvm-svn: 314255
| -rw-r--r-- | compiler-rt/lib/builtins/arm/aeabi_memset.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/builtins/arm/aeabi_memset.S b/compiler-rt/lib/builtins/arm/aeabi_memset.S index 633f592279b..b8022d9e6a4 100644 --- a/compiler-rt/lib/builtins/arm/aeabi_memset.S +++ b/compiler-rt/lib/builtins/arm/aeabi_memset.S @@ -24,6 +24,7 @@ END_COMPILERRT_FUNCTION(__aeabi_memset) DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memset4, __aeabi_memset) DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memset8, __aeabi_memset) + .p2align 2 DEFINE_COMPILERRT_FUNCTION(__aeabi_memclr) mov r2, r1 movs r1, #0 |

