]> git.sur5r.net Git - u-boot/commit
powerpc/85xx:Fix lds for nand boot debug info
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Wed, 29 Feb 2012 18:00:23 +0000 (18:00 +0000)
committerAndy Fleming <afleming@freescale.com>
Wed, 25 Apr 2012 04:58:31 +0000 (23:58 -0500)
commit5113ee706db56c5aef1e324ebcc944b80a07995d
treeebbdcfe6732c9a715ebb0a93fc831a38165e4a14
parent15c8c6c20cdd00d9a1a76f70297a09848d865657
powerpc/85xx:Fix lds for nand boot debug info

Currently "u-boot", the elf file generated via u-boot-nand.lds does not
contain required debug information i.e. .debug_{line, info, abbrev, aranges,
ranges} into their respective _global_ sections.

The original ld script line arch/powerpc/cpu/mpc85xx/start.o
KEEP(*(.bootpg)) is not entirely correct because the start.o file is already
processed by the linker,therefore the file wildcard in "KEEP(*(.bootpg))" will
not process start.o again for bootpg.

So Fix u-boot-nand.lds to generate these debug information.

Signed-off-by: Anmol Paralkar <b07584@freescale.com>
Signed-off-by: John Russo <John.Russo@freescale.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
arch/powerpc/cpu/mpc85xx/u-boot-nand.lds