diff options
author | Philippe De Muyter <phdm@macqel.be> | 2012-10-03 13:28:42 +0000 |
---|---|---|
committer | jason <jason@jason-ThinkPad-T61.(none)> | 2012-10-19 23:47:41 +0800 |
commit | 2ca7406c642022a211e6a5d5c9c81af531817d4e (patch) | |
tree | 8419a17ca5ed404d9335e0b19d60ef50ab31da1e /arch/m68k/cpu | |
parent | 12c79a957804c13c2ba8e6606990fd6bd1f55e9a (diff) | |
download | u-boot-imx-2ca7406c642022a211e6a5d5c9c81af531817d4e.zip u-boot-imx-2ca7406c642022a211e6a5d5c9c81af531817d4e.tar.gz u-boot-imx-2ca7406c642022a211e6a5d5c9c81af531817d4e.tar.bz2 |
m68k: Fix relocation errors in start.S
When the environment sectors in the flash are big, one get those errors :
mcf547x_8x/start.S:173: relocation truncated to fit: R_68K_PC16 against
symbol `cpu_init_f' defined in .text section in libmcf547x_8x.a(cpu_init.o)
mcf547x_8x/start.S:174: relocation truncated to fit: R_68K_PC16 against
symbol `board_init_f' defined in .text section in libm68k.a(board.o)
Fix that.
Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Cc: "Jin Zhengxiong-R64188" <R64188@freescale.com>
Cc: Jason Jin <jason.jin@freescale.com>
Diffstat (limited to 'arch/m68k/cpu')
-rw-r--r-- | arch/m68k/cpu/mcf547x_8x/start.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/cpu/mcf547x_8x/start.S b/arch/m68k/cpu/mcf547x_8x/start.S index ec65cae..d99747b 100644 --- a/arch/m68k/cpu/mcf547x_8x/start.S +++ b/arch/m68k/cpu/mcf547x_8x/start.S @@ -164,8 +164,8 @@ _start: move.l #__got_start, %a5 /* put relocation table address to a5 */ - bsr cpu_init_f /* run low-level CPU init code (from flash) */ - bsr board_init_f /* run low-level board init code (from flash) */ + jbsr cpu_init_f /* run low-level CPU init code (from flash) */ + jbsr board_init_f /* run low-level board init code (from flash) */ /* board_init_f() does not return */ |