summaryrefslogtreecommitdiff
path: root/tools/include/nolibc/stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/include/nolibc/stdlib.h')
-rw-r--r--tools/include/nolibc/stdlib.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/include/nolibc/stdlib.h b/tools/include/nolibc/stdlib.h
index 0e6bca4ee089..b46bebd48ba2 100644
--- a/tools/include/nolibc/stdlib.h
+++ b/tools/include/nolibc/stdlib.h
@@ -300,11 +300,4 @@ char *u64toa(uint64_t in)
return itoa_buffer;
}
-/* This one is not marked static as it's needed by libgcc for divide by zero */
-__attribute__((weak,unused,section(".text.nolibc_raise")))
-int raise(int signal)
-{
- return sys_kill(sys_getpid(), signal);
-}
-
#endif /* _NOLIBC_STDLIB_H */