aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/runtime.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2016-10-17 16:54:25 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2016-10-17 16:54:25 +0000
commit8cce07d1ddccd9ffcdcaafaaa4cf13ffa95ec360 (patch)
tree99f8a824655109bd2cd36ab0a8502e2fd713101a /libgo/runtime/runtime.c
parent31a84d4a65c9e820fa6f928f8a031f6dfe213c85 (diff)
downloadgcc-8cce07d1ddccd9ffcdcaafaaa4cf13ffa95ec360.zip
gcc-8cce07d1ddccd9ffcdcaafaaa4cf13ffa95ec360.tar.gz
gcc-8cce07d1ddccd9ffcdcaafaaa4cf13ffa95ec360.tar.bz2
runtime: copy rdebug code from Go 1.7 runtime
While we're at it, update the runtime/debug package, and start running its testsuite by default. I'm not sure why runtime/debug was not previously updated to 1.7. Doing that led me to fix some minor aspects of runtime.Stack and the C function runtime/debug.readGCStats. Reviewed-on: https://go-review.googlesource.com/31251 From-SVN: r241261
Diffstat (limited to 'libgo/runtime/runtime.c')
-rw-r--r--libgo/runtime/runtime.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libgo/runtime/runtime.c b/libgo/runtime/runtime.c
index 70331f4..16be089 100644
--- a/libgo/runtime/runtime.c
+++ b/libgo/runtime/runtime.c
@@ -151,10 +151,6 @@ runtime_setdebug(struct debugVars* d) {
runtime_debug = *d;
}
-// Setting the max stack size doesn't really do anything for gccgo.
-
-uintptr runtime_maxstacksize = 1<<20; // enough until runtime.main sets it for real
-
void memclrBytes(Slice)
__asm__ (GOSYM_PREFIX "runtime.memclrBytes");