]> Cypherpunks repositories - gostls13.git/commit
runtime/cgo: declare crosscall2 frame using TEXT for amd64 and 386
authorAlessandro Arzilli <alessandro.arzilli@gmail.com>
Mon, 16 Oct 2017 11:57:54 +0000 (13:57 +0200)
committerIan Lance Taylor <iant@golang.org>
Mon, 16 Oct 2017 21:17:25 +0000 (21:17 +0000)
commit913fb18e7e16b95ef4f3c491c3079c4f80e4c562
tree7e66d500c9cba00d4108f5707e219e2aaf2a4ade
parentb79e99bfb4bcc7694401cd94a1bb14faee8af048
runtime/cgo: declare crosscall2 frame using TEXT for amd64 and 386

Use TEXT pseudo-instruction to adjust SP instead of a SUB instruction
so that the assembler knows how to fill in the pcsp table and the frame
description entry correctly.

Updates #21569

Change-Id: I436c840b2af99bbb3042ecd38a7d7c1ab4d7372a
Reviewed-on: https://go-review.googlesource.com/70937
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/cgo/asm_386.s
src/runtime/cgo/asm_amd64.s