arch/arc: Remove redundant __cxa_atexit from MWDT stubs
__cxa_atexit was originally defined by the IA64 C++ ABI, but it has been adopted by other C++ implementations since then. This function is already present in lib/cpp/api/cpp_dtors.c, which is built by default when C++ support is enabled, so we don't need another copy in the MWDT-specific code. Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
db49cd3899
commit
a721291adc
1 changed files with 0 additions and 8 deletions
|
@ -8,14 +8,6 @@
|
|||
|
||||
__weak void *__dso_handle;
|
||||
|
||||
int __cxa_atexit(void (*destructor)(void *), void *objptr, void *dso)
|
||||
{
|
||||
ARG_UNUSED(destructor);
|
||||
ARG_UNUSED(objptr);
|
||||
ARG_UNUSED(dso);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int atexit(void (*function)(void))
|
||||
{
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue