On Thu, Jan 29, 2015 at 11:51:12AM +0900, Masahiro Yamada wrote: > 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@xxxxxxxxxxxxxxxx> Applied, thanks Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox