From: Phil Edworthy Date: Thu, 1 Jun 2017 06:33:29 +0000 (+0100) Subject: armv7m: Fix larger builds X-Git-Tag: v2017.07-rc1~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=71d2cf23595e6174d50950d60ff28e028a183185;p=platform%2Fkernel%2Fu-boot.git armv7m: Fix larger builds The branch instruction only has an 11-bit relative target address, which is sometimes not enough. Signed-off-by: Phil Edworthy --- diff --git a/arch/arm/cpu/armv7m/start.S b/arch/arm/cpu/armv7m/start.S index 49f2720..890c773 100644 --- a/arch/arm/cpu/armv7m/start.S +++ b/arch/arm/cpu/armv7m/start.S @@ -5,10 +5,12 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#include + .globl reset .type reset, %function reset: - b _main + W(b) _main .globl c_runtime_cpu_setup c_runtime_cpu_setup: