This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR22576, ppc64_skip_trampoline_code uses wrong r2 for EXEC_REVERSE


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]