]> git.sur5r.net Git - u-boot/commit
VoiceBlue: fix linker errors
authorLadislav Michl <Ladislav.Michl@seznam.cz>
Thu, 18 Feb 2010 02:29:45 +0000 (21:29 -0500)
committerTom Rix <Tom.Rix@windriver.com>
Sun, 7 Mar 2010 18:36:35 +0000 (12:36 -0600)
commit5c97a1de196fdcbe9d098948ecf4fccfbea23b78
treeb86c39bee4ab477134ef07d9ab58f3d2017b9c71
parenta32c1e0ecd563c65c617b0eb9080a10d286bb0b4
VoiceBlue: fix linker errors

linking eeprom with libgeneric.a is not really needed and causes following
error:
../../lib_generic/libgeneric.a(string.o): In function `strcmp':
/home/ladis/src/u-boot-ti/lib_generic/string.c:152: multiple definition of `strcmp'
../../examples/standalone/libstubs.a(stubs.o):include/_exports.h:24: first defined here
make[1]: *** [eeprom.srec] Error 1

Fix undefined reference to memset generated by some versions of gcc
to zero out initialized structure on the stack:
eeprom.o: In function `eeprom':
board/voiceblue/eeprom.c:152: undefined reference to `memset'
make[1]: *** [eeprom] Error 1

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
board/voiceblue/Makefile
board/voiceblue/eeprom.c
board/voiceblue/eeprom.lds [deleted file]
board/voiceblue/eeprom_start.S [deleted file]