Hi Eric,
On 11 Feb 2012, at 14:14, Eric Botcazou wrote:
Hi,
this completes the half-implemented linking scheme of libitm and
makes it mimic
that of libgomp entirely. We need the -pthread thing on Solaris 8.
Tested on SPARC/Solaris 8 & 9 and i586/Linux, OK for the mainline?
2012-02-11 Eric Botcazou <ebotca...@adacore.com>
* gcc.c (LINK_COMMAND_SPEC): Deal with -fgnu-tm.
(GTM_SELF_SPECS): Define if not already defined.
(driver_self_specs): Add GTM_SELF_SPECS.
* config/darwin.h (GTM_SELF_SPECS): Define.
* config/i386/cygwin.h (GTM_SELF_SPECS): Likewise.
* config/i386/mingw32.h (GTM_SELF_SPECS): Likewise.
2012-02-11 Eric Botcazou <ebotca...@adacore.com>
* configure.ac (link_itm): Fix comment.
* configure: Regenerate.
* testsuite/lib/libitm.exp: Do not pass -litm for the link.
--
Eric Botcazou
<p.diff>
very little time - about to go out..
... but I suspect
LINK_COMMAND_SPEC_A in config/darwin.h ... which will need the:
+ %{fgnu-tm:%:include(libitm.spec)%(link_itm)}\
however, that's a very quick look.
Iain