[nhc-bugs] build failure

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Sun Jun 13 09:27:52 EDT 2004


Ian Lynagh <igloo at earth.li> 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


More information about the Nhc-bugs mailing list