MIPS assembly error

Ian Lance Taylor ian@wasabisystems.com
Fri Jul 16 17:02:00 GMT 2004


Jeff Baker <jbaker@qnx.com> writes:

> > Your first example used .word.  The MIPS assembler automatically
> > aligns .word values to the natural alignment.  That introduces an
> > implicit alignment directive, and in the first pass gas is not
> > immediately sure how much space that will take up.
> 
> Could this be handled in a subsequent pass?  i.e. After gas knows how
> much space this will take up could it come back and try to simplify
> anything that initally spanned multiple frags?

Yes, in principle, it could.

Here we get into what I said earlier: "handling that correctly would
be very very hard."

Ian



More information about the Binutils mailing list