Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Richard Earnshaw <rearnsha@arm.com>
To: Michael Snyder <msnyder@redhat.com>
Cc: Richard.Earnshaw@arm.com, Michael Snyder <msnyder@cygnus.com>,
	gdb-patches@sources.redhat.com, rearnsha@arm.com
Subject: Re: [RFA] arm_scan_prologue: accept strh and strb as well as str
Date: Wed, 08 May 2002 12:11:00 -0000	[thread overview]
Message-ID: <200205081910.UAA08344@cam-mail2.cambridge.arm.com> (raw)
In-Reply-To: Your message of "Wed, 08 May 2002 11:20:37 PDT." <3CD96C75.7D72B96E@redhat.com>


> [sorry for the empty reply]
> OK -- I'd be glad to do that.  Could you possibly 
> provide me an example to work from?  

Below.

> 
> arm_scan_prologue is easy, since it accepts prologue instructions
> in any order, but arm_skip_prologue imposes an ordering on them.
> I would REALLY like to merge these two functions.  In fact I started
> to, but then got busy with other things.

Go for it...

compile the following with gcc-3.0 or later, with the options

-O -mcpu=strongarm -mno-apcs-frame

void foo (char a, short b, int c);
void bar (char *a, short *b, int *c);

void foo (char a, short b, int c)
{
  bar (&a, &b, &c);
}

void bar (char *a, short *b, int *c)
{
  foo (*a, *b, *c);
}

R.


  reply	other threads:[~2002-05-08 19:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-25 18:30 Michael Snyder
2002-05-08  8:02 ` Richard Earnshaw
2002-05-08 11:32   ` Michael Snyder
2002-05-08 11:33   ` Michael Snyder
2002-05-08 12:11     ` Richard Earnshaw [this message]
2002-05-08 15:36       ` Michael Snyder
2002-05-08 15:41         ` Michael Snyder
2002-05-09  2:20           ` Richard Earnshaw
2002-05-09 11:02             ` Michael Snyder
2002-05-09  2:18         ` Richard Earnshaw
2002-05-09 11:07           ` Michael Snyder

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=200205081910.UAA08344@cam-mail2.cambridge.arm.com \
    --to=rearnsha@arm.com \
    --cc=Richard.Earnshaw@arm.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=msnyder@cygnus.com \
    --cc=msnyder@redhat.com \
    /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