Commit c1d8101c by Iain Sandoe

darwin-crt-tm.c: Remove dummy _ITM_ functions.


libgcc:

	* config/darwin-crt-tm.c: Remove dummy _ITM_ functions.

From-SVN: r181764
parent a1c48edc
2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
* config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
2011-11-26 Richard Henderson <rth@redhat.com> 2011-11-26 Richard Henderson <rth@redhat.com>
* config/m68k/linux-atomic.c: New file. * config/m68k/linux-atomic.c: New file.
......
...@@ -25,10 +25,6 @@ extern char * getsectdata (const char*,const char*,unsigned long*); ...@@ -25,10 +25,6 @@ extern char * getsectdata (const char*,const char*,unsigned long*);
#define WEAK __attribute__((weak)) #define WEAK __attribute__((weak))
#ifndef ATTRIBUTE_UNUSED
#define ATTRIBUTE_UNUSED __attribute__((unused))
#endif
extern void _ITM_registerTMCloneTable (void *, size_t) WEAK; extern void _ITM_registerTMCloneTable (void *, size_t) WEAK;
extern void _ITM_deregisterTMCloneTable (void *) WEAK; extern void _ITM_deregisterTMCloneTable (void *) WEAK;
...@@ -73,11 +69,4 @@ void __doTMdeRegistrations (void) ...@@ -73,11 +69,4 @@ void __doTMdeRegistrations (void)
} }
/* Provide dumy funcs for the weak ones - needed on most Darwin versions
for now. */
void _ITM_registerTMCloneTable (void *n ATTRIBUTE_UNUSED, size_t s ATTRIBUTE_UNUSED)
{}
void _ITM_deregisterTMCloneTable (void *n ATTRIBUTE_UNUSED)
{}
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment