summaryrefslogtreecommitdiff
path: root/tools/include
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2026-09-14 00:26:31 +0200
committerThomas Weißschuh <linux@weissschuh.net>2026-09-19 20:28:05 +0200
commitf2212892b6a0c2adab438783e9fa8093c90786d7 (patch)
tree6243c8bbd5dcd3b3770602594bdf0015cf5b3b4d /tools/include
parent319b153f400a510e15029ce92c9c9b8981aa8bf9 (diff)
tools/nolibc/parisc: consistently use %dp to refer to register %r27
The parisc initialization code inconsistently uses both %dp and %r27 to refer to the data pointer register. Consistently use the %dp memnonic. Suggested-by: Helge Deller <deller@gmx.de> Link: https://lore.kernel.org/lkml/495ef25e-0bac-4f98-b0da-ae0d96dcea59@gmx.de/ Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://patch.msgid.link/20260914-nolibc-parisc-dp-register-v1-1-6388f4aa8fbe@weissschuh.net
Diffstat (limited to 'tools/include')
-rw-r--r--tools/include/nolibc/arch-parisc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/include/nolibc/arch-parisc.h b/tools/include/nolibc/arch-parisc.h
index 417043ecbc53..ca219cbbabb0 100644
--- a/tools/include/nolibc/arch-parisc.h
+++ b/tools/include/nolibc/arch-parisc.h
@@ -169,7 +169,7 @@ void __attribute__((weak, noreturn)) __nolibc_entrypoint __nolibc_no_stack_prote
__asm__ volatile (
".import $global$\n" /* Set up the dp register */
"ldil L%$global$, %dp\n"
- "ldo R%$global$(%r27), %dp\n"
+ "ldo R%$global$(%dp), %dp\n"
"b _start_c\n" /* Call _start_c, the load below is executed first */