From c1d8101c1d33efcf295834f060f410a2dcab4e11 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Sun, 27 Nov 2011 13:52:49 +0000 Subject: [PATCH] darwin-crt-tm.c: Remove dummy _ITM_ functions. libgcc: * config/darwin-crt-tm.c: Remove dummy _ITM_ functions. From-SVN: r181764 --- libgcc/ChangeLog | 4 ++++ libgcc/config/darwin-crt-tm.c | 11 ----------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 3245438dc1d..3c2eb9ea28f 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,7 @@ +2011-11-27 Iain Sandoe + + * config/darwin-crt-tm.c: Remove dummy _ITM_ functions. + 2011-11-26 Richard Henderson * config/m68k/linux-atomic.c: New file. diff --git a/libgcc/config/darwin-crt-tm.c b/libgcc/config/darwin-crt-tm.c index cfb66147662..651ae6e6a75 100644 --- a/libgcc/config/darwin-crt-tm.c +++ b/libgcc/config/darwin-crt-tm.c @@ -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