From: Andrew Cagney <ac131313@cygnus.com>
To: Elena Zannoni <ezannoni@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA] PPC ABI compliance fix
Date: Fri, 22 Mar 2002 11:52:00 -0000 [thread overview]
Message-ID: <3C9B8B66.2090403@cygnus.com> (raw)
In-Reply-To: <15515.34258.778318.466752@localhost.redhat.com>
> Index: ppc-linux-tdep.c
> ===================================================================
> RCS file: /cvs/uberbaum/gdb/ppc-linux-tdep.c,v
> retrieving revision 1.13
> diff -u -r1.13 ppc-linux-tdep.c
> --- ppc-linux-tdep.c 2002/02/24 22:31:19 1.13
> +++ ppc-linux-tdep.c 2002/03/22 18:48:39
> @@ -414,6 +414,14 @@
> it may be used generically by ports which use either the SysV ABI or
> the EABI */
>
> +/* Structures 8 bytes or less long are returned in the r3 & r4
> + registers, according to the SYSV ABI. */
> +int
> +ppc_sysv_abi_use_struct_convention (int gcc_p, struct type *value_type)
> +{
> + return (TYPE_LENGTH (value_type) > 8);
> +}
> +
> /* round2 rounds x up to the nearest multiple of s assuming that s is a
> power of 2 */
Should this live in rs6000-tdep.c?
enjoy,
Andrew
next prev parent reply other threads:[~2002-03-22 19:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-22 11:28 Elena Zannoni
2002-03-22 11:52 ` Andrew Cagney [this message]
2002-03-22 12:06 ` Elena Zannoni
2002-03-22 12:37 ` Kevin Buettner
2002-03-22 12:47 ` Kevin Buettner
2002-03-22 13:41 ` Elena Zannoni
2002-03-22 14:01 ` Elena Zannoni
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=3C9B8B66.2090403@cygnus.com \
--to=ac131313@cygnus.com \
--cc=ezannoni@redhat.com \
--cc=gdb-patches@sources.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