public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Srinivas Mantripragada <smprag@yahoo.com>
To: gcc@gcc.gnu.org, gcc-help@gcc.gnu.org
Cc: smprag@yahoo.com
Subject: help: STACK_PARMS_IN_REG_PARM_AREA (or REG_PARM_STACK_SPACE) option
Date: Tue, 19 Dec 2000 21:24:00 -0000	[thread overview]
Message-ID: <20001220052405.3844.qmail@web1605.mail.yahoo.com> (raw)

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/

                 reply	other threads:[~2000-12-19 21:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001220052405.3844.qmail@web1605.mail.yahoo.com \
    --to=smprag@yahoo.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).