diff options
author | Petr Hosek <phosek@chromium.org> | 2019-04-29 00:46:23 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2019-04-29 00:46:23 +0000 |
commit | 37e90d10534b591374e08ca02ff1878803096d41 (patch) | |
tree | 2b537cef0e1d6ca9690ce3e7a6e2833ac6e7c26e /lib/builtins/divsf3.c | |
parent | f0745e8476f069296a7c71accedd061dce4cdf79 (diff) | |
download | compiler-rt-37e90d10534b591374e08ca02ff1878803096d41.tar.gz |
[builtins] Use aliases for function redirects
Symbol aliases are supported by all platforms that compiler-rt builtins
target, and we can use these instead of function redirects to avoid the
extra indirection.
This is part of the cleanup proposed in "[RFC] compiler-rt builtins
cleanup and refactoring".
Differential Revision: https://reviews.llvm.org/D60931
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@359413 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/builtins/divsf3.c')
-rw-r--r-- | lib/builtins/divsf3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/builtins/divsf3.c b/lib/builtins/divsf3.c index f28de0a88..9f44fb948 100644 --- a/lib/builtins/divsf3.c +++ b/lib/builtins/divsf3.c @@ -191,6 +191,6 @@ COMPILER_RT_ABI fp_t __divsf3(fp_t a, fp_t b) { #if defined(COMPILER_RT_ARMHF_TARGET) AEABI_RTABI fp_t __aeabi_fdiv(fp_t a, fp_t b) { return __divsf3(a, b); } #else -AEABI_RTABI fp_t __aeabi_fdiv(fp_t a, fp_t b) COMPILER_RT_ALIAS(__divsf3); +COMPILER_RT_ALIAS(__divsf3, __aeabi_fdiv) #endif #endif |