http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48835
--- Comment #4 from Thorsten Glaser <tg at mirbsd dot org> 2011-04-30 22:17:36 UTC --- (In reply to comment #2) > apparently not treated as a pointer, thus the value is returned in %d0. But > the caller expects the returned value in %a0. Ah, I see. We both got the same guess then, which makes me kind of happy to see that the analysis seems good. I lost quite some time tracking down my first error though (even annotating EVERY line of a disassembly with what it does), only to find out it now segfaulted later… ☺