Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
079cbddb
Commit
079cbddb
authored
Oct 26, 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
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
35 deletions
+28
-35
src/pkg/Makefile
src/pkg/Makefile
+0
-2
src/pkg/runtime/linux/arm/defs.h
src/pkg/runtime/linux/arm/defs.h
+13
-13
src/pkg/runtime/linux/arm/sys.s
src/pkg/runtime/linux/arm/sys.s
+1
-6
src/pkg/runtime/linux/defs_arm.c
src/pkg/runtime/linux/defs_arm.c
+14
-14
No files found.
src/pkg/Makefile
View file @
079cbddb
...
@@ -207,8 +207,6 @@ ifeq ($(GOARCH),arm)
...
@@ -207,8 +207,6 @@ ifeq ($(GOARCH),arm)
NOTEST
+=
cmath
# software floating point
(
lack of
)
accuracy
NOTEST
+=
cmath
# software floating point
(
lack of
)
accuracy
NOTEST
+=
math
# software floating point
(
lack of
)
accuracy
NOTEST
+=
math
# software floating point
(
lack of
)
accuracy
NOTEST
+=
strconv
# software floating point
(
lack of
)
accuracy
NOTEST
+=
strconv
# software floating point
(
lack of
)
accuracy
NOTEST
+=
os/signal
# crash
endif
endif
TEST
=
\
TEST
=
\
...
...
src/pkg/runtime/linux/arm/defs.h
View file @
079cbddb
...
@@ -45,19 +45,19 @@ enum {
...
@@ -45,19 +45,19 @@ enum {
SIGIO
=
0x1d
,
SIGIO
=
0x1d
,
SIGPWR
=
0x1e
,
SIGPWR
=
0x1e
,
SIGSYS
=
0x1f
,
SIGSYS
=
0x1f
,
FPE_INTDIV
=
0x
3000
1
,
FPE_INTDIV
=
0x1
,
FPE_INTOVF
=
0x
3000
2
,
FPE_INTOVF
=
0x2
,
FPE_FLTDIV
=
0x3
0003
,
FPE_FLTDIV
=
0x3
,
FPE_FLTOVF
=
0x
3000
4
,
FPE_FLTOVF
=
0x4
,
FPE_FLTUND
=
0x
3000
5
,
FPE_FLTUND
=
0x5
,
FPE_FLTRES
=
0x
3000
6
,
FPE_FLTRES
=
0x6
,
FPE_FLTINV
=
0x
3000
7
,
FPE_FLTINV
=
0x7
,
FPE_FLTSUB
=
0x
3000
8
,
FPE_FLTSUB
=
0x8
,
BUS_ADRALN
=
0x
3000
1
,
BUS_ADRALN
=
0x1
,
BUS_ADRERR
=
0x
3000
2
,
BUS_ADRERR
=
0x2
,
BUS_OBJERR
=
0x3
0003
,
BUS_OBJERR
=
0x3
,
SEGV_MAPERR
=
0x
3000
1
,
SEGV_MAPERR
=
0x1
,
SEGV_ACCERR
=
0x
3000
2
,
SEGV_ACCERR
=
0x2
,
};
};
// Types
// Types
...
...
src/pkg/runtime/linux/arm/sys.s
View file @
079cbddb
...
@@ -147,7 +147,7 @@ TEXT clone(SB),7,$0
...
@@ -147,7 +147,7 @@ TEXT clone(SB),7,$0
MOVW
$
1234
,
R1
MOVW
$
1234
,
R1
CMP
R0
,
R1
CMP
R0
,
R1
BEQ
2
(
PC
)
BEQ
2
(
PC
)
B
abort
(
SB
)
B
L
abort
(
SB
)
MOVW
0
(
R13
),
m
MOVW
0
(
R13
),
m
MOVW
4
(
R13
),
g
MOVW
4
(
R13
),
g
...
@@ -196,11 +196,6 @@ TEXT sigaltstack(SB),7,$0
...
@@ -196,11 +196,6 @@ TEXT sigaltstack(SB),7,$0
TEXT
sigignore
(
SB
),7,$0
TEXT
sigignore
(
SB
),7,$0
RET
RET
TEXT
sigreturn
(
SB
),7,$0
MOVW
R0
,
R0
B
abort
(
SB
)
RET
TEXT
sigtramp
(
SB
),7,$24
TEXT
sigtramp
(
SB
),7,$24
MOVW
m_gsignal
(
m
),
g
MOVW
m_gsignal
(
m
),
g
MOVW
R0
,
4
(
R13
)
MOVW
R0
,
4
(
R13
)
...
...
src/pkg/runtime/linux/defs_arm.c
View file @
079cbddb
...
@@ -68,22 +68,22 @@ enum {
...
@@ -68,22 +68,22 @@ enum {
$
SIGIO
=
SIGIO
,
$
SIGIO
=
SIGIO
,
$
SIGPWR
=
SIGPWR
,
$
SIGPWR
=
SIGPWR
,
$
SIGSYS
=
SIGSYS
,
$
SIGSYS
=
SIGSYS
,
$
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
,
$
FPE_INTDIV
=
FPE_INTDIV
,
$
BUS_ADRALN
=
BUS_ADRALN
&
0xFFFF
,
$
FPE_INTOVF
=
FPE_INTOVF
,
$
BUS_ADRERR
=
BUS_ADRERR
&
0xFFFF
,
$
FPE_FLTDIV
=
FPE_FLTDIV
,
$
BUS_OBJERR
=
BUS_OBJERR
&
0xFFFF
,
$
FPE_FLTOVF
=
FPE_FLTOVF
,
$
FPE_FLTUND
=
FPE_FLTUND
,
$
FPE_FLTRES
=
FPE_FLTRES
,
$
FPE_FLTINV
=
FPE_FLTINV
,
$
FPE_FLTSUB
=
FPE_FLTSUB
,
$
BUS_ADRALN
=
BUS_ADRALN
,
$
BUS_ADRERR
=
BUS_ADRERR
,
$
BUS_OBJERR
=
BUS_OBJERR
,
$
SEGV_MAPERR
=
SEGV_MAPERR
,
$
SEGV_MAPERR
=
SEGV_MAPERR
&
0xFFFF
,
$
SEGV_ACCERR
=
SEGV_ACCERR
,
$
SEGV_ACCERR
=
SEGV_ACCERR
&
0xFFFF
,
};
};
typedef
sigset_t
$
Sigset
;
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