Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: MinGW32CE (arm-wince-mingw32ce
Submitted By: Marcus Brinkmann (marcus-b)
Assigned to: Nobody/Anonymous (nobody)
Summary: idata5 MUST NOT be in .rdata
idata5 must be writable, because it contains the addresses of imported symbols. cegcc currently places them in .rdata. The system happily accepts that and fills in the addresses of imported symbols, but under memory pressure the page can be evicted (it's "rdata" after all), and when it is loaded back from storage the address of the imported symbols on this page are gone.
The problem is only visible under memory pressure, when the application suddenly starts to crash when calling library functions.