This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] PR22576, ppc64_skip_trampoline_code uses wrong r2 for EXEC_REVERSE
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: amodra at gmail dot com (Alan Modra)
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 12 Dec 2017 09:20:48 +0100 (CET)
- Subject: Re: [PATCH] PR22576, ppc64_skip_trampoline_code uses wrong r2 for EXEC_REVERSE
- Authentication-results: sourceware.org; auth=none
Alan Modra wrote:
> PR 22576
> * ppc64-tdep.c (ppc64_plt_entry_point): Rewrite to take TOC-relative
> PLT offset, and retrieve r2 from stack when executing in reverse.
> (ppc64_standard_linkage1_target): Drop pc param. Calculate offset
> rather than PLT address.
> (ppc64_standard_linkage2_target): Likewise.
> (ppc64_standard_linkage3_target): Likewise.
> (ppc64_standard_linkage4_target): Likewise.
> (ppc64_skip_trampoline_code_1): Adjust to suit.
This is OK.
Thanks,
Ulrich
--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com