9
0
Fork 0
barebox/arch/blackfin/boards/ipe337
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
..
env move boards to arch/<architecure>/boards 2010-07-23 08:35:25 +02:00
.gitignore Add some .gitignore files 2014-09-12 11:59:24 +02:00
Makefile move boards to arch/<architecure>/boards 2010-07-23 08:35:25 +02:00
barebox.lds.S blackfin: fix undefined reference with CONFIG_CMD_MAGICVAR 2015-02-02 11:46:31 +01:00
cmd_alternate.c move file helper functions to separate file 2014-08-07 06:13:51 +02:00
config.h move boards to arch/<architecure>/boards 2010-07-23 08:35:25 +02:00
ipe337.c Set model and hostname at boardlevel 2013-08-16 08:40:55 +02:00