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]

[csl-arm] Remove __aeabi_atexit


The patch below removes the implementation of __aeabi_atexit from libstdc++.  
This routine is provided by libc.

Tested with cross to arm-none-eabi and arm-linux-gnueabi.
Applied to csl-arm-branch.
I'll also apply to mainline once it's unfrozen.

Paul

2005-10-25  Paul Brook  <paul@codesourcery.com>

	* libstdc++-v3/libsupc++/vec.cc (__aeabi_atexit): Remove.

Index: libstdc++-v3/libsupc++/vec.cc
===================================================================
RCS file: /var/cvsroot/gcc-cvs/gcc/libstdc++-v3/libsupc++/vec.cc,v
retrieving revision 1.11.4.6
diff -u -p -r1.11.4.6 vec.cc
--- libstdc++-v3/libsupc++/vec.cc	16 Sep 2004 02:22:21 -0000	1.11.4.6
+++ libstdc++-v3/libsupc++/vec.cc	25 Oct 2005 15:48:11 -0000
@@ -499,14 +499,6 @@ namespace __aeabiv1
 			    2 * sizeof (std::size_t),
 			    /*destructor=*/NULL, dealloc);
   }
-  
-  extern "C" int
-  __aeabi_atexit (void *object, 
-		  void (*destructor) (void *),
-		  void *dso_handle)
-  {
-    return abi::__cxa_atexit(destructor, object, dso_handle);
-  }
 } // namespace __aeabiv1
 
 #endif // defined(__arm__) && defined(__ARM_EABI__)


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