projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbd3340
)
runtime: Call exit rather than _exit.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Tue, 28 Feb 2012 20:57:15 +0000
(20:57 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Tue, 28 Feb 2012 20:57:15 +0000
(20:57 +0000)
This fixes --coverage and perhaps other things as well.
From-SVN: r184642
libgo/runtime/runtime.h
patch
|
blob
|
history
diff --git
a/libgo/runtime/runtime.h
b/libgo/runtime/runtime.h
index 41b0ef5f00734c5abe5536a7a9a18b810a83f086..5a64605b0cb0c79268c68c9980dde0c5d8d106f2 100644
(file)
--- 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;