[committed] hppa: Fix typo in PA 2.0 trampoline template

Message ID ZUlVN8QURPmBlipa@mx3210.localdomain
State Accepted
Headers
Series [committed] hppa: Fix typo in PA 2.0 trampoline template |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

John David Anglin Nov. 6, 2023, 9:05 p.m. UTC
  Noticed in glibc testsuite.  Committed to active branches.

Dave
---

hppa: Fix typo in PA 2.0 trampoline template

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

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

Patch

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);