[U-Boot] [PATCH 1/2] arm: Add ENTRY/ENDPROC to private libgcc functions

Albert ARIBAUD albert.u.boot at aribaud.net
Wed Jul 1 16:11:10 CEST 2015


Hello Simon,

On Tue,  2 Jun 2015 11:08:20 -0600, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> Reported-by: Pavel Machek <pavel at denx.de>
> ---
> 
>  arch/arm/lib/_ashldi3.S |  6 ++++--
>  arch/arm/lib/_ashrdi3.S |  6 ++++--
>  arch/arm/lib/_divsi3.S  |  6 ++++--
>  arch/arm/lib/_lshrdi3.S |  6 ++++--
>  arch/arm/lib/_modsi3.S  |  7 ++++---
>  arch/arm/lib/_udivsi3.S | 10 ++++++----
>  arch/arm/lib/_umodsi3.S |  6 ++++--
>  7 files changed, 30 insertions(+), 17 deletions(-)

Applied to u-boot-arm/master, thanks!

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list