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 <phil.edworthy@renesas.com>
master
Phil Edworthy 7 years ago committed by Tom Rini
parent 111a6af97a
commit 71d2cf2359
  1. 4
      arch/arm/cpu/armv7m/start.S

@ -5,10 +5,12 @@
* SPDX-License-Identifier: GPL-2.0+
*/
#include <asm/assembler.h>
.globl reset
.type reset, %function
reset:
b _main
W(b) _main
.globl c_runtime_cpu_setup
c_runtime_cpu_setup:

Loading…
Cancel
Save