How to forbid a function to use stack?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I haved declared all local variables in the function static. But gcc still generates ARCH-depended (MIPS) code at the beginning
of the function

----------------------------------------------
80006468:	27bdffe0 	addiu	sp,sp,-32
8000646c:	afbf001c 	sw	ra,28(sp)
80006470:	afbe0018 	sw	s8,24(sp)
...
----------------------------------------------

How to inform gcc not to do these for this function?


Best Regards
PRC
2008/2/19


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux