From: Daniel Jacobowitz <drow@false.org>
To: Joel Brobecker <brobecker@gnat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA/testsuite/powerpc] New gdb.arch test for prologue analysis
Date: Mon, 19 Apr 2004 23:34:00 -0000 [thread overview]
Message-ID: <20040419233408.GB27896@nevyn.them.org> (raw)
In-Reply-To: <20040419232439.GC22414@gnat.com>
On Mon, Apr 19, 2004 at 04:24:39PM -0700, Joel Brobecker wrote:
> Tested on powerpc-aix-5.1. Ok to apply?
Tested only on powerpc-aix, I can see :)
> asm (" .csect .text[PR]\n"
> " .align 2\n"
> " .lglobl .li_stw\n"
> " .csect li_stw[DS]\n"
> "li_stw:\n"
> " .long .li_stw, TOC[tc0], 0\n"
> " .csect .text[PR]\n"
> ".li_stw:\n"
> " stw 31,-4(1)\n"
> " stwu 1,-48(1)\n"
> " mr 31,1\n"
> " stw 11,24(31)\n"
> " li 0,8765\n"
> " stw 0,28(31)\n"
> " lwz 1,0(1)\n"
> " lwz 31,-4(1)\n"
> " blr\n");
AIX functions look distinctly unlike other (32-bit) PowerPC functions,
because AIX uses function descriptors and powerpc-eabi/powerpc-linux/etc
do not. This is only valid for AIX.
You should either find a way to make it work on both - unlikely to be
worth the trouble - or call this file something AIX specific.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2004-04-19 23:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-19 23:24 Joel Brobecker
2004-04-19 23:34 ` Daniel Jacobowitz [this message]
2004-04-19 23:58 ` Joel Brobecker
2004-04-26 16:18 ` Joel Brobecker
2004-05-07 14:35 ` Andrew Cagney
2004-05-08 0:12 ` Joel Brobecker
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=20040419233408.GB27896@nevyn.them.org \
--to=drow@false.org \
--cc=brobecker@gnat.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