
12 Jan
2006
12 Jan
'06
8:27 a.m.
In message 43C5A61B.8010603@google.com you wrote:
I was attempting to debug an issue so I wanted to turn off the optimization (change from -Os to -O0 in config.mk) so I can more easily step thru code in gdb. When I do this for the sandpoint8245 target I get the following error. I am using u-boot 1.1.4 pulled down yesterday
...
cannot move location counter backwards (from fff04288 to fff04000)
That means that the code became larger because of missing optimization, and you either need to adapt your linker script (u-boot.lds).
Has anyone else managed to fix this?
Of course. Some boards even provide a debug version of the linker script (u-boot.lds.debug).
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Life is a game. Money is how we keep score. - Ted Turner