Article View: gnu.gcc.help
Article #42316Help with stack layout of SPARC
From: Varadarajan
Date: Mon, 11 Dec 1995 00:00
Date: Mon, 11 Dec 1995 00:00
23 lines
1473 bytes
1473 bytes
Hi all,
This is an extract from sparc.h file from gcc...
/* Actual top-of-stack address is 92/136 greater than the contents of the
stack pointer register for !v9/v9. That is:
- !v9: 64 bytes for the in and local registers, 4 bytes for structure return
address, and 24 bytes for the 6 register parameters.
- v9: 128 bytes for the in and local registers + 8 bytes reserved. */
But when I see the output of assembly programs that are generated by
gcc, I happen to get
save %sp, -112, %sp...
Now what is this extra 20 bytes used for?? Am I missing something very
silly and stupid.
Thanks for the help,
Best Regards,
--
------------------------------------------------------------------------
| Varadarajan.T.S. | It's not an optical illusion, it just |
| M.S. Comp Science | looks like one. |
| tsv@cs.umanitoba.ca | #include "std_disclaimer.h" |
------------------------------------------------------------------------
Technical Details
Message-ID:
<9512120222.AA09124@nickel.cs.umanitoba.ca>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,1ff9a861c98221,start X-Google-Attributes: gid11318c,public From: tsv@cs.umanitoba.CA (Varadarajan) Subject: Help with stack layout of SPARC Date: 1995/12/11 Message-ID: <9512120222.AA09124@nickel.cs.umanitoba.ca> X-Deja-AN: 121609986 distribution: gnu sender: daemon@cis.ohio-state.edu organization: GNUs Not Usenet reply-to: tsv@cs.umanitoba.ca newsgroups: gnu.gcc.help