On 21 Nov 2011, at 09:34, Hans-Peter Nilsson wrote:
From: Paolo Bonzini <bonz...@gnu.org>
Sender: Paolo Bonzini <paolo.bonz...@gmail.com>
Date: Mon, 21 Nov 2011 10:20:39 +0100
H-P, can you try bootstrapping your patch on cygwin and/or mingw too
before applying it?
Sorry, I don't have that. Dave?
The reason it was in libgcc_eh (AFAIK, the original implementation pre-
dates my GCC days) - is because there can only be one copy of the
static emutls locking entities in a given exe. I guess it was felt
analogous to the "only one unwinder" rule.
note also: Darwin links libgcc.a even when using dynamic libs - it
provides eprintf (and the out-of-line GPR/FPR save routines for
powerpc).
(this is not a total show-stopper, we could provide those things some
other way)
Iain