<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/runtime/string.c, branch fix-runtime-test-GOMAXPROCS</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=fix-runtime-test-GOMAXPROCS</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=fix-runtime-test-GOMAXPROCS'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2014-11-11T22:07:06Z</updated>
<entry>
<title>[dev.cc] runtime: convert basic library routines from C to Go</title>
<updated>2014-11-11T22:07:06Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2014-11-11T22:07:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=0c3c2c17243545e9bc7c5d158c5230fe299e8b73'/>
<id>urn:sha1:0c3c2c17243545e9bc7c5d158c5230fe299e8b73</id>
<content type='text'>
float.c held bit patterns for special float64 values,
hiding from the real uses. Rewrite Go code not to
refer to those values directly.

Convert library routines in runtime.c and string.c.

LGTM=r
R=r, dave
CC=austin, dvyukov, golang-codereviews, iant, khr
https://golang.org/cl/170330043
</content>
</entry>
<entry>
<title>runtime: make gostringnocopy update maxstring</title>
<updated>2014-09-11T23:53:34Z</updated>
<author>
<name>Keith Randall</name>
<email>khr@golang.org</email>
</author>
<published>2014-09-11T23:53:34Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=bcd36e8857729f6f3306ab22c26e582f1d2f2932'/>
<id>urn:sha1:bcd36e8857729f6f3306ab22c26e582f1d2f2932</id>
<content type='text'>
Fixes #8706

LGTM=josharian
R=josharian
CC=golang-codereviews
https://golang.org/cl/143880043
</content>
</entry>
<entry>
<title>liblink, runtime: diagnose and fix C code running on Go stack</title>
<updated>2014-09-08T18:05:23Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2014-09-08T18:05:23Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=c81a0ed3c50606d1ada0fd9b571611b3687c90e1'/>
<id>urn:sha1:c81a0ed3c50606d1ada0fd9b571611b3687c90e1</id>
<content type='text'>
This CL contains compiler+runtime changes that detect C code
running on Go (not g0, not gsignal) stacks, and it contains
corrections for what it detected.

The detection works by changing the C prologue to use a different
stack guard word in the G than Go prologue does. On the g0 and
gsignal stacks, that stack guard word is set to the usual
stack guard value. But on ordinary Go stacks, that stack
guard word is set to ^0, which will make any stack split
check fail. The C prologue then calls morestackc instead
of morestack, and morestackc aborts the program with
a message about running C code on a Go stack.

This check catches all C code running on the Go stack
except NOSPLIT code. The NOSPLIT code is allowed,
so the check is complete. Since it is a dynamic check,
the code must execute to be caught. But unlike the static
checks we've been using in cmd/ld, the dynamic check
works with function pointers and other indirect calls.
For example it caught sigpanic being pushed onto Go
stacks in the signal handlers.

Fixes #8667.

LGTM=khr, iant
R=golang-codereviews, khr, iant
CC=golang-codereviews, r
https://golang.org/cl/133700043
</content>
</entry>
<entry>
<title>build: move package sources from src/pkg to src</title>
<updated>2014-09-08T04:08:51Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2014-09-08T04:08:51Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=c007ce824d9a4fccb148f9204e04c23ed2984b71'/>
<id>urn:sha1:c007ce824d9a4fccb148f9204e04c23ed2984b71</id>
<content type='text'>
Preparation was in CL 134570043.
This CL contains only the effect of 'hg mv src/pkg/* src'.
For more about the move, see golang.org/s/go14nopkg.
</content>
</entry>
<entry>
<title>move src/runtime -&gt; src/lib/runtime;</title>
<updated>2009-06-07T05:04:39Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2009-06-07T05:04:39Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=3f6acf11200e54d98fef9b4fa42361b690e12d6e'/>
<id>urn:sha1:3f6acf11200e54d98fef9b4fa42361b690e12d6e</id>
<content type='text'>
only automatic g4 mv here.

R=r
OCL=30002
CL=30007
</content>
</entry>
<entry>
<title>added protection against race condition</title>
<updated>2009-05-27T22:56:44Z</updated>
<author>
<name>Ken Thompson</name>
<email>ken@golang.org</email>
</author>
<published>2009-05-27T22:56:44Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=77f668a0f118276fdfdbe0ba65751c3039e5f5f5'/>
<id>urn:sha1:77f668a0f118276fdfdbe0ba65751c3039e5f5f5</id>
<content type='text'>
between first and second pass of converting
[]int to string.

R=r
OCL=29467
CL=29467
</content>
</entry>
<entry>
<title>string([]int) conversion</title>
<updated>2009-05-27T22:38:02Z</updated>
<author>
<name>Ken Thompson</name>
<email>ken@golang.org</email>
</author>
<published>2009-05-27T22:38:02Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=64c3fe05bf16ea9107be5a7e4257db86addb6d08'/>
<id>urn:sha1:64c3fe05bf16ea9107be5a7e4257db86addb6d08</id>
<content type='text'>
R=r
OCL=29466
CL=29466
</content>
</entry>
<entry>
<title>add NUL when allocating strings, to make use</title>
<updated>2009-05-27T00:39:25Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2009-05-27T00:39:25Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=1a0a6f9d5004d0ae078d7772e9623f9f6117f9be'/>
<id>urn:sha1:1a0a6f9d5004d0ae078d7772e9623f9f6117f9be</id>
<content type='text'>
of getenv by low-level runtime easier.
fix 32-bit bug in gc (there are still more).

R=ken
OCL=29415
CL=29415
</content>
</entry>
<entry>
<title>move things out of sys into os and runtime</title>
<updated>2009-05-08T22:21:41Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2009-05-08T22:21:41Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=918afd9491bd07aed10bc364012683fc52c734bb'/>
<id>urn:sha1:918afd9491bd07aed10bc364012683fc52c734bb</id>
<content type='text'>
R=r
OCL=28569
CL=28573
</content>
</entry>
<entry>
<title>6g tweaks</title>
<updated>2009-05-05T23:53:46Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2009-05-05T23:53:46Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=f821e3c7c3a309ebdc1e3dbf4026b41c54e99d28'/>
<id>urn:sha1:f821e3c7c3a309ebdc1e3dbf4026b41c54e99d28</id>
<content type='text'>
	* byteastring is no longer used
	* do not generate ODCL, OAS for globals
	  (wasn't generating any code but might
	  save one or two init functions)
	* do not call self from Init function

R=ken
OCL=28309
CL=28309
</content>
</entry>
</feed>
