Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / libgo / syscalls / syscall_linux_amd64.go
bloba2ede002954fb4c7530bdfa7745957d804a1f5df
1 // syscall_linux_amd64.go -- GNU/Linux 386 specific support
3 // Copyright 2009 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
7 package syscall
9 const ARCH = "amd64"
11 func (r *PtraceRegs) PC() uint64 {
12 return r.Rip;
15 func (r *PtraceRegs) SetPC(pc uint64) {
16 r.Rip = pc;