Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: eager@eagerm.com
Cc: gdb@sourceware.org, amodra@gmail.com
Subject: Re: PowerPC SecurePLT - stepping into library function
Date: Fri, 06 Jan 2012 20:56:00 -0000	[thread overview]
Message-ID: <201201062056.q06KuBZo001389@glazunov.sibelius.xs4all.nl> (raw)
In-Reply-To: <4F075886.9030404@eagerm.com> (message from Michael Eager on Fri,	06 Jan 2012 12:24:38 -0800)

> Date: Fri, 06 Jan 2012 12:24:38 -0800
> From: Michael Eager <eager@eagerm.com>
> 
> https://www.power.org/resources/downloads/Power-Arch-32-bit-ABI-supp-1.0-Linux.pdf

Thanks!

I guess you'll have to do some sort of instruction pattern matching.
The ABI document suggests specific code sequences for them, which is
probably what everybody uses to implement them.  You might want to
have a look at what is done in mips-linux-tdep.c, since it seems to
have linkage stubs outside of the PLT as well.  Actually closer to
home the 64-bit PowerPC stuff seems to do somethings similar.


  reply	other threads:[~2012-01-06 20:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-06 19:54 Michael Eager
2012-01-06 20:09 ` Joseph S. Myers
2012-01-06 20:27   ` Michael Eager
2012-01-06 20:15 ` Mark Kettenis
2012-01-06 20:24   ` Michael Eager
2012-01-06 20:56     ` Mark Kettenis [this message]
2012-01-07 20:57       ` Michael Eager

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=201201062056.q06KuBZo001389@glazunov.sibelius.xs4all.nl \
    --to=mark.kettenis@xs4all.nl \
    --cc=amodra@gmail.com \
    --cc=eager@eagerm.com \
    --cc=gdb@sourceware.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