]> git.sur5r.net Git - u-boot/commit
arm: Add ENTRY/ENDPROC to private libgcc functions
authorSimon Glass <sjg@chromium.org>
Tue, 2 Jun 2015 17:08:20 +0000 (11:08 -0600)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 7 Jul 2015 09:39:22 +0000 (11:39 +0200)
commit1251d51ca587431d07fb37fecb86b21db682e250
tree52daeb01347f666f6399475dacda5c286be08a6b
parent6f43ba70d15e15a08c25b3d956c70addb6740737
arm: Add ENTRY/ENDPROC to private libgcc functions

When CONFIG_SYS_THUMB_BUILD is defined these functions may be called from
Thumb code. Add the required ENTRY and ENDPROC bracketing so that BLX is
used to call these ARM functions, instead of plain BL, which will fail.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Pavel Machek <pavel@denx.de>
arch/arm/lib/_ashldi3.S
arch/arm/lib/_ashrdi3.S
arch/arm/lib/_divsi3.S
arch/arm/lib/_lshrdi3.S
arch/arm/lib/_modsi3.S
arch/arm/lib/_udivsi3.S
arch/arm/lib/_umodsi3.S