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

libgcc:

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

From-SVN: r181764
This commit is contained in:
Iain Sandoe 2011-11-27 13:52:49 +00:00
parent a1c48edc71
commit c1d8101c1d
2 changed files with 4 additions and 11 deletions

View File

@ -1,3 +1,7 @@
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>
* config/m68k/linux-atomic.c: New file.

View File

@ -25,10 +25,6 @@ extern char * getsectdata (const char*,const char*,unsigned long*);
#define WEAK __attribute__((weak))
#ifndef ATTRIBUTE_UNUSED
#define ATTRIBUTE_UNUSED __attribute__((unused))
#endif
extern void _ITM_registerTMCloneTable (void *, size_t) WEAK;
extern void _ITM_deregisterTMCloneTable (void *) WEAK;
@ -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