* libgcc2.c (top_elt): Remove top_elt, it isn't thread safe.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Nov 1998 20:37:32 +0000 (20:37 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Nov 1998 20:37:32 +0000 (20:37 +0000)
commita79fbe9572d4d6ea58a5fc26d9d922162af25892
tree08c5c3cd1e8bdb4d696dd40cbaf8638a9b5cf655
parentcfd3a6ce79f947b4fd8f672e49332cd281ef749d
* libgcc2.c (top_elt): Remove top_elt, it isn't thread safe.
The strategy we now use is to pre allocate the top_elt along
with the EH context so that each thread has its own top_elt.
This is necessary as the dynmanic cleanup chain is used on the
top element of the stack and each thread MUST have its own.
(eh_context_static): Likewise.
(new_eh_context): Likewise.
(__sjthrow): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23818 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/libgcc2.c