LEFT | RIGHT |
1 // Use of this source file is governed by a BSD-style | 1 // Use of this source file is governed by a BSD-style |
2 // license that can be found in the LICENSE file.` | 2 // license that can be found in the LICENSE file.` |
3 | 3 |
4 #include "runtime.h" | 4 #include "runtime.h" |
5 #include "defs.h" | 5 #include "defs_GOOS_GOARCH.h" |
6 #include "os.h" | 6 #include "os_GOOS.h" |
7 #include "stack.h" | 7 #include "stack.h" |
8 | 8 |
9 enum | 9 enum |
10 { | 10 { |
11 ESRCH = 3, | 11 ESRCH = 3, |
12 ENOTSUP = 91, | 12 ENOTSUP = 91, |
13 | 13 |
14 // From NetBSD's sys/time.h | 14 // From NetBSD's sys/time.h |
15 CLOCK_REALTIME = 0, | 15 CLOCK_REALTIME = 0, |
16 CLOCK_VIRTUAL = 1, | 16 CLOCK_VIRTUAL = 1, |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 switch(g->sigcode0) { | 188 switch(g->sigcode0) { |
189 case FPE_INTDIV: | 189 case FPE_INTDIV: |
190 runtime·panicstring("integer divide by zero"); | 190 runtime·panicstring("integer divide by zero"); |
191 case FPE_INTOVF: | 191 case FPE_INTOVF: |
192 runtime·panicstring("integer overflow"); | 192 runtime·panicstring("integer overflow"); |
193 } | 193 } |
194 runtime·panicstring("floating point error"); | 194 runtime·panicstring("floating point error"); |
195 } | 195 } |
196 runtime·panicstring(runtime·sigtab[g->sig].name); | 196 runtime·panicstring(runtime·sigtab[g->sig].name); |
197 } | 197 } |
LEFT | RIGHT |