diff options
| author | Renato Golin <renato.golin@linaro.org> | 2016-07-13 14:01:15 +0000 |
|---|---|---|
| committer | Renato Golin <renato.golin@linaro.org> | 2016-07-13 14:01:15 +0000 |
| commit | 2931b2128612af82e9c5c2a3fcd7ba5dea2eeb1b (patch) | |
| tree | b825ca944c1cc8451d515aa723451d5b07f8d75f /compiler-rt/lib/builtins/arm/aeabi_memset.S | |
| parent | 0b067c12526975e90e940085f6665deefd6789f1 (diff) | |
| download | bcm5719-llvm-2931b2128612af82e9c5c2a3fcd7ba5dea2eeb1b.tar.gz bcm5719-llvm-2931b2128612af82e9c5c2a3fcd7ba5dea2eeb1b.zip | |
[RT-ARM] Syntax unified for aeabi_mem* functions
Use unified syntax for builtins/arm/aeabi_mem*.S.
This makes these files consistent with the others.
This fixes a problem on the linker, which can fail with the message
"relocation truncated to fit: R_ARM_THM_JUMP11 against symbol"
Patch by Kor Nielsen.
llvm-svn: 275264
Diffstat (limited to 'compiler-rt/lib/builtins/arm/aeabi_memset.S')
| -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 c1d655a559d..48edd89705b 100644 --- a/compiler-rt/lib/builtins/arm/aeabi_memset.S +++ b/compiler-rt/lib/builtins/arm/aeabi_memset.S @@ -12,6 +12,7 @@ // void __aeabi_memset(void *dest, size_t n, int c) { memset(dest, c, n); } // void __aeabi_memclr(void *dest, size_t n) { __aeabi_memset(dest, n, 0); } + .syntax unified .p2align 2 DEFINE_COMPILERRT_FUNCTION(__aeabi_memset) mov r3, r1 |

