On Thu, 13 Oct 2011 19:02:24 +0200, Karel Gardas <[email protected]> wrote: > OK! Quick testing reveals: > > Loading package ghc-prim ... linking ... ghc-stage2: > /export/home/karel/vcs/ghc-src/bgamari-ghc-arm-linker/libraries/ghc-prim/dist-install/build/HSghc-prim-0.2.0.0.o: > > ARM to Thumb transition unsupported > > ghc-stage2: unable to load package `ghc-prim' > This is fixed in the code I just pushed. I implemented both ARM -> Thumb and Thumb -> ARM transitions for the R_ARM_CALL and R_ARM_THM_CALL relocation types. As I note in the code, there are other relocation types which might also cause instruction set transitions, but these are harder, requiring the generation of veneer instructions. Hopefully we won't hit these cases.
Cheers, - Ben _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
