This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PowerPC PLT stub matching
On Wed, Jan 24, 2018 at 04:06:02PM +0000, Yao Qi wrote:
> These instruction sequences reflect what
> bfd/elf32-ppc.c:write_glink_stub does, IIUC.
Yes, and gold/powerpc.cc:Stub_table::do_write.
> Is there any way we can
> correlate these two sides, PLT stub generation and matching? Ideally, I
> want to such sequences are defined once, but shared by linker and debugger.
It might be possible, but I think the resulting data structure and
code would be a mess, particularly for ppc64 given the number of
variations of PLT stubs.
Thanks for the review! Committed.
--
Alan Modra
Australia Development Lab, IBM