This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MIPS assembly error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]