Quim Muntal submitted the change![Open in Gerrit]()
Unreviewed changes
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
Change information
Commit message:
runtime/cgo: fix setg_gcc call on aix/ppc64
aix/ppc64 uses function descriptors instead of function pointers. CL 708235 assumed the latter, which caused a crash when calling setg_gcc.
Fix the call by dereferencing the function descriptor to get the entry
point and TOC.
Tested using gomote, as LUCI builders still don't support aix/ppc64.
Fixes #77753.
Change-Id: I6a0a6e971341f18f400c044f47b0daa42b93599e
Files:
- M src/runtime/cgo/gcc_aix_ppc64.S
Change size: XS
Delta: 1 file changed, 4 insertions(+), 1 deletion(-)
Branch: refs/heads/master
Open in Gerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I6a0a6e971341f18f400c044f47b0daa42b93599e
Gerrit-Change-Number: 747960
Gerrit-PatchSet: 7