From 30d514918ad2fa77406e39c33535984287044425 Mon Sep 17 00:00:00 2001 From: Thomas Moestl Date: Sat, 23 Feb 2002 21:47:20 +0000 Subject: Initialize the libc user trap handlers before passing control non-startup code, so that the userland fp emulator will work. --- lib/csu/sparc64/crt1.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/csu') diff --git a/lib/csu/sparc64/crt1.c b/lib/csu/sparc64/crt1.c index 311fec5a0585a..a2e94a3ace130 100644 --- a/lib/csu/sparc64/crt1.c +++ b/lib/csu/sparc64/crt1.c @@ -45,6 +45,7 @@ extern int _DYNAMIC; extern void _init(void); extern void _fini(void); extern int main(int, char **, char **); +extern void __sparc64_utrap_setup(void); #ifdef GCRT extern void _mcleanup(void); @@ -97,6 +98,7 @@ _start(char **ap, __progname = s + 1; } + __sparc_utrap_setup(); #if 0 /* * If the kernel or a shared library wants us to call -- cgit v1.3