public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* help: STACK_PARMS_IN_REG_PARM_AREA (or REG_PARM_STACK_SPACE) option
@ 2000-12-19 21:24 Srinivas Mantripragada
  0 siblings, 0 replies; only message in thread
From: Srinivas Mantripragada @ 2000-12-19 21:24 UTC (permalink / raw)
  To: gcc, gcc-help; +Cc: smprag

Hi,

	I have built a MIPS cross-compiler from
a linux host. I was trying to make the MIPS cross
compiler to explicitly store arguments to the
stack at the callers' frame, and load the arguments
from the stack at the callee's site. The "Using
and Porting GNU CC" recommends to use the
STACK_PARMS_IN_REG_PARM_AREA option, so I defined this
option along with

-DREG_PARM_STACK_SPACE
-DACCUMULATE_OUTGOING_ARGS
-DOUTGOING_REG_PARM_STACK_SPACE

and built the cross MIPS compiler.

However, running a sample code doesn't produce
the desired output. The .s output file is the
same as what was produced by the compiler without
the above options, where the arguments are still
passed using argument registers..

Can anybody please suggest, what I am missing or
doing wrong? Any help will be greatly appreciated.

-Srini


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-12-19 21:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-19 21:24 help: STACK_PARMS_IN_REG_PARM_AREA (or REG_PARM_STACK_SPACE) option Srinivas Mantripragada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).