(If no one minds I'll keep dumping the issues that I find in this thread.)

Solaris "as" chokes on the ".space" directive, which appears to be generated by the C-- compiler,
specifically, compiler/nativeGen/PprMach.hs, line 693:

pprData (CmmUninitialised bytes) = ptext SLIT(".space ") <> int bytes

According to the GNU binutils docs:

This [.space] directive emits size bytes, each of value fill. Both size and fill are absolute expressions. If the comma and fill are omitted, fill is assumed to be zero. This is the same as `.skip'.

So I believe GHC should use ".skip" in this situation, at least for solaris, but probably for all x86 platforms.

Cheers,
Bernie.

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to