OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR c++/43680
[pf3gnuchains/gcc-fork.git]
/
boehm-gc
/
win32_threads.c
diff --git
a/boehm-gc/win32_threads.c
b/boehm-gc/win32_threads.c
index
ba53d86
..
ffb34e0
100644
(file)
--- a/
boehm-gc/win32_threads.c
+++ b/
boehm-gc/win32_threads.c
@@
-753,6
+753,12
@@
int GC_pthread_detach(pthread_t thread)
return result;
}
+GC_PTR GC_get_thread_stack_base()
+{
+ extern GC_PTR _tlsbase __asm__ ("%fs:4");
+ return _tlsbase;
+}
+
#else /* !CYGWIN32 */
/*