]> git.sur5r.net Git - u-boot/commit
MIPS: Purple: Fix multiple definition error on final linking of u-boot binary
authorDaniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Thu, 3 Feb 2011 13:17:09 +0000 (14:17 +0100)
committerShinya Kuribayashi <skuribay@pobox.com>
Sat, 5 Feb 2011 11:05:14 +0000 (20:05 +0900)
commitec36d1f422f1a5b06d24db1ca8aedfacf0c8a30f
tree3acf2ca2bc1dc5cb2c82b5f88a74bfb1375209a1
parent383015b2cc509266da01444bb4b117cf2aeb591a
MIPS: Purple: Fix multiple definition error on final linking of u-boot binary

The linker of recent toolchains complains about multiple definitions
on final linking of u-boot binary. This patch removes all redundant
object files from u-boot.lds those are already added to .text section
by the linker.

That patch could not be tested but the resulting u-boot.map still looks
good. The start symbol is at 0xB0000000, the environment at 0xB0008000
so u-boot should boot.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Cc: Wolfgang Denk <wd@denx.de>
Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
board/purple/u-boot.lds