Le 01/12/2010 13:35, Wolfgang Denk a écrit : > Dear Albert ARIBAUD, > > In message<4cf63345.9020...@free.fr> you wrote: >>> I can not recommend a proper place for all boards cause this parameter >>> is highly is board specific. >> >> Understood -- each board maintainer must select an adapted location >> for the mirror. > > I'm not conviced that ech board maintainer should do that, and I > somewhat doubt the approach taken. > > The main purpose of the patch (as I see it) is to find out which > functions might be candidates to write to bss too early. There is not > that much board specific code involved there. > > If we can generate a slist of functions that are called before > relocation, we can use nm to check if these refernce any sumbols in > bss. We could even generate black / white lists.
Just to clarify: I see Andreas' proposal as a debug tool, notintended to ever be applied to a branch, but to be kept and applied to local developer repositories during debug. It seems you, Wolfgang, are considering this more like a tool that would end up in the u-boot source tree and be e.g. run systematically after a build, even if the builder had no intent of debugging. Am I right? If so, then yes, a tool that would analyze the ELF binary would be a good approach. > Best regards, > > Wolfgang Denk Amicalement, -- Albert. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot