Ian Lance Taylor 76deefd0cd runtime: Mark runtime_goexit function as noinline.
If the compiler inlines this function into kickoff, it may reuse
the TLS block address to load g. However, this is not necessarily
correct, as the call to g->entry in kickoff may cause the TLS
address to change. If the wrong value is loaded for g->status in
runtime_goexit, it may cause a runtime panic.

By marking the function as noinline we prevent the compiler from
reusing the TLS address.

From-SVN: r215484
2014-09-22 21:14:43 +00:00
..
2014-07-19 08:53:52 +00:00
2014-07-19 08:53:52 +00:00
2014-07-12 00:01:09 +00:00
2014-07-19 08:53:52 +00:00
2014-07-19 08:53:52 +00:00
2014-07-19 08:53:52 +00:00
2014-07-12 00:01:09 +00:00
2014-07-19 08:53:52 +00:00
2014-07-19 08:53:52 +00:00
2014-07-12 00:01:09 +00:00
2014-07-19 08:53:52 +00:00
2014-07-19 08:53:52 +00:00
2014-07-19 08:53:52 +00:00
2014-07-19 08:53:52 +00:00
2014-07-19 08:53:52 +00:00
2014-07-19 08:53:52 +00:00
2014-07-19 08:53:52 +00:00
2014-07-19 08:53:52 +00:00
2014-06-06 22:37:27 +00:00
2014-07-19 08:53:52 +00:00
2014-07-19 08:53:52 +00:00
2014-07-12 00:01:09 +00:00
2014-07-19 08:53:52 +00:00
2014-07-19 08:53:52 +00:00
2014-07-11 00:26:25 +00:00
2014-07-19 08:53:52 +00:00
2014-07-19 08:53:52 +00:00