<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/runtime, branch makepkg</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=makepkg</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=makepkg'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2026-02-03T11:04:30Z</updated>
<entry>
<title>all: prealloc slice with possible minimum capabilities</title>
<updated>2026-02-03T11:04:30Z</updated>
<author>
<name>Shulhan</name>
<email>m.shulhan@gmail.com</email>
</author>
<published>2024-10-25T17:48:33Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=011e40da85bddf83fee0ded83cb9115b7a88b3d4'/>
<id>urn:sha1:011e40da85bddf83fee0ded83cb9115b7a88b3d4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>internal/maps,cmd/compile/internal/walk: replace calls to mapaccess1* with mapaccess2*</title>
<updated>2026-02-02T21:24:26Z</updated>
<author>
<name>ArsenySamoylov</name>
<email>samoylov.arseny@gmail.com</email>
</author>
<published>2026-01-13T10:06:28Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=62d08234b797806796af0d51051f2e13caa42e2a'/>
<id>urn:sha1:62d08234b797806796af0d51051f2e13caa42e2a</id>
<content type='text'>
mapaccess1* and mapaccess2* functions share the same implementation and differ only in whether the boolean "found" is returned.

This change replaces mapaccess1* calls with mapaccess2*.
We can do this transparently, since the call site can safely discard the second (boolean) result.

Ideally, mapacces1* functions could be removed entirely, but this change keeps them as thin wrappers for compatibility.

Fixes #73196
Change-Id: I07c3423d22ed1095ac3666d00e134c2747b2f9c1
Reviewed-on: https://go-review.googlesource.com/c/go/+/736020
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
Reviewed-by: Michael Pratt &lt;mpratt@google.com&gt;
Auto-Submit: Keith Randall &lt;khr@golang.org&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
</content>
</entry>
<entry>
<title>runtime: delete unused parameter of userForced</title>
<updated>2026-01-31T02:35:34Z</updated>
<author>
<name>Tony Tang</name>
<email>jianfengtony@163.com</email>
</author>
<published>2025-12-07T01:02:32Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=acd65ebb13a11f1b070b63a66b35bb1b15934409'/>
<id>urn:sha1:acd65ebb13a11f1b070b63a66b35bb1b15934409</id>
<content type='text'>
delete unused parameter userForced

Change-Id: I71c26ab5e3fadc532b6b1f266212c6f620769efd
GitHub-Last-Rev: 6a32c8ff6e63f8b149c0803e8b6636022bd9d066
GitHub-Pull-Request: golang/go#76732
Reviewed-on: https://go-review.googlesource.com/c/go/+/727680
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Carlos Amedee &lt;carlos@golang.org&gt;
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
Reviewed-by: Tony Tang &lt;jianfeng.tony@gmail.com&gt;
</content>
</entry>
<entry>
<title>runtime: align end of systemstack_switch prologue on amd64 for consistency with gosave_systemstack_switch</title>
<updated>2026-01-30T17:55:05Z</updated>
<author>
<name>Vasily Leonenko</name>
<email>vasiliy.leonenko@gmail.com</email>
</author>
<published>2026-01-29T18:12:49Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=f14d8975a21e24aa33e0b496e822fdcb285879b9'/>
<id>urn:sha1:f14d8975a21e24aa33e0b496e822fdcb285879b9</id>
<content type='text'>
gosave_systemstack_switch saves PC with fixed offset of 8 bytes from systemstack_switch to bypass prologue.
This commit makes this offset consistent with actual address of UNDEF instruction intended to be at that address.

Fixes #71440

Change-Id: Ibe6458c5bcb0bdaec228a2f13d6aec7ecc0e319e
Reviewed-on: https://go-review.googlesource.com/c/go/+/740360
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Keith Randall &lt;khr@golang.org&gt;
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
</content>
</entry>
<entry>
<title>all: switch linux-ppc64 target to ELFv2 ABI</title>
<updated>2026-01-30T16:06:41Z</updated>
<author>
<name>Paul Murphy</name>
<email>murp@redhat.com</email>
</author>
<published>2026-01-07T19:48:53Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=35c5deb1d43b245c19059d1532929ee087e44a84'/>
<id>urn:sha1:35c5deb1d43b245c19059d1532929ee087e44a84</id>
<content type='text'>
Go is only capable of producing internally linked, static binaries
on linux-ppc64. As such, binaries should run in either ELFv1 or
ELFv2 ppc64 userspaces today.

This opens the door to enabling cgo and external linking which
will require ELFv2 support and userspace, eventually.

Fixes #76244

Change-Id: I5ca15037cbe546f352e8693dcf14da51a308b8ca
Reviewed-on: https://go-review.googlesource.com/c/go/+/734540
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
</content>
</entry>
<entry>
<title>runtime: use smaller max align for arm32</title>
<updated>2026-01-29T21:04:30Z</updated>
<author>
<name>Keith Randall</name>
<email>khr@golang.org</email>
</author>
<published>2026-01-28T23:39:46Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=10ed9b6ed5ffadf16151d98a188a4242515b62e9'/>
<id>urn:sha1:10ed9b6ed5ffadf16151d98a188a4242515b62e9</id>
<content type='text'>
Maybe fixes a dashboard build failure for linux/arm32 casued
by CL 724261.

This value comes from cmd/link/internal/arm/l.go (and in general,
maxAlign in cmd/link/internal/$ARCH/&lt;something&gt;.go).

Change-Id: I4d02cd41072da1b6ad6c7405044bd7788626b013
Reviewed-on: https://go-review.googlesource.com/c/go/+/740101
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
Auto-Submit: Keith Randall &lt;khr@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
</content>
</entry>
<entry>
<title>runtime, cmd/link: store type descriptor length, not end</title>
<updated>2026-01-29T16:14:53Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2026-01-28T01:34:46Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=11722941452d04aa0364a5c6b60acffaa2776b1c'/>
<id>urn:sha1:11722941452d04aa0364a5c6b60acffaa2776b1c</id>
<content type='text'>
Storing the type descriptor length lets us save a relocation.
It also avoids a problem for Darwin dynamic linking.

For #6853
Fixes #77350

Change-Id: If5c94330fe10d75690325f3d0b0658060ef3eb2d
Reviewed-on: https://go-review.googlesource.com/c/go/+/739681
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
</content>
</entry>
<entry>
<title>runtime/metrics: fix panic in Read with empty slice</title>
<updated>2026-01-28T16:44:36Z</updated>
<author>
<name>Amol Yadav</name>
<email>amolyadav6125@gmail.com</email>
</author>
<published>2026-01-28T01:14:53Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=6aef900af4eeb4a35d3ff1237a41cf3f63c56c24'/>
<id>urn:sha1:6aef900af4eeb4a35d3ff1237a41cf3f63c56c24</id>
<content type='text'>
Calling Read with a nil or empty slice previously caused a panic with
"index out of range" because the function unconditionally accessed the
first element of the slice (via &amp;m[0]) to pass the pointer to the
runtime.

This change adds a check for len(m) == 0 to return early, preventing
the panic when no samples are provided.

Fixes #77231

Change-Id: I442635f5c61de432883c8d0efae9cc6aa1363cc9
GitHub-Last-Rev: 6f24f67b18c77a0b36b92017a3f4ef8aa3aa5229
GitHub-Pull-Request: golang/go#77233
Reviewed-on: https://go-review.googlesource.com/c/go/+/737380
Reviewed-by: Amol Yadav &lt;amolyadav6125@gmail.com&gt;
Reviewed-by: Michael Pratt &lt;mpratt@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Michael Pratt &lt;mpratt@google.com&gt;
Commit-Queue: Michael Pratt &lt;mpratt@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
</content>
</entry>
<entry>
<title>cmd/link, runtime: remove typelinks</title>
<updated>2026-01-27T21:47:14Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2025-11-26T06:44:11Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=481ab86aafe0cac177df793c9946c5ef2126137c'/>
<id>urn:sha1:481ab86aafe0cac177df793c9946c5ef2126137c</id>
<content type='text'>
Instead of adding a typelinks section to a Go binary,
mark the start and end of the typelinked type descriptors.
The runtime can then step through the descriptors to find them all,
rather than relying on the extra linker-generated offset list.

The runtime steps through the type descriptors lazily,
as many Go programs don't need the typelinks list at all.

This reduces the size of cmd/go by 15K bytes, which isn't much
but it's not nothing.

A future CL will change the reflect package to use the type pointers
directly rather than converting to offsets and then back to type pointers.

For #6853

Change-Id: Id0af4ce81c5b1cea899fc92b6ff9d2db8ce4c267
Reviewed-on: https://go-review.googlesource.com/c/go/+/724261
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@golang.org&gt;
</content>
</entry>
<entry>
<title>runtime: rename aeshashbody to runtime.aeshashbody</title>
<updated>2026-01-27T16:24:58Z</updated>
<author>
<name>Michael Pratt</name>
<email>mpratt@google.com</email>
</author>
<published>2026-01-22T16:47:42Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=64e8b238a1e5ce4cc47eec561db0ccf904e29e50'/>
<id>urn:sha1:64e8b238a1e5ce4cc47eec561db0ccf904e29e50</id>
<content type='text'>
Currently this is a raw symbol name with no package component, which is
confusing when seen in profilers or similar tools.

This function does not follow a Go ABI, and thus should not have a Go
function declaration. go vet requires declaration for standard assembly
functions.

CL 176100 removed the package name as part of making vet pass on package
runtime, but simply making the function static via the &lt;&gt; suffix is
sufficient, there is no need to shorten the symbol name.

Change-Id: I6a6a636c6030f1c9a4b8bb330978733bb336b08e
Reviewed-on: https://go-review.googlesource.com/c/go/+/738521
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
</content>
</entry>
</feed>
