Fix the lack of a return in sigreturn (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 18 Dec 2015 21:43:49 +0000 (16:43 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 14 Jan 2016 21:04:46 +0000 (16:04 -0500)
Rebuild glibc, if you happen to need sigreturn to actually return a value.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/sigreturn.c

index b4c5da8..55bf8e3 100644 (file)
@@ -21,6 +21,6 @@
 
 int __sigreturn(struct sigcontext *context)
 {
-       signal_ops->sigreturn(context);
+       return signal_ops->sigreturn(context);
 }
 weak_alias(__sigreturn, sigreturn)