This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Nested functions on ARM
- To: Nick Clifton <nickc at redhat dot com>
- Subject: Re: Nested functions on ARM
- From: law at redhat dot com
- Date: Tue, 14 Nov 2000 10:04:23 -0700
- cc: rearnshaw at cambridge dot arm dot com, drepper at redhat dot com, gcc-bugs at gcc dot gnu dot org, Philip dot Blundell at pobox dot com, scottb at netwinder dot org
- Reply-To: law at redhat dot com
In message <200011140202.SAA19348@elmo.cygnus.com>you write:
> There are two problems with the patch. Firstly it does not handle
> the corruption of the IP register by the PIC code when AOF_ASSEMBLER
> is true. I was unable to decipher what this code was doing (and why
> it is in output_arm_prologue instead of arm_expand_prologue). If it
> is important I could try to add code for this case as well.
Unsure about this one.
> The second problem is that the code uses an unallocated stack slot
> (ie a slot below the stack pointer). It is only used for a short
> period of time, but it is vulnerable to corruption by interrupt
> handlers and the like. I do not know if this will be a problem in
> real life.
This is a real problem. Consider signal handling, interrupts, etc.
jeff