summaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-28 20:57:15 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-28 20:57:15 +0000
commit24a06c6d6e10c52219d4752b3e6dcc61da7c95ea (patch)
treeae29b59cb1668e98a9b77b530ac9a6193ffa41df /libgo
parented67de044190502dc34993e0d43a5f6b83f85147 (diff)
downloadgcc-24a06c6d6e10c52219d4752b3e6dcc61da7c95ea.tar.gz
runtime: Call exit rather than _exit.
This fixes --coverage and perhaps other things as well. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184642 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r--libgo/runtime/runtime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/runtime.h b/libgo/runtime/runtime.h
index 41b0ef5f007..5a64605b0cb 100644
--- a/libgo/runtime/runtime.h
+++ b/libgo/runtime/runtime.h
@@ -348,7 +348,7 @@ void runtime_panic(Eface);
#define runtime_strcmp(s1, s2) __builtin_strcmp((s1), (s2))
#define runtime_mcmp(a, b, s) __builtin_memcmp((a), (b), (s))
#define runtime_memmove(a, b, s) __builtin_memmove((a), (b), (s))
-#define runtime_exit(s) _exit(s)
+#define runtime_exit(s) exit(s)
MCache* runtime_allocmcache(void);
void free(void *v);
struct __go_func_type;