about summary refs log tree commit diff
path: root/sysdeps/sh/elf
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sh/elf')
-rw-r--r--sysdeps/sh/elf/initfini.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysdeps/sh/elf/initfini.c b/sysdeps/sh/elf/initfini.c
index 0660c2cd8c..e1ec92176e 100644
--- a/sysdeps/sh/elf/initfini.c
+++ b/sysdeps/sh/elf/initfini.c
@@ -80,6 +80,12 @@ _init:
 .L23:
 	.long	__gmon_start__
 #endif
+	.data
+	.global __fpscr_values
+__fpscr_values:
+	.long   0
+	.long   0x80000
+	.previous
 1:
 	ALIGN
 	END_INIT
@@ -114,7 +120,7 @@ __gmon_start__:
 	.global	_fini
 	.type	_fini,@function
 _fini:
-	mov.l	r12,@-$r15
+	mov.l	r12,@-r15
 	mov.l	r14,@-r15
 	sts.l	pr,@-r15
 #ifdef SHARED