This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: power7 call stub update
- 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: Mon, 3 Jun 2013 18:49:36 +0200 (CEST)
- Subject: Re: power7 call stub update
Alan Modra wrote:
> * ppc-tdep.h (ppc_insns_match_pattern): Update prototype.
> * rs6000-tdep.c (read_insn): Add frame param, don't assume big-endian.
> (ppc_insns_match_pattern): Add frame param. Avoid multiple
> target mem reads on optional insns.
> * ppc-linux-tdep.c (ppc_skip_trampoline_code): Update
> ppc_insns_match_pattern calls.
> * ppc64-tdep.c (ppc64_standard_linkage2, ppc64_standard_linkage3):
> Add match for power7 thread safety insns, and new order of
> std 2,40(1) insn. Correct code shown for _dl_runtime_resolve
> invocation in comment, and update rest of comment.
> (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN,
> PPC64_STANDARD_LINKAGE3_LEN): Delete.
> (ppc64_standard_linkage2_target): Update insn offsets.
> (ppc64_skip_trampoline_code): Use a single insn buffer. Match newer
> stubs first. Update calls.
This is OK.
Thanks,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com