aboutsummaryrefslogtreecommitdiff
path: root/libgo/go
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-05-13 20:26:24 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-05-13 20:26:24 +0000
commit93ee143d1888051fbf3156212accc154af3a667b (patch)
treecfe431691d948b2710293d70df70e1b6822b80eb /libgo/go
parentbceb07e3584c9d8ea3e5760636ae24ff7f8606ff (diff)
downloadgcc-93ee143d1888051fbf3156212accc154af3a667b.zip
gcc-93ee143d1888051fbf3156212accc154af3a667b.tar.gz
gcc-93ee143d1888051fbf3156212accc154af3a667b.tar.bz2
libgo: drop Solaris 10 support
Based on patch by Rainer Orth. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/176938 From-SVN: r271135
Diffstat (limited to 'libgo/go')
-rw-r--r--libgo/go/runtime/signal_gccgo.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/libgo/go/runtime/signal_gccgo.go b/libgo/go/runtime/signal_gccgo.go
index b3c78f6..6f362fc 100644
--- a/libgo/go/runtime/signal_gccgo.go
+++ b/libgo/go/runtime/signal_gccgo.go
@@ -60,11 +60,6 @@ type sigctxt struct {
}
func (c *sigctxt) sigcode() uint64 {
- if c.info == nil {
- // This can happen on Solaris 10. We don't know the
- // code, just avoid a misleading value.
- return _SI_USER + 1
- }
return uint64(c.info.si_code)
}