]> Cypherpunks repositories - gostls13.git/commit
runtime: consolidate function descriptor definitions on PPC64
authorPaul E. Murphy <murp@ibm.com>
Thu, 23 Mar 2023 15:41:31 +0000 (10:41 -0500)
committerPaul Murphy <murp@ibm.com>
Mon, 27 Mar 2023 22:17:55 +0000 (22:17 +0000)
commit8c2900bb9f01043cc3a61bc86424fd814812c21e
treee7eed472e1a8da6dc1fc3d8d17e398f2939bc9cb
parent0393934fa49fce48986c8f48ff6e61971d6dbdc9
runtime: consolidate function descriptor definitions on PPC64

This is a cleanup to allow a consistent definitions of a function
descriptor on code shared between AIX and Linux. They need to be
declared in slightly different ways, but we can hide that in one
macro.

And, update all usage.

Change-Id: I10f3580473db555b4fb4d2597b856f3a67d01a53
Reviewed-on: https://go-review.googlesource.com/c/go/+/478917
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Paul Murphy <murp@ibm.com>
src/runtime/asm_ppc64x.h
src/runtime/asm_ppc64x.s
src/runtime/cgo/asm_ppc64x.s
src/runtime/rt0_aix_ppc64.s
src/runtime/rt0_linux_ppc64.s
src/runtime/sys_linux_ppc64x.s