Undefined Symbol Error in GAS
David Korn
dkorn@pixelpower.com
Wed Feb 28 02:30:00 GMT 2001
>-----Original Message-----
>From: Steve deRosier [ mailto:sderosier@vari-lite.com ]
>Sent: 27 February 2001 20:32
> LEA.L .STARTOF.(stack)+.SIZEOF.(stack),SP * initialize
>stack pointer
>I just went and replaced it with:
> LEA.L .STARTOF.(stack),SP
> ADDA.L #.SIZEOF.(stack),SP
Heh. You do, of course, realise what will happen if an interrupt
occurs between these two instructions ? It might be best to do the
calculation in a temporary register...
lea.l .STARTOF.(stack),a0
lea.l .SIZEOF.(stack)(a0),sp
DaveK
--
All your base are belong to us!
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
More information about the Binutils
mailing list