Chameleon

Chameleon Svn Source Tree

Root/branches/rewrite/i386/modules/uClibcxx/abi.cpp

Source at commit 1166 created 13 years 10 days ago.
By meklort, Fixed recent Makefile changes. Please do not use /Users/evan/SourceCode/tmp/chameleon/trunk or VPATH. the *only* time you should use /Users/evan/SourceCode/tmp/chameleon/trunk is when setting the SRCROOT variable. Also note that very soon make pkg is going to be removed. The pkg build script in trunk is very out of date. Instead please use the package maker at http://forge.voodooprojects.org/p/chameleonApplications/. Once this is ready for trunk it will be merged.
1/*Copyright (C) 2004 Garrett A. Kajmowicz
2
3This file is part of the uClibc C++ Library. This library is free
4software; you can redistribute it and/or modify it under the
5terms of the GNU General Public License as published by the
6Free Software Foundation; either version 2, or (at your option)
7any later version.
8
9This library is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License along
15with this library; see the file COPYING. If not, write to the Free
16Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
17USA.
18*/
19
20#include <cstdlib>
21#include <typeinfo>
22#include <basic_definitions>
23
24/* This file implements a number of the language support features
25 * needed to deal with the C++ abi, as originally documented in the
26 * Itanium C++ ABI, though now industry standard
27 */
28
29extern "C" {
30
31/* This function is called in the event that a non-overidden
32 * pure virtual function is called. The compiler should never
33 * let that happen. We get to choose what to do - we will abort
34 */
35void __cxa_pure_virtual (){
36abort();
37}
38
39}
40

Archive Download this file

Revision: 1166