Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
03eee7f7
Commit
03eee7f7
authored
Dec 13, 2011
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runtime: RTEMS build fixes.
From Joel Sherrill. From-SVN: r182309
parent
091d2222
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
libgo/runtime/go-signal.c
+4
-0
libgo/runtime/mem_posix_memalign.c
+3
-0
No files found.
libgo/runtime/go-signal.c
View file @
03eee7f7
...
...
@@ -122,12 +122,14 @@ sighandler (int sig)
const
char
*
msg
;
int
i
;
#ifdef SIGPROF
if
(
sig
==
SIGPROF
)
{
/* FIXME. */
runtime_sigprof
(
0
,
0
,
nil
,
nil
);
return
;
}
#endif
/* FIXME: Should check siginfo for more information when
available. */
...
...
@@ -257,6 +259,7 @@ runtime_initsig (int32 queue)
void
runtime_resetcpuprofiler
(
int32
hz
)
{
#ifdef SIGPROF
struct
itimerval
it
;
struct
sigaction
sa
;
int
i
;
...
...
@@ -289,6 +292,7 @@ runtime_resetcpuprofiler(int32 hz)
i
=
setitimer
(
ITIMER_PROF
,
&
it
,
NULL
);
__go_assert
(
i
==
0
);
}
#endif
runtime_m
()
->
profilehz
=
hz
;
}
...
...
libgo/runtime/mem_posix_memalign.c
View file @
03eee7f7
...
...
@@ -36,10 +36,13 @@ runtime_SysFree(void *v, uintptr n)
void
*
runtime_SysReserve
(
void
*
v
,
uintptr
n
)
{
USED
(
v
);
return
runtime_SysAlloc
(
n
);
}
void
runtime_SysMap
(
void
*
v
,
uintptr
n
)
{
USED
(
v
);
USED
(
n
);
}
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