I'm running into a problem using ReAction with gcc's libstubs.a.
It contains stubs generated from the 3.9 NDK SFDs like this:
void* LayoutBase[2] = { 0, "layout.library" };
These are used by newlib __initlibraries to auto-open the library if the program references the corresponding symbol.
However the names do not match ReAction class names. LayoutBase's name is "gadgets/layout.gadget" in the Autodoc. The program consequently fails the OpenLibrary call during newlib init and terminates.
(Interestingly the 3.2 NDK dropped these SFDs. Perhaps 3.9 had libraries named like this?)
Is it possible to skip auto-open, or to not link libstubs.a, without writing custom startup code?
|