Re: build failure

Malcolm Wallace <[email protected]> Sun, 13 Jun 2004 14:27:52 +0100
Newsgroups gmane.comp.lang.haskell.nhc.bugs
Organization Dept of Computer Science, University of York
Message-ID <[email protected]>
Ian Lynagh <[email protected]> writes:

> Just had a look on mips (one of the arches where it currently matters
> for me) and both 3.2 and 3.3 are generating ".align 2" rather than
> ".align 4". As far as I know this hasn't caused a problem in the past.
> Have I just been lucky or is this also fine? Or is it something that
> should be fixed?

I imagine that, since 'startLabel' is always the first symbol to be
defined in any object file, it will naturally get a 4-byte alignment
anyway thanks to the linker, regardless of whether the compiler places
an ".align 2" or ".align 4" in front of it.

But yes, technically it should probably be .align 4.
Regards,
    Malcolm