On 11/21/2011 06:46 PM, Patrick Marlier wrote:
On 11/21/2011 06:14 PM, Richard Henderson wrote:
On 11/21/2011 02:13 PM, Richard Henderson wrote:
It has been pointed out to me that I'm an idiot and sent an empty attachment.
So lets try this again...

Arg... I have never said that!


+#if USE_TM_CLONE_REGISTRY
+  if (__TMC_END__ - __TMC_LIST__>  0)
+    {
+      void (*register_clones) (void *, size_t) = _ITM_registerTMCloneTable;
+      __asm ("" : "+r" (register_clones));
+      if (register_clones)
+       {
+         size_t size = (size_t)(__TMC_END__ - __TMC_LIST__) / 2;
+         _ITM_registerTMCloneTable (__TMC_LIST__, size);
+       }
+    }
+#endif /* USE_TM_CLONE_REGISTRY */


I guess you should call register_clones instead of
_ITM_registerTMCloneTable.

Thanks!

Patrick.

PS: Sorry if duplicated email but it seems that the first one was refused.

Reply via email to