aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2017-06-26 17:59:12 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2017-06-26 17:59:12 +0000
commitb5df99f74107846d3ac8034d29f4e8b67271efe1 (patch)
tree852ed0c3b8e62cff0aa5a5511c0a008561036bb9
parent0bcce674a7c00268afb2ee3ddc84a1a2fa1ea870 (diff)
downloadgcc-b5df99f74107846d3ac8034d29f4e8b67271efe1.zip
gcc-b5df99f74107846d3ac8034d29f4e8b67271efe1.tar.gz
gcc-b5df99f74107846d3ac8034d29f4e8b67271efe1.tar.bz2
syscall: don't define PtraceRegs for Alpha
It's now defined by mksysinfo.sh. Patch by Uros Bizjak. Reviewed-on: https://go-review.googlesource.com/46712 From-SVN: r249663
-rw-r--r--gcc/go/gofrontend/MERGE2
-rw-r--r--libgo/go/syscall/syscall_linux_alpha.go32
2 files changed, 1 insertions, 33 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 72d12b4..38f08fe 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-1b4c2bcaa96f7f40538fd8fff308ad92ea6f482e
+bfb18fb16194826bf2bf2d7af873719ddb5e8e42
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
diff --git a/libgo/go/syscall/syscall_linux_alpha.go b/libgo/go/syscall/syscall_linux_alpha.go
index 713546c..5115b9b 100644
--- a/libgo/go/syscall/syscall_linux_alpha.go
+++ b/libgo/go/syscall/syscall_linux_alpha.go
@@ -8,38 +8,6 @@ package syscall
import "unsafe"
-type PtraceRegs struct {
- R0 uint64
- R1 uint64
- R2 uint64
- R3 uint64
- R4 uint64
- R5 uint64
- R6 uint64
- R7 uint64
- R8 uint64
- R19 uint64
- R20 uint64
- R21 uint64
- R22 uint64
- R23 uint64
- R24 uint64
- R25 uint64
- R26 uint64
- R27 uint64
- R28 uint64
- Hae uint64
- Trap_a0 uint64
- Trap_a1 uint64
- Trap_a2 uint64
- Ps uint64
- Pc uint64
- Gp uint64
- R16 uint64
- R17 uint64
- R18 uint64
-}
-
func (r *PtraceRegs) PC() uint64 {
return r.Pc
}