9
0
Fork 0
barebox/arch/blackfin
Masahiro Yamada 5020f86af9 blackfin: fix undefined reference with CONFIG_CMD_MAGICVAR
For Blackfin, C symbols are prefixed with '_'.

If CONFIG_CMD_MAGICVAR is enabled for Blackfin, the following error occurs:

commands/built-in.o: In function `do_magicvar':
commands/magicvar.c:(.text+0x3326): undefined reference to `__barebox_magicvar_start'
commands/magicvar.c:(.text+0x332a): undefined reference to `__barebox_magicvar_end'
commands/magicvar.c:(.text+0x332e): undefined reference to `__barebox_magicvar_start'
commands/magicvar.c:(.text+0x3332): undefined reference to `__barebox_magicvar_end'
make: *** [barebox] Error 1

Add '_' to __barebox_magicvar_start and __barebox_magicvar_end,
like the other symbols in this linker script.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2015-02-02 11:46:31 +01:00
..
boards/ipe337 blackfin: fix undefined reference with CONFIG_CMD_MAGICVAR 2015-02-02 11:46:31 +01:00
configs commands: NET_DHCP -> CMD_DHCP 2014-05-14 10:03:49 +02:00
cpu-bf561 blackfin: initialize malloc pool before start_barebox() 2013-03-14 08:41:27 +01:00
include/asm blackfin: consolidate arch/blackfin/include/asm/linkage.h 2015-02-02 11:46:31 +01:00
lib blackfin: consolidate arch/blackfin/include/asm/linkage.h 2015-02-02 11:46:31 +01:00
Kconfig consistently use the same bitops.h file 2014-07-17 07:43:58 +02:00
Makefile Makefile: generate a barebox-flash-image link 2012-08-12 16:16:44 +02:00