From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Wed, 1 Jul 2015 16:11:10 +0200 Subject: [U-Boot] [PATCH 1/2] arm: Add ENTRY/ENDPROC to private libgcc functions In-Reply-To: <1433264901-15252-1-git-send-email-sjg@chromium.org> References: <1433264901-15252-1-git-send-email-sjg@chromium.org> Message-ID: <20150701161110.3437c2c0@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Simon, On Tue, 2 Jun 2015 11:08:20 -0600, Simon Glass 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 > Reported-by: Pavel Machek > --- > > 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.