diff options
author | Daniel Thompson <daniel.thompson@linaro.org> | 2017-08-17 17:30:54 +0100 |
---|---|---|
committer | Daniel Thompson <daniel.thompson@linaro.org> | 2017-08-17 17:31:23 +0100 |
commit | 976c9ecfc85a17ea4681c1eb2d1cf8f12251311b (patch) | |
tree | dedf43a6c2b3ecd9a4a080a763a91e407eaf6cf6 | |
parent | a51778b65da54991898b5eb1311be5de5c1a5388 (diff) |
arm: libgcc: Adopt ENTRY/ENDPROC to ensure function type is recordedrda/hacking
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
-rw-r--r-- | arch/arm/lib/_ashldi3.S | 11 | ||||
-rw-r--r-- | arch/arm/lib/_ashrdi3.S | 11 | ||||
-rw-r--r-- | arch/arm/lib/_lshrdi3.S | 11 |
3 files changed, 21 insertions, 12 deletions
diff --git a/arch/arm/lib/_ashldi3.S b/arch/arm/lib/_ashldi3.S index 834ddc2542..b0a595a095 100644 --- a/arch/arm/lib/_ashldi3.S +++ b/arch/arm/lib/_ashldi3.S @@ -25,6 +25,8 @@ along with this program; see the file COPYING. If not, write to the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include <linux/linkage.h> +#include <asm/assembler.h> #ifdef __ARMEB__ #define al r1 @@ -34,10 +36,8 @@ Boston, MA 02110-1301, USA. */ #define ah r1 #endif -.globl __ashldi3 -.globl __aeabi_llsl -__ashldi3: -__aeabi_llsl: +ENTRY(__ashldi3) +ENTRY(__aeabi_llsl) subs r3, r2, #32 rsb ip, r2, #32 @@ -46,3 +46,6 @@ __aeabi_llsl: orrmi ah, ah, al, lsr ip mov al, al, lsl r2 mov pc, lr + +ENDPROC(__ashldi3) +ENDPROC(__aeabi_llsl) diff --git a/arch/arm/lib/_ashrdi3.S b/arch/arm/lib/_ashrdi3.S index 671ac87a2b..a7e8789428 100644 --- a/arch/arm/lib/_ashrdi3.S +++ b/arch/arm/lib/_ashrdi3.S @@ -25,6 +25,8 @@ along with this program; see the file COPYING. If not, write to the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include <linux/linkage.h> +#include <asm/assembler.h> #ifdef __ARMEB__ #define al r1 @@ -34,10 +36,8 @@ Boston, MA 02110-1301, USA. */ #define ah r1 #endif -.globl __ashrdi3 -.globl __aeabi_lasr -__ashrdi3: -__aeabi_lasr: +ENTRY(__ashrdi3) +ENTRY(__aeabi_lasr) subs r3, r2, #32 rsb ip, r2, #32 @@ -46,3 +46,6 @@ __aeabi_lasr: orrmi al, al, ah, lsl ip mov ah, ah, asr r2 mov pc, lr + +ENDPROC(__ashrdi3) +ENDPROC(__aeabi_lasr) diff --git a/arch/arm/lib/_lshrdi3.S b/arch/arm/lib/_lshrdi3.S index e7fa799387..7df0953b66 100644 --- a/arch/arm/lib/_lshrdi3.S +++ b/arch/arm/lib/_lshrdi3.S @@ -25,6 +25,8 @@ along with this program; see the file COPYING. If not, write to the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include <linux/linkage.h> +#include <asm/assembler.h> #ifdef __ARMEB__ #define al r1 @@ -34,10 +36,8 @@ Boston, MA 02110-1301, USA. */ #define ah r1 #endif -.globl __lshrdi3 -.globl __aeabi_llsr -__lshrdi3: -__aeabi_llsr: +ENTRY(__lshrdi3) +ENTRY(__aeabi_llsr) subs r3, r2, #32 rsb ip, r2, #32 @@ -46,3 +46,6 @@ __aeabi_llsr: orrmi al, al, ah, lsl ip mov ah, ah, lsr r2 mov pc, lr + +ENDPROC(__lshrdi3) +ENDPROC(__aeabi_llsr) |