OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1091a9c
)
runtime: Save all registers on stack for GC scan.
author
ian
<ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Feb 2012 15:52:37 +0000
(15:52 +0000)
committer
ian
<ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Feb 2012 15:52:37 +0000
(15:52 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184098
138bc75d
-0d04-0410-961f-
82ee72b054a4
libgo/runtime/mgc0.c
patch
|
blob
|
history
diff --git
a/libgo/runtime/mgc0.c
b/libgo/runtime/mgc0.c
index
bd634d5
..
73c399d
100644
(file)
--- a/
libgo/runtime/mgc0.c
+++ b/
libgo/runtime/mgc0.c
@@
-936,6
+936,10
@@
runtime_gc(int32 force)
const byte *p;
bool extra;
+ // Make sure all registers are saved on stack so that
+ // scanstack sees them.
+ __builtin_unwind_init();
+
// The gc is turned off (via enablegc) until
// the bootstrap has completed.
// Also, malloc gets called in the guts