Chameleon

Chameleon Svn Source Tree

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

Source at commit 1146 created 12 years 11 months ago.
By azimutz, Sync with trunk (r1145). Add nVidia dev id's, 0DF4 for "GeForce GT 450M" (issue 99) and 1251 for "GeForce GTX 560M" (thanks to oSxFr33k for testing).
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: 1146