Noticed in glibc testsuite.  Committed to active branches.

Dave
---

hppa: Fix typo in PA 2.0 trampoline template

2023-11-06  John David Anglin  <dang...@gcc.gnu.org>

        * config/pa/pa.cc (pa_asm_trampoline_template): Fix typo.

diff --git a/gcc/config/pa/pa.cc b/gcc/config/pa/pa.cc
index 2e906cff7ff..218c48b4ae0 100644
--- a/gcc/config/pa/pa.cc
+++ b/gcc/config/pa/pa.cc
@@ -10401,7 +10401,7 @@ pa_asm_trampoline_template (FILE *f)
          fputs ("\tldw         0(%r22),%r21\n", f);
          fputs ("\tldw         4(%r22),%r19\n", f);
          fputs ("\tbve         (%r21)\n", f);
-         fputs ("\tldw         52(%r1),%r29\n", f);
+         fputs ("\tldw         52(%r20),%r29\n", f);
          fputs ("\t.word       0\n", f);
          fputs ("\t.word       0\n", f);
          fputs ("\t.word       0\n", f);

Attachment: signature.asc
Description: PGP signature

Reply via email to