This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Remove "function descriptor" handling on ppc32
- From: Daniel Jacobowitz <drow at false dot org>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org, bauerman at br dot ibm dot com
- Date: Wed, 14 May 2008 13:55:52 -0400
- Subject: Re: [rfc] Remove "function descriptor" handling on ppc32
- References: <200805141731.m4EHVCwS018368@d12av02.megacenter.de.ibm.com>
On Wed, May 14, 2008 at 07:31:12PM +0200, Ulrich Weigand wrote:
> Dan,
>
> a while back you installed a patch to make ...convert_from_func_ptr_addr
> handle "secure PLTs" on ppc32; this was apparently based on earlier
> patches by Thiago and Paul:
> http://sourceware.org/ml/gdb-patches/2007-07/msg00068.html
The history of that patch is, as you can see, long and tortuous. I
think I just inherited that part; I can't remember its history.
> The only reason I could imagine where this convert_from_func_ptr_addr
> version would ever apply is that the "...@plt" synthetic symbols used
> to point to those PLT data entries. After the patch Alan just committed,
> this is no longer the case, however -- @plt symbols now point to the
> plt call stubs as well.
This sounds like a plausible explanation to me.
--
Daniel Jacobowitz
CodeSourcery