
Wolfgang Denk wd@denx.de wrote on 2011/04/19 23:35:40:
Dear Joakim Tjernlund,
In message OFC3D6185B.85DCE339-ONC1257877.007406B0-C1257877.00746A1D@transmode.se you wrote:
Can you please provide a fix? I'd like to get rid of this build error ASAP. We could, of course, simply revert these commits.
Grepping shows a boat load of u-boot.lds files under board. I don't have time to patch them all ATM. They really needs to be consolidated somehow but that is over my head.
That means I will revert the two commits?
One, you only claimed that:
The -fPIC flag belongs with -mrelocatable, move it there. Also change -fPIC to -fpic as this produces smaller binaries. However, currently -mrelocatable promotes -fpic to -fPIC, a fix for this is in upcoming gcc 4.6 or you can apply this small patch to gcc:
Broke all those 8xx boards.
Jocke