summaryrefslogtreecommitdiff
path: root/ldso/ldso/sparc/dl-startup.h
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/ldso/sparc/dl-startup.h')
-rw-r--r--ldso/ldso/sparc/dl-startup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ldso/ldso/sparc/dl-startup.h b/ldso/ldso/sparc/dl-startup.h
index 7da972269..4ceb7c55a 100644
--- a/ldso/ldso/sparc/dl-startup.h
+++ b/ldso/ldso/sparc/dl-startup.h
@@ -9,6 +9,7 @@ asm ("\
.global _start\n\
.type _start,%function\n\
.align 32\n\
+ .register %g2, #scratch\n\
_start:\n\
/* Allocate space for functions to drop their arguments. */\n\
sub %sp, 6*4, %sp\n\