On Sat, 22 Oct 2011 16:58:18 +0200, Karel Gardas <[email protected]> wrote: > Hi Ben, > > first of all, thank you very much for your progress. No, I don't see > crash, but in fact infinite loop. As far as I understand the linker > message '..linking...done' is printed when all the relocations are > processed -- so it does not necessarily mean that all the relocations > are processed correctly. My bet is that some of your relocation > processing might not be correct. > Definitely. As I noted, I'm still not very confident that the relocation code is correct. That being said, just getting to the point where it doesn't branch to the middle of nowhere is quite a milestone.
> If you don't get to this sooner (or any other interested developer), > then in about 2 weeks I'll check your code to see if I see any obvious > problem with your implementation in comparison with what ARM suggest in > their ELF doc... > Thanks! Another set of eyes would definitely be helpful. I'll try taking a look at it again sometime this weekend. It would be really nice if you could figure out where it's getting stuck. Breaking in GDB will give you the address. I have a patch which adds debugging output to all of the relocation paths, so in principle you can identify what type of relocation, if any, produced the code in question. Thanks again! Cheers, - Ben _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
