This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
RE: Undefined Symbol Error in GAS
- To: 'Steve deRosier' <sderosier at vari-lite dot com>, wolfgang dot gertzen at micromatik dot com, binutils at sources dot redhat dot com
- Subject: RE: Undefined Symbol Error in GAS
- From: David Korn <dkorn at pixelpower dot com>
- Date: Wed, 28 Feb 2001 10:36:48 -0000
>-----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
**********************************************************************