Adding range extension thunks to an OutputSection alters some InputSection VAs, including the VAs of the thunks themselves. In rare cases a call to a thunk that was valid on pass N, is not valid in some later pass N + K. We account for this by detecting if a caller can't reach the thunk, reseting the relocation to the original and recreating the Thunk.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I'm abandoning the range thunks implementation that inserts into OutputSections in favour of an implementation that inserts into InputSectionDescription.