This is alternative version of D36579, which uses
addUndefined() for creating dummy symbols assigned
by linkerscript.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Why do you need an alternative solution? (Speaking of simplicity, I think both solutions seem too complicated. I don't have a clear idea at the moment, but I believe there must be some way to make this a non-issue. It seems that the existence of the problem is a signal that our architecture is not right.)
Comment Actions
Personally I find this one slightly more preferable. It looks less intrusive for me, also I do not really like all sort of dummy values (like in first version).
Comparing these 2: I find it is simpler for understanding that untill script is processed, it's symbols are simply undefined.