
Dear Albert ARIBAUD,
In message 4CCD26B7.8090503@free.fr you wrote:
I can now reproduce the issue using ELDK 4.2 ("works") and CS arm-2010q1-202 ("does not work") toolchains on openrd_base and current tip of master plus Alexander's RFC patch. CS toolchain emits lots of warnings about type-punned pointer dereferencing, though none in nand code, and I think these are not related to our issue.
These are indeed unrelated.
I will now analyze the patch code to see if it contains relocations that should have applied but did not, or if it misses relocations altogether. My currently favored bet right now is that BSS may have gotten its own relocation table in later toolchains, but that's only a bet.
Hm.... probably not BSS as such, but eventually the linker treats segments without "LOAD" attribute differently?
Best regards,
Wolfgang Denk