This website requires JavaScript.
Explore
Help
Sign in
Stowage
/
go
Watch
2
Star
0
Fork
You've already forked go
0
mirror of
https://github.com/golang/go.git
synced
2025-12-08 06:10:04 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
f0b51a2099
go
/
test
/
fixedbugs
/
issue15609.dir
/
call.go
8 lines
67 B
Go
Raw
Normal View
History
Unescape
Escape
test: migrate remaining files to go:build syntax Most of the test cases in the test directory use the new go:build syntax already. Convert the rest. In general, try to place the build constraint line below the test directive comment in more places. For #41184. For #60268. Change-Id: I11c41a0642a8a26dc2eda1406da908645bbc005b Cq-Include-Trybots: luci.golang.try:gotip-linux-386-longtest,gotip-linux-amd64-longtest,gotip-windows-amd64-longtest Reviewed-on: https://go-review.googlesource.com/c/go/+/536236 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-10-17 15:07:58 -04:00
//go:build !amd64 && !386
cmd/internal/obj/x86: On amd64, relocation type for and indirect call is pc-relative. With this change, the code in bug #15609 compiles and runs properly: 0000000000401070 <main.jump>: 401070: ff 15 aa 7e 06 00 callq *0x67eaa(%rip) # 468f20 <main.pointer> 401076: c3 retq 0000000000468f20 g O .rodata 0000000000000008 main.pointer Fixes #15609 Change-Id: Iebb4d5a9f9fff335b693f4efcc97882fe04eefd7 Reviewed-on: https://go-review.googlesource.com/22950 Run-TryBot: David Chase <drchase@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: David Chase <drchase@google.com>
2016-05-03 00:28:23 +01:00
package
main
func
jump
(
)
{
target
(
)
}
Reference in a new issue
Copy permalink