On Thu, Dec 11, 2014 at 07:51:44PM +1030, Alan Modra wrote: > I was worried about exactly the same "problem" on powerpc with r11 > being used for the static chain and also destroyed in linkage stubs. > It turns out we don't traverse any linkage stubs. > > See https://gcc.gnu.org/ml/gcc-patches/2014-11/msg00446.html. I've written a small test suite that tests reflection calls over module boundaries (see attachment). Build with "make" and then just run "./main". The program must not crash; it does not check consistency of the function arguments. Ciao Dominik ^_^ ^_^ -- Dominik Vogt IBM Germany