genode/base-mb/src/base/cxx/atexit.cc

20 lines
446 B
C++
Raw Normal View History

2011-12-22 16:19:25 +01:00
/*
* \brief C++ support for Microblaze cross compiler
* \author Norman Feske
* \date 2010-07-21
*/
/*
2013-01-10 21:44:47 +01:00
* Copyright (C) 2010-2013 Genode Labs GmbH
2011-12-22 16:19:25 +01:00
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
/*
* The mb-gcc generates calls to 'atexit' instead of '__cxa_atexit' as
* usual.
*/
extern "C" __attribute__((weak))
void *atexit() { return 0; }