Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
079cbddb
Commit
079cbddb
authored
Oct 25, 2010
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arm: fix signal handler
R=ken2 CC=golang-dev
https://golang.org/cl/2670042
parent
b0ad7a42
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
34 deletions
+27
-34
Makefile
src/pkg/Makefile
+0
-2
defs.h
src/pkg/runtime/linux/arm/defs.h
+13
-13
sys.s
src/pkg/runtime/linux/arm/sys.s
+1
-6
defs_arm.c
src/pkg/runtime/linux/defs_arm.c
+13
-13
No files found.
src/pkg/Makefile
View file @
079cbddb
...
...
@@ -207,8 +207,6 @@ ifeq ($(GOARCH),arm)
NOTEST
+=
cmath
# software floating point
(
lack of
)
accuracy
NOTEST
+=
math
# software floating point
(
lack of
)
accuracy
NOTEST
+=
strconv
# software floating point
(
lack of
)
accuracy
NOTEST
+=
os/signal
# crash
endif
TEST
=
\
...
...
src/pkg/runtime/linux/arm/defs.h
View file @
079cbddb
...
...
@@ -45,19 +45,19 @@ enum {
SIGIO
=
0x1d
,
SIGPWR
=
0x1e
,
SIGSYS
=
0x1f
,
FPE_INTDIV
=
0x
3000
1
,
FPE_INTOVF
=
0x
3000
2
,
FPE_FLTDIV
=
0x3
0003
,
FPE_FLTOVF
=
0x
3000
4
,
FPE_FLTUND
=
0x
3000
5
,
FPE_FLTRES
=
0x
3000
6
,
FPE_FLTINV
=
0x
3000
7
,
FPE_FLTSUB
=
0x
3000
8
,
BUS_ADRALN
=
0x
3000
1
,
BUS_ADRERR
=
0x
3000
2
,
BUS_OBJERR
=
0x3
0003
,
SEGV_MAPERR
=
0x
3000
1
,
SEGV_ACCERR
=
0x
3000
2
,
FPE_INTDIV
=
0x1
,
FPE_INTOVF
=
0x2
,
FPE_FLTDIV
=
0x3
,
FPE_FLTOVF
=
0x4
,
FPE_FLTUND
=
0x5
,
FPE_FLTRES
=
0x6
,
FPE_FLTINV
=
0x7
,
FPE_FLTSUB
=
0x8
,
BUS_ADRALN
=
0x1
,
BUS_ADRERR
=
0x2
,
BUS_OBJERR
=
0x3
,
SEGV_MAPERR
=
0x1
,
SEGV_ACCERR
=
0x2
,
};
// Types
...
...
src/pkg/runtime/linux/arm/sys.s
View file @
079cbddb
...
...
@@ -147,7 +147,7 @@ TEXT clone(SB),7,$0
MOVW $1234, R1
CMP R0, R1
BEQ 2(PC)
B abort(SB)
B
L
abort(SB)
MOVW 0(R13), m
MOVW 4(R13), g
...
...
@@ -196,11 +196,6 @@ TEXT sigaltstack(SB),7,$0
TEXT sigignore(SB),7,$0
RET
TEXT sigreturn(SB),7,$0
MOVW R0, R0
B abort(SB)
RET
TEXT sigtramp(SB),7,$24
MOVW m_gsignal(m), g
MOVW R0, 4(R13)
...
...
src/pkg/runtime/linux/defs_arm.c
View file @
079cbddb
...
...
@@ -69,21 +69,21 @@ enum {
$
SIGPWR
=
SIGPWR
,
$
SIGSYS
=
SIGSYS
,
$
FPE_INTDIV
=
FPE_INTDIV
,
$
FPE_INTOVF
=
FPE_INTOVF
,
$
FPE_FLTDIV
=
FPE_FLTDIV
,
$
FPE_FLTOVF
=
FPE_FLTOVF
,
$
FPE_FLTUND
=
FPE_FLTUND
,
$
FPE_FLTRES
=
FPE_FLTRES
,
$
FPE_FLTINV
=
FPE_FLTINV
,
$
FPE_FLTSUB
=
FPE_FLTSUB
,
$
FPE_INTDIV
=
FPE_INTDIV
&
0xFFFF
,
$
FPE_INTOVF
=
FPE_INTOVF
&
0xFFFF
,
$
FPE_FLTDIV
=
FPE_FLTDIV
&
0xFFFF
,
$
FPE_FLTOVF
=
FPE_FLTOVF
&
0xFFFF
,
$
FPE_FLTUND
=
FPE_FLTUND
&
0xFFFF
,
$
FPE_FLTRES
=
FPE_FLTRES
&
0xFFFF
,
$
FPE_FLTINV
=
FPE_FLTINV
&
0xFFFF
,
$
FPE_FLTSUB
=
FPE_FLTSUB
&
0xFFFF
,
$
BUS_ADRALN
=
BUS_ADRALN
,
$
BUS_ADRERR
=
BUS_ADRERR
,
$
BUS_OBJERR
=
BUS_OBJERR
,
$
BUS_ADRALN
=
BUS_ADRALN
&
0xFFFF
,
$
BUS_ADRERR
=
BUS_ADRERR
&
0xFFFF
,
$
BUS_OBJERR
=
BUS_OBJERR
&
0xFFFF
,
$
SEGV_MAPERR
=
SEGV_MAPERR
,
$
SEGV_ACCERR
=
SEGV_ACCERR
,
$
SEGV_MAPERR
=
SEGV_MAPERR
&
0xFFFF
,
$
SEGV_ACCERR
=
SEGV_ACCERR
&
0xFFFF
,
};
typedef
sigset_t
$
Sigset
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment