]> Cypherpunks repositories - gostls13.git/commit
runtime/internal/atomic: drop package prefixes
authorAustin Clements <austin@google.com>
Thu, 15 Oct 2020 20:11:10 +0000 (16:11 -0400)
committerAustin Clements <austin@google.com>
Fri, 16 Oct 2020 17:31:16 +0000 (17:31 +0000)
commitafba990169f41d9026c923da5235584db32cab67
treefc3166c8b98712e65d20255d47e57106fdbe65cd
parente7259c07d4e479d9f83899a4c8b2f58b7b4ff63e
runtime/internal/atomic: drop package prefixes

This drops package prefixes from the assembly code on 386 and arm. In
addition to just being nicer, this allows the assembler to
automatically pick up the argument stack map from the Go signatures of
these functions. This doesn't matter right now because these functions
never call back out to Go, but prepares us for the next CL.

Change-Id: I90fed7d4dd63ad49274529c62804211b6390e2e9
Reviewed-on: https://go-review.googlesource.com/c/go/+/262777
Trust: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/funcdata.h
src/runtime/internal/atomic/asm_386.s
src/runtime/internal/atomic/asm_arm.s