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]

Re: another problem with m68k-elf


On Fri, May 25, 2001 at 09:35:57AM +0930, Alan Modra wrote:
> On Thu, May 24, 2001 at 12:05:29PM +0100, pjak@snafu.de wrote:
> > x1:
> >   .space 16
> >   .set x2,.-x1
> > 
> >   .space x2
> >[snip] 
> > "Error: .space specifies non-absolute value"
> 
> We can make this work fairly easily.

No, we can't.  This breaks other places in the assembler that assume
a symbol in absolute_section can be evaluated at any time.  I should
have known...  Reverting until I figure this mess out.

> gas/ChangeLog
> 	* expr.c (expr): Set return value to absolute_section for
> 	subtractive operations on symbols within a segment.
> 	* read.c (pseudo_set): Set segment for complex expressions.


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