This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [libitm, darwin] PR52220 move dummy functions definition


Hi Patrick,

On 16 Feb 2012, at 02:17, Patrick Marlier wrote:

Index: libgcc/config/darwin-crt-tm.c =================================================================== --- libgcc/config/darwin-crt-tm.c (revision 184293) +++ libgcc/config/darwin-crt-tm.c (working copy) @@ -103,8 +103,6 @@ void __doTMdeRegistrations (void) _ITM_deregisterTMCloneTable (tmct); }

-#endif
-
/* Provide dummy functions to satisfy linkage for versions of the Darwin
tool-chain that that can't handle undefined weak refs at the link stage.
??? Define these dummy functions only when ! HAVE_ELF_STYLE_WEAKREF. */
@@ -147,3 +145,5 @@ void *_ZnaXRKSt9nothrow_t (size_t s UNUSED, c_noth
{ return NULL; }
void _ZdaPvRKSt9nothrow_t (void * a UNUSED, c_nothrow_p b UNUSED) { return; }


+#endif

I've applied this, hopefully we're good to go with TM on Darwin for 4.7.


BTW, you should add yourself to the MAINTAINERS file as per: http://gcc.gnu.org/svnwrite.html

thanks,
Iain


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]