Root/
Source at commit 1900 created 12 years 4 months ago. By ifabio, Update GFX IDs list. | |
---|---|
1 | /*␉Copyright (C) 2004 Garrett A. Kajmowicz␊ |
2 | ␊ |
3 | ␉This file is part of the uClibc C++ Library. This library is free␊ |
4 | ␉software; you can redistribute it and/or modify it under the␊ |
5 | ␉terms of the GNU General Public License as published by the␊ |
6 | ␉Free Software Foundation; either version 2, or (at your option)␊ |
7 | ␉any later version.␊ |
8 | ␊ |
9 | ␉This library is distributed in the hope that it will be useful,␊ |
10 | ␉but WITHOUT ANY WARRANTY; without even the implied warranty of␊ |
11 | ␉MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the␊ |
12 | ␉GNU General Public License for more details.␊ |
13 | ␊ |
14 | ␉You should have received a copy of the GNU General Public License along␊ |
15 | ␉with this library; see the file COPYING. If not, write to the Free␊ |
16 | ␉Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,␊ |
17 | ␉USA.␊ |
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 | ␊ |
29 | extern "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 | ␉ */␊ |
35 | ␉void __cxa_pure_virtual (){␊ |
36 | ␉␉abort();␊ |
37 | ␉}␊ |
38 | ␊ |
39 | }␊ |
40 |